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

[ALLY] Re: index.r

From: agem:crosswinds at: 28-Oct-2000 13:38

[carl--cybercraft--co--nz] wrote on 28-Nov-2000/9:58:21+12:00
> On 28-Nov-00, Graham Chiu wrote: > > > > I have a couple of problems: > > > 1. I want to add a link to a directory on my other web site > > in my index.r, but my pages don't end in .html. They either > > have no suffix, or they may end in .php. The docs say that > > the web browser is launched if the file ends in .html ... > > > eg: icon "Misc Scripts" > > info "Miscellaneous Rebol Scripts" > > > 2. I have a script which calls other scripts. Do I have to > > check for the existence of the script locally, and if not > > present, to download from my server, and then execute it? >
there i's load-thru . you can [do load-thru http://...], downloading/caching is then automatic. if you need your header-info [ load-thru http://.../script.r ;will load it in current dir do %script.r ;will actually do it with header ]
> I've not done anything with index.r pages, but 'browse is the word > for telling a browser to view a webpage, so adding it to your above > code somewhere (or other:) might get it to work... >
i use a mini-script with only [rebol[] browse mailto://my-email] for example.