Does --page-requisites load content from other hosts?
Does --page-requisites load content from other hosts as well, or must I explicitly issue a --span-hosts with it? The manpage unambiguously says about --span-hosts Enable spanning across hosts when doing recursive retrieving, but at the --span- hosts section it does not mention whether wget will load from other hosts or only the mother host. Please reply in CC to me, and also update the manpage with the information. Regards, Stefan Nowak
Re: Does --page-requisites load content from other hosts?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stefan Nowak wrote: Does --page-requisites load content from other hosts as well, or must I explicitly issue a --span-hosts with it? The manpage unambiguously says about --span-hosts Enable spanning across hosts when doing recursive retrieving, but at the --span-hosts section it does not mention whether wget will load from other hosts or only the mother host. Please reply in CC to me, and also update the manpage with the information. - --page-requisites invokes a special kind of recursion (and the manpage says this), so the manpage is pretty clear about what's required (i.e., yes, you need --span-hosts, just as you would for -r). The manual makes this even more clear in the following text: Actually, to download a single page and all its requisites (even if they exist on separate websites), and make sure the lot displays properly locally, this author likes to use a few options in addition to -p: wget -E -H -k -K -p http://site/document (Note, btw, that the authoritative source for information about Wget is the info manual, not the man page.) - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer, and GNU Wget Project Maintainer. http://micah.cowan.name/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIWpve7M8hyUobTrERAihmAJ0Sm0uNTn6WBH69qvmtAUuSZ7n9awCfSZL6 4B0EpM/EaLptbHDM70cJJyo= =x7G7 -END PGP SIGNATURE-
Re: Does --page-requisites load content from other hosts?
Thanks for the clarification -- man-page versus authorative info-manual. If you allow me to give you some feedback: I honestly overread the information in the manpage, as I thought the bottom paragraphs are only some examples and special cases. I think the fact, that --page-requisites internally invokes a special kind of recursive mode, is so essential, that this information should appear in one of the first paragraphs of the --page-requisites section. Regards, Stefan Nowak On 19.06.2008 at 19:48 Micah Cowan wrote: Stefan Nowak wrote: Does --page-requisites load content from other hosts as well, or must I explicitly issue a --span-hosts with it? The manpage unambiguously says about --span-hosts Enable spanning across hosts when doing recursive retrieving, but at the --span- hosts section it does not mention whether wget will load from other hosts or only the mother host. --page-requisites invokes a special kind of recursion (and the manpage says this), so the manpage is pretty clear about what's required (i.e., yes, you need --span-hosts, just as you would for -r). The manual makes this even more clear in the following text: Actually, to download a single page and all its requisites (even if they exist on separate websites), and make sure the lot displays properly locally, this author likes to use a few options in addition to -p: wget -E -H -k -K -p http://site/document (Note, btw, that the authoritative source for information about Wget is the info manual, not the man page.)