Re: How to save what I see (2)

2002-01-13 Thread Hrvoje Niksic

Robin B. Lake [EMAIL PROTECTED] writes:

 In a prior posting, I asked about saving an image from a Web page
 instead of just saving the information necessary to re-retrieve that
 image.  I was advised to try -p -k --html-extension
 
 Using wget-1.8.1-pre2, I still don't see the image data saved in
 the .html file wget creates.

`wget -p -k --html-extension URL' is supposed to do these things:

1. download the HTML file under URL
1a. rename the file to `.html' if it doesn't already have that
extension.
2. download the inline images and style sheets needed to display that
   HTML file, provided they are on the same host.
3. convert the links in the HTML file so that they point either
   locally (in case of downloaded images) or to the remote location
   (in case of links to external resources).

Which of these is not happening when you run it?

(To make Wget access other hosts, use `--include-domains b.mktw.net'.)

 ./wget -nH -p -k --html-extension -q -O /QoI/NDX/working/CHARTS/$myday+NDX.html 
'http://bigcharts.marketwatch.com/quickchart/quickchart.asp?symb=%24NDXsid=0o_symb=%24NDXx=60y=15freq=9time=1'
   

-O will not work with -p.  This is a limitation in how -p currently
works.



Re: How to save what I see (2)

2002-01-01 Thread Robin B. Lake

In a prior posting, I asked about saving an image from a Web page
instead of just saving the information necessary to re-retrieve that
image.  I was advised to try -p -k --html-extension

Using wget-1.8.1-pre2, I still don't see the image data saved in
the .html file wget creates.  Another problem is that while my
shell script:

./wget -nH -p -k --html-extension -q -O /QoI/NDX/working/CHARTS/$myday+NDX.html 
'http://bigcharts.marketwatch.com/quickchart/quickchart.asp?symb=%24NDXsid=0o_symb=%24NDXx=60y=15freq=9time=1'
   

works in one directory, run from another directory I get:

rbl% sh chartshell
1231

nothing to do.

nothing to do.
^C

Happy New Year to all!

Cheers,
Robin Lake
[EMAIL PROTECTED]