For Programmers: Free Programming Magazines  


Home > Archive > ASP > May 2006 > asp to html









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author asp to html
Brent Bortnick

2006-05-18, 6:56 pm

We have an asp page that creates a calendar. This page is called from a main
page that refreshes every five minutes. Every time it refreshes it rebuilds
the calendar (taxing the server speed). What I want to do is once the
calendar is created, convert it to an html file and call the html page
instead of the asp page. We will set it up so that the html page will be
rebuilt only if there are changes made to it. I figure there must be a script
that will do this conversion...any suggestions. Thank You
McKirahan

2006-05-18, 6:56 pm

"Brent Bortnick" <BrentBortnick@discussions.microsoft.com> wrote in message
news:3E3DC255-873C-449D-A68A-14FCB057D0F1@microsoft.com...
> We have an asp page that creates a calendar. This page is called from a

main
> page that refreshes every five minutes. Every time it refreshes it

rebuilds
> the calendar (taxing the server speed). What I want to do is once the
> calendar is created, convert it to an html file and call the html page
> instead of the asp page. We will set it up so that the html page will be
> rebuilt only if there are changes made to it. I figure there must be a

script
> that will do this conversion...any suggestions. Thank You


Use FSO (FileSystemObject) to save the HTML generated
by the ASP page as an HTML file and change all references
to use this page.

Say "calendar.asp" generates "calendar.htm".
Then run "calendar.asp" whenever the calendar data changes.


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com