Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: How to Add Script to script library?

From: john_kenyon:mlc:au at: 26-Nov-2001 10:44

Bob,
> However when I go to fill in the fields I get this error:
Never tried using it before, but start with selecting the file you wish to upload to the script file. This will then populate half the fields for you if your header is written following the usual conventions. Probably worth dropping a note to feedback about the strange error when adding the fields manually.
> What does that mean? > lrwp-agent-url has no value
A fair number of the scripts in the library are designed with examples and do not run when just clicked. The lrwp script has the following lines at the bottom of the source code (which may be easily viewed by right clicking on the icon and hitting the edit button) ;The sample: ;The Xitami lrwp agent url ;lrwp-agent-url: tcp://localhost:81 ;Register the process for the app "sometest" ;lrwp/register-peer "sometest" ;Get the data ;cgi-data: lrwp/wait-for-action ;cgi-data now contains a block of values that you can use, posted or ;getted, you don't care ;for example make object! cgi-data ;print your result out using ;lrwp/respond my-content Reading the source code of many of the examples is very useful as they often include hints on how to use them.
> To much time seems to be spent on building glitz, which is nice, but
useless I tend to disagree with this as the View component of Rebol is rather recent in comparison to the stable, command line based, core component. A large number of scripts in the library do not use View at all (such as the lrwp script you mentioned). I hope this is useful. Regards, John