Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

convert an asp site into HTML site?? 1

Status
Not open for further replies.

guineamation

Programmer
Jan 29, 2002
58
IL
Hi all,
Does anyone knows about a program/site that can convert a dynamic asp site into a static HTML site?
 
Just use the Save functionality of your browser.

Give us more details about what are trying to accomplish and perhaps we can give better suggestions.
 
i have an online products catalog that gets its data dynamicly from a database.
the web catalog is asp based and i want to convert the catalog into html so i could put it on a CD and people without internet connection could see it.
i want all the links and the images converted.

can it be done?

i found a little software called asp2html
(but it stops after a few files and looks stuck.
 
Oh so it would have to go thru and make a single page for every item in the catalog?
 
You'd need to have a link to each catalog item, so that you could spider down to every possible page.
 
yes it needs to generate a single page for every item in the catalog, the catalog have a drop down list with all the items in it, also some pages with links to the items arragned by categories etc.

 
That probably wouldn't work well with dynamically generated pages, though. In that case, to run things all client side I'd suggest converting the database into a Javascript array, then working off that. That's probably a decent sized project, though.

Lee
 
Could probably write something in VB the opens each page based on inputs from the db, then saves each page to a local folder (using FileSystemObject).
 
thanks for all your help, i thought there might be a program/COM/site that already did that, i might as well try to build something by my own.
 
I have used:

wget.exe -
and had pretty good results.

Another method is to use FrontPage2003 to import a site. I had a print client that was getting reemed by a PHP developer/hoster and would not release the source to my clients site to move to another host and/or developer which was well within the boundaries of the contract; simply put, legally All the files were the clients. Within 30min I had the entire site in html. It took 30min to fix some links and img src ref's, but that was about it. If the site is large you can surely write a parser to 'fix' any 'leftovers'.

Make sure the site is yours and there is no robot.txt in the root on the site and it should work fine, including d/l all the images, javascript, etc.

-a6m1n0

Curiosity only kills cats.
 
The wget.exe does a great job in converting the entire site from asp to html including all the images pdfs etc. it also makes multiple html pages to show all the items stored in the DB and wich originaly were seen using one asp page!

thanks a6m1n0
 
No problem. Thanks for the star!

-a6m1n0

Curiosity only kills cats.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top