W3C home > Mailing lists > Public > www-lib@w3.org > October to December 1999

RE: How ASP2HTML?

From: Linus Walleij (ECS) <Linus.Walleij@ecs.ericsson.se>
Date: Fri, 26 Nov 1999 14:44:11 +0100
Message-ID: <D898F49E6B34D311A89C00204840355EE467C3@eseldnt102.ericsson.se>
To: www-lib@w3.org
I have a little question: how can I run an ASP to produce a HTML page and store it somewhere on server 
 
Well if ASP is all you know how to use,
 
1. Remove all inline HTML and only write to the client using some custom function such as OutString(strOut)
2. Set a parameter switch for this generic function to either write to the response stream using Response.Write OR call up a Scripting.FilsystemObject interface and writing to a .html file in the filesystem.
 
If you dont want to modify your ASP page, install libwww and use the w3c command line utility to read pages from localhost. You can execute command line programs from withing ASP, learn most ASP things from www.15seconds.com <http://www.15seconds.com>  as usual.
 
The ideal would be to implement a COM interface with the methods of w3c so you can use it easily from ASP pages. Unfortunately this is not the easiest thing to achieve.
 
Linus Walleij
Received on Friday, 26 November 1999 08:44:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:35 GMT