mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Doc improvements for --base.
This commit is contained in:
parent
ed533c23c7
commit
532aa2cb2d
@ -2,7 +2,8 @@
|
|||||||
|
|
||||||
* wget.texi (Logging and Input File Options): Alter description of
|
* wget.texi (Logging and Input File Options): Alter description of
|
||||||
--input-file, implying that --force-html isn't necessary when the
|
--input-file, implying that --force-html isn't necessary when the
|
||||||
input is in HTML file.
|
input is in HTML file. Improve accuracy of --base description.
|
||||||
|
(Wgetrc Commands): Improve accuracy of "base" description.
|
||||||
|
|
||||||
2009-07-03 Micah Cowan <micah@cowan.name>
|
2009-07-03 Micah Cowan <micah@cowan.name>
|
||||||
|
|
||||||
|
@ -512,8 +512,17 @@ option.
|
|||||||
@cindex base for relative links in input file
|
@cindex base for relative links in input file
|
||||||
@item -B @var{URL}
|
@item -B @var{URL}
|
||||||
@itemx --base=@var{URL}
|
@itemx --base=@var{URL}
|
||||||
Prepends @var{URL} to relative links read from the file specified with
|
Resolves relative links using @var{URL} as the point of reference,
|
||||||
the @samp{-i} option.
|
when reading links from an HTML file specified via the
|
||||||
|
@samp{-i}/@samp{--input-file} option (together with
|
||||||
|
@samp{--force-html}, or when the input file was fetched remotely from
|
||||||
|
a server describing it as @sc{html}). This is equivalent to the
|
||||||
|
presence of a @code{BASE} tag in the @sc{html} input file, with
|
||||||
|
@var{URL} as the value for the @code{href} attribute.
|
||||||
|
|
||||||
|
For instance, if you specify @samp{http://foo/bar/a.html} for
|
||||||
|
@var{URL}, and Wget reads @samp{../baz/b.html} from the input file, it
|
||||||
|
would be resolved to @samp{http://foo/baz/b.html}.
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
@node Download Options, Directory Options, Logging and Input File Options, Invoking
|
@node Download Options, Directory Options, Logging and Input File Options, Invoking
|
||||||
@ -2652,9 +2661,10 @@ Enable/disable saving pre-converted files with the suffix
|
|||||||
@c #### Document me!
|
@c #### Document me!
|
||||||
@c
|
@c
|
||||||
@item base = @var{string}
|
@item base = @var{string}
|
||||||
Consider relative @sc{url}s in @sc{url} input files forced to be
|
Consider relative @sc{url}s in input files (specified via the
|
||||||
interpreted as @sc{html} as being relative to @var{string}---the same as
|
@samp{input} command or the @samp{--input-file}/@samp{-i} option,
|
||||||
@samp{--base=@var{string}}.
|
together with @samp{force_html} or @samp{--force-html})
|
||||||
|
as being relative to @var{string}---the same as @samp{--base=@var{string}}.
|
||||||
|
|
||||||
@item bind_address = @var{address}
|
@item bind_address = @var{address}
|
||||||
Bind to @var{address}, like the @samp{--bind-address=@var{address}}.
|
Bind to @var{address}, like the @samp{--bind-address=@var{address}}.
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
2009-07-06 Micah Cowan <micah@cowan.name>
|
||||||
|
|
||||||
|
* main.c (print_help): Improve documentation of --base.
|
||||||
|
|
||||||
2009-07-05 Micah Cowan <micah@cowan.name>
|
2009-07-05 Micah Cowan <micah@cowan.name>
|
||||||
|
|
||||||
* html-url.c (tag_handle_meta): Handle meta name="robots"
|
* html-url.c (tag_handle_meta): Handle meta name="robots"
|
||||||
|
@ -432,7 +432,8 @@ Logging and input file:\n"),
|
|||||||
N_("\
|
N_("\
|
||||||
-F, --force-html treat input file as HTML.\n"),
|
-F, --force-html treat input file as HTML.\n"),
|
||||||
N_("\
|
N_("\
|
||||||
-B, --base=URL prepends URL to relative links in -F -i file.\n"),
|
-B, --base=URL resolves HTML input-file links (-i -F)\n\
|
||||||
|
relative to URL,\n"),
|
||||||
"\n",
|
"\n",
|
||||||
|
|
||||||
N_("\
|
N_("\
|
||||||
|
Loading…
Reference in New Issue
Block a user