ksntwebmaster
asked on
How can I utilize WGET to retrieve dynamically created .html pages?
I have dynamically created html pages that are being created on 1 server and our main page contents residing on another server. How can I use the WGET command to import a copy of the dynamically created .html files over to our main server? Here is our main news story page (click on any of these links to see the invidually created .html files I want to import) http://treebeard.grokthis.net:8030/news/ the catch is that the html pages are dynamically assembled from data in my My SQL db and a 'real' html page doesn't exist in this directory but only when the specific story URL is clicked upon.
I'm not sure I understand the problem. When I wget a url on that site or click on the link, either way gives me the same html source. What am I missing?
ASKER
This page and all subsequent pages are being creating using Mason Templating components perhaps that is causing the problem. Try this site's news page: http://www.ksn.com/news this is our sister station's page but uses the sames Mason components.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
think I was just using the WGET syntax the wrong way but your response allowed me to figure out what exactly I was doing wrong
this works for what I need: wget -r --level=0 -p -k http://treebeard.grokthis.net:8030
this works for what I need: wget -r --level=0 -p -k http://treebeard.grokthis.net:8030
cool....glad I could help even if it was indirectly :) Congrats.