Storing HTML results

Post Reply
dsinghal
Posts: 1
Joined: Tue May 21, 2002 10:20 am

Storing HTML results

Post 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
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Storing HTML results

Post 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.
Post Reply