Page 1 of 1

Storing HTML results

Posted: Tue May 21, 2002 10:30 am
by dsinghal
I'm writing a sitemap generator, and we've got webinator running on the back indexing everything. The sitemap itself has some restrictions about what really needs to be listed (each directory has 5 related & linked files or somesuch, so we just list the first as the "entry point") ..

I've got it so it works via fetch and send, which was how i was testing it. Now I want to change it to read/write, since the sitemap will only need updating whenever the walk is done (currently once a week), and it seems overkill of resources to have it auto-generate the same thing everytime ... So! How do I store it out? It changes all the <tags> to <tags> which, as you can probably guess, looks nothing like it's supposed to when displayed

Storing HTML results

Posted: Tue May 21, 2002 10:50 am
by mark
Run the generator script as .txt instead of .html (simplest) or use <send> or <fmt "%s"> to prevent html escapements when outputting data.