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

[REBOL] Re: Rebol programs

From: brett:codeconscious at: 22-Mar-2002 22:51

Hi Andrew,
> My site is built in my eText dialect and interpreted by my eText, HTML and > Site Rebol dialect scripts. But then I cheat and use a free FTP program to > get it to my site provider. :( That's 'cause I haven't yet worked out how
> Rebol equivalent of the make program and to only update as needed.
I've uploaded to my website the script that handles the FTP upload for See the section called "How these pages were created" on the following page. To generate my site I use a slightly modified version of the text-to-html program that Carl made before make-doc for all the content on I have a build-site script that recursively travels through a source directory and emits a mirror structure but of web pages. Along the way it detabs rebol scripts and edits the html pages generated from the modified make-spec program to include buttons etc. Finally a site upload scripts uploads via FTP any changed HTML pages. It simplisticly determines a change from the size of the file which is not guaranteed but the site admin (me) is watching. A checksum would be better. So making a change on my site involves (1) edit text file (2) build-site (3) site upload. A single change takes well under a minute. This simplistic scheme has proved remarkably flexible and easy to deal with. It is getting a bit old and creaky now, and I know that I could produce a neater set of scripts but, hey, it works. Regards, Brett.