Re: Improvement: Input file Option - PEBKAC

2002-10-08 Thread Thomas Otto

Sorry, though I /thought/ I read the 'wget --help' options thoroughly.
THX




Re: Improvement: Input file Option

2002-10-08 Thread Jens Rösner

Hi Pi!

Copied straight from the wget.hlp:

#

-i file
--input-file=file

Read URLs from file, in which case no URLs need to be on the command
line.  If there are URLs both on the command line and in an input file,
those on the command lines will be the first ones to be retrieved.  The
file need not be an HTML document (but no harm if it is)--it is enough
if the URLs are just listed sequentially.

However, if you specify --force-html, the document will be regarded as
html.  In that case you may have problems with relative links, which you
can solve either by adding  to the documents or by
specifying --base=url on the command line.

-F
--force-html

When input is read from a file, force it to be treated as an HTML file. 
This enables you to retrieve relative links from existing HTML files on
your local disk, by adding  to HTML, or using the
--base command-line option.

-B URL
--base=URL

When used in conjunction with -F, prepends URL to relative links in the
file specified by -i.

#

I think that should help, or I am missing your point.

CU
Jens


Thomas Otto wrote:
> 
> Hi!
> 
> I miss an option to use wget with a local html file that I have
> downloaded and maybe already edited. Wget should take this file plus the
> option where this file originally came from and take this file instead
> of the first document it gets after connecting.
> 
>-Thomas



Improvement: Input file Option

2002-10-08 Thread Thomas Otto

Hi!

I miss an option to use wget with a local html file that I have 
downloaded and maybe already edited. Wget should take this file plus the 
option where this file originally came from and take this file instead 
of the first document it gets after connecting.

   -Thomas