[REBOL.org] -- REBsite access
[1/11] from: SunandaDH::aol::com at: 21-Jul-2004 4:33
Something new to play with --- the Script Library is now browsable as a REB site. You can browse by script name, owner, and various other filters. --REBOL/View --Desktop --Goto: http://www.rebol.org/library/reb/index.r Happy browsing, Sunanda.
[2/11] from: antonr:lexicon at: 22-Jul-2004 2:08
Ah! Very good! More incentive for me to get back to a reb browser. By the way, I noticed under platform/ that there is win/ and windows/. Any good reason for that ? Anton.
[3/11] from: greggirwin:mindspring at: 21-Jul-2004 14:30
Hi Anton, AR> By the way, I noticed under platform/ that there is AR> win/ and windows/. Any good reason for that ? Just flexibility IIRC. -- Gregg
[4/11] from: moliad:aei:ca at: 21-Jul-2004 22:30
its not working for me! my desktop can't find the http://www.rebol.org/index.rfile! (and no, its not in local mode ;-) -MAx
[5/11] from: ml:addept:ws at: 22-Jul-2004 0:12
Did you attempt to open it via REBOL->Sites->REBOL.org? It won't open it for me that way but it will open it for me it I click on "Goto" and enter the proper URL. The URL that is in REBOL->Sites is http://www.rebol.org/index.rbut the actual index file is at http://www.rebol.org/library/reb/index.r HTH! ~~Ammon :~>
[6/11] from: carl:cybercraft at: 22-Jul-2004 18:53
>its not working for me! > >my desktop can't find the http://www.rebol.org/index.rfile! > >(and no, its not in local mode ;-)
Wrong address. Try... Goto: http://www.rebol.org/library/reb/index.r -- Carl Read
[7/11] from: carl:cybercraft at: 22-Jul-2004 19:14
>Ah! Very good! >More incentive for me to get back to a reb browser.
Does that mean get back to using one, or coding one? I don't use the Desktop very often, but whenever I do I'm always impressed by how quick it is to run REBOL scripts from the Net - and how under-developed the Desktop is for making this easy. No bookmarks, no forward button, etc., etc. Be interesting to see what an alternative Reb browser would look like - or an enhanced Desktop. -- Carl Read
[8/11] from: SunandaDH:aol at: 22-Jul-2004 5:21
> I don't use the Desktop very often, but whenever I do I'm always impressed
> how quick it is to run REBOL scripts from the Net - and how under-developed > the Desktop is for making this easy. No bookmarks, no forward button,
The biggest "etc" that makes the desktop very difficult to use is that it won't work with URLs that contain parameters. That's a very big limitation. Example: my first attempt at making REBOL.org a Rebsite involved this CGI program: http://www.rebol.org/cgi-bin/cgiwrap/rebol/reb-index.r If you cut'n'paste that into a browser, you'll see that it returns a Reb Index file that contains a line: file "Scripts" http://www.rebol.org/cgi-bin/cgiwrap/rebol/reb-index.r?filters=all Same program, different parameter. And if you cut'n'paste that, you'll see that you are drilling down the Script Library one level at a time. Simple, and -- I thought -- elegant. But it won't work in the Reb desktop -- try it and you'll see what I mean. Instead, we had to treat Reb access to REBOL.org like building a static index -- the Rebsite-build program generates over 100 Reb Index files, each with a unique name -- and it needs to be rerun each time a script changes. That's messy. Sunanda.
[9/11] from: antonr:lexicon at: 26-Jul-2004 0:08
Well, my alpha version browser has icon and detail modes to switch between. I don't like the limitations of icon mode much. Bookmark management is almost a whole little app by itself, but these days, you simply have to have it. That's it... not saying anything more until I have more goodies. Anton.
[10/11] from: antonr:lexicon at: 26-Jul-2004 0:35
Sunanda, So you think it would be good if the browser would pass the cgi parameters to the run script as script arguments ? That seems eminently solvable with a custom read-thru and path-thru, which reencode the url, replacing characters illegal for filenames, like '?' etc. :) Anton.
[11/11] from: SunandaDH:aol at: 26-Jul-2004 6:08
> So you think it would be good if the browser would > pass the cgi parameters to the run script as > script arguments ?
Yes I do. Reb, as a user-agent, should not be crippled by being only able to access a subset of all available URLs.
> That seems eminently solvable with a custom > read-thru and path-thru, which reencode the url, > replacing characters illegal for filenames, like '?' etc.
On Apache, you could work around the problem with URL rewriting. Or using the "redirect_*" cgi-variables in a custom 404 handler (if your server implements them -- http://httpd.apache.org/docs-2.0/custom-error.html ) But both cases limit dynamic Reb sites to Apache hosts. That's not ideal, given REBOL's usual cross-platform flair. Sunanda.