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

Just Posted: Add Site Reblet

 [1/13] from: carl:rebol at: 25-Apr-2001 19:26


Ok, now it's easier than ever to add a Reb site. Sterling and I created an automatic way to do so. See the Reb Sites folder for the Add Site icon. When you create a site link for the first time, you will need to supply a password. When you modify your link, you will need to supply the same password. Also, the Add Site script checks the validity of all fields before submitting the site. For example, it will tell you if your icon name is too long before submitting it. Ah, the power of REBOL distributed computing... -Carl

 [2/13] from: brett:codeconscious at: 26-Apr-2001 12:40


Nup can't see it. And info.txt still says to send in the URL. I'd luv to know how to get View to tell proxies to update these rebsites. (Distributed computing stymied by old tech...) Academic for me at the moment, but what about those sites already there - in terms of passwords? Thanks Brett.

 [3/13] from: carl:rebol at: 25-Apr-2001 20:22


There must be something that can be put in the http header to force it. Did you say that web browsers can get thru ok? On your other question: For existing Reb sites, run the Add Site script and use the same icon name as the existing site. The password will be created. (If after you run the Add Site program you right click on your site's icon, you can cut and paste it's URL and info into the Add Site form.) -Carl

 [4/13] from: allenk:powerup:au at: 26-Apr-2001 13:48


Hi Carl, Cool stuff, Nowhere to add a custom icon though, or are we sticking with the default to keep index fast loading? Cheers, Allen K The REBOLution - Trailer... do http://www.rebolforces.com/reb/movie.r

 [5/13] from: brett:codeconscious at: 26-Apr-2001 15:19


> There must be something that can be put in the http header to force it. > Did you say that web browsers can get thru ok?
Well the web browsers did last time I had a problem. But not now. This was the URL I tried http://www.rebol.com/view/sites/index.r Strangely enough they just show a blank page too. First I thought it was because I played with a plugin now I'm not so sure.
> On your other question: > > For existing Reb sites, run the Add Site script and use the same icon > name as the existing site. The password will be created. (If after > you run the Add Site program you right click on your site's icon, you > can cut and paste it's URL and info into the Add Site form.) > > -Carl >
Thanks Brett.

 [6/13] from: brett:codeconscious at: 27-Apr-2001 11:21


Now I'm really confused. I just logged in via telnet to my US hosting service, fired up Rebol (2.3) and retrieved the info.txt and index.r files. But I'm not seeing any changes! I then used anonymizer site to get me the http://www.rebol.com/view/sites/index.r file - again no Reblet. I note that Allen has seen the new reblet. Can someone post my the actual URL of this Reblet please? I'm starting to wonder if I'm on some other net.... Or maybe RT rebsite has a statement if equal? remote-user "Brett Handley" [confuse-hell-out-of-him] Brett.

 [7/13] from: larry:ecotope at: 26-Apr-2001 19:52


Hi Brett The Addsite script is at: http://www.reboltech.com/addsite.r The Sites icon now has the URL http://www.reboltech.com/index.r Looks like they changed the location for Sites, I have to change the link in my own index file. Or possibly there has been an oversight at RT. But I do not understand why it did not show up in the Sites folder on your machine. Are your index files updating when you are connected? They should automatically update when clicked if you are online. Cheers -Larry

 [8/13] from: carl:rebol at: 26-Apr-2001 19:58


http://www.reboltech.com/index.r

 [9/13] from: brett:codeconscious at: 27-Apr-2001 13:49


