X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=doc%2Fwget.texi;h=6f88e19a93d4ed5d37a04c5b496dbae33bbf6bae;hb=e4371807f6eb9ee6d0cc7828773e792fbecb5ce5;hp=108d72177f1b69e7fcbac50685f770bb5f397344;hpb=2e2ac6ad2fc90eaf46ae5fee0bc4f61dd97b4284;p=wget diff --git a/doc/wget.texi b/doc/wget.texi index 108d7217..6f88e19a 100644 --- a/doc/wget.texi +++ b/doc/wget.texi @@ -480,9 +480,9 @@ printed. @cindex input-file @item -i @var{file} @itemx --input-file=@var{file} -Read @sc{url}s from @var{file}. If @samp{-} is specified as -@var{file}, @sc{url}s are read from the standard input. (Use -@samp{./-} to read from a file literally named @samp{-}.) +Read @sc{url}s from a local or external @var{file}. If @samp{-} is +specified as @var{file}, @sc{url}s are read from the standard input. +(Use @samp{./-} to read from a file literally named @samp{-}.) If this function is used, no @sc{url}s need be present on the command line. If there are @sc{url}s both on the command line and in an input @@ -497,6 +497,11 @@ relative links, which you can solve either by adding @code{} to the documents or by specifying @samp{--base=@var{url}} on the command line. +If the @var{file} is an external one, the document will be automatically +treated as @samp{html} if the Content-Type matches @samp{text/html}. +Furthermore, the @var{file}'s location will be implicitly used as base +href if none was specified. + @cindex force html @item -F @itemx --force-html