Thank you Larry and Carl, Yes my index file is not updating correctly. I'm pretty sure that it is proxy servers. My ISP has at least four of them. Makes the rebsite a little non-communicative unfortunately. Evidence below. The evidence from the desktop was 1) Entered the URL supplied by Larry in the GOTO dialog - worked both times (new URLS to me and probably the proxy) 2) Edited the index.r file in the cache directly - and it works. The evidence from Netscape browser was 1) Read the location http://www.rebol.com/index.r - result = old file 2) Refresh the page - result = new file The evidence from Rebol is below, note that I ran the same command in quick succession manually. Note that out of four attempts it was the third that actually succeeded. I have not tried hitting reload multiple times in the desktop yet... :-/ I need a netscape refresh for Rebol or the right wording to send in a request to my ISP about that cache policy. I don't know what.. Help!?
>> print read http://www.rebol.com/index.r
REBOL [Type: index] title "REBOL.com" summary "The portal to REBOL sites, demos, tests, and more." folder "Sites" %view/sites/index.r info "Directory of REB Sites" icon site folder "Demos" %view/demos/index.r info "Demos of REBOL/View" icon demo ;folder "Tests" %view/tests/index.r info "Tests for REBOL/View" folder "Tools" %view/tools/index.r info "Useful utilities and scripts" icon tool folder "Docs" %view/docs/index.r info "Documentation for REBOL/View" file "Feedback" %view/demos/feedback.r icon email info "Use this to report bugs and suggest enha ncements" link "REBOL Web" http://www.rebol.com/index.html info "View REBOL's web site"
>> print read http://www.rebol.com/index.r
REBOL [Type: index] title "REBOL.com" summary "The portal to REBOL sites, demos, tests, and more." folder "Sites" %view/sites/index.r info "Directory of REB Sites" icon site folder "Demos" %view/demos/index.r info "Demos of REBOL/View" icon demo ;folder "Tests" %view/tests/index.r info "Tests for REBOL/View" folder "Tools" %view/tools/index.r info "Useful utilities and scripts" icon tool folder "Docs" %view/docs/index.r info "Documentation for REBOL/View" file "Feedback" %view/demos/feedback.r icon email info "Use this to report bugs and suggest enha ncements" link "REBOL Web" http://www.rebol.com/index.html info "View REBOL's web site"
>> print read http://www.rebol.com/index.r
REBOL [Type: index] title "REBOL.com" summary "The portal to REBOL sites, demos, tests, and more." folder "Sites" http://www.reboltech.com/index.r info "Directory of REB Sites" icon site folder "Demos" %view/demos/index.r info "Demos of REBOL/View" icon demo ;folder "Tests" %view/tests/index.r info "Tests for REBOL/View" folder "Tools" %view/tools/index.r info "Useful utilities and scripts" icon tool folder "Docs" %view/docs/index.r info "Documentation for REBOL/View" file "Feedback" %view/demos/feedback.r icon email info "Use this to report bugs and suggest enha ncements" link "REBOL Web" http://www.rebol.com/index.html info "View REBOL's web site"
>> print read http://www.rebol.com/index.r
REBOL [Type: index] title "REBOL.com" summary "The portal to REBOL sites, demos, tests, and more." folder "Sites" %view/sites/index.r info "Directory of REB Sites" icon site folder "Demos" %view/demos/index.r info "Demos of REBOL/View" icon demo ;folder "Tests" %view/tests/index.r info "Tests for REBOL/View" folder "Tools" %view/tools/index.r info "Useful utilities and scripts" icon tool folder "Docs" %view/docs/index.r info "Documentation for REBOL/View" file "Feedback" %view/demos/feedback.r icon email info "Use this to report bugs and suggest enha ncements" link "REBOL Web" http://www.rebol.com/index.html info "View REBOL's web site"
>>
Brett.

 [10/13] from: gchiu:compkarori at: 27-Apr-2001 16:52


On Fri, 27 Apr 2001 13:49:51 +1000 "Brett Handley" <[brett--codeconscious--com]> wrote:
> I need a netscape refresh for Rebol or the right wording > to send in a > request to my ISP about that cache policy. I don't know > what.. Help!? >
Hi Brett, I have a similar problem with my ISP. I didn't see the addsite.r till today either. RT can solve this problem by adding in no-cache directives in the http metatags eg: I run these on my website as it is completely generated dynamically and so should not be cached <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Expires" CONTENT="0"> The alternative is for RT to store these files in a directory call cgi-bin. Cache servers tend not to cache anything in such a named directory. -- Graham Chiu

 [11/13] from: brett:codeconscious at: 27-Apr-2001 15:08


Hi Graham, Thanks for you email. I guess that might help with RT's site, but what of other sites? I think it is pretty important that a general solution is made - otherwise the desktop won't deliver. I'm also really suprised more people haven't had the same problem. Brett.

 [12/13] from: carl:rebol at: 27-Apr-2001 0:05


Graham, looks like those meta tags are inside HTML. How would that work for .r files? -Carl

 [13/13] from: gchiu:compkarori at: 27-Apr-2001 19:53


On Fri, 27 Apr 2001 00:05:32 -0700 "Carl Sassenrath" <[carl--rebol--com]> wrote:
> Graham, looks like those meta tags are inside HTML. How > would that work > for .r files?
This is what I get when I read the index.r file for the sites directory: HTTP-Response: "HTTP/1.0 200 OK" Date: "Fri, 27 Apr 2001 07:49:58 GMT" Server: "Apache/1.3.12 (Unix) PHP/3.0.7" Last-Modified: "Fri, 27 Apr 2001 04:39:26 GMT" Accept-Ranges: "bytes" Content-Encoding: none Content-Type: "text/plain" Content-Length: "1971" Location: none Expires: none Referer: none Connection: "close" Set-Cookie: none ETag: {"2517ca-7b3-3ae8f7fe"} content: {REBOL [type: 'index] title "World Wide Reb Sites" You could try adding the additional header Cache-Control: "no-cache" and that should tell caching servers not to cache your index.r file Cheers, -- Graham Chiu