On 09/10/2001 14:25:57 Andre Pang wrote:
>On Tue, Oct 09, 2001 at 03:46:52PM +0300, Mikko Kurki-Suonio wrote: > >> > To me that sounds like a logical combination of -r -np -p? >> > Any correction appreciated. >> >> Doesn't work, apparently because -np overrides -p. >> >> I.e. with -np set, no document outside the selected subtree will be >> loaded, whether it is referred to through regular link-traversal or as a >> page-requisite element. >> >> My guess is that -p adds those links to the list of documents to load, but >> -np later rejects them because they're not within the selected subtree. >> >> What I'd basically like is a setting that loads page-requisites REGARDLESS >> OF ALL OTHER SETTINGS. I.e. you use the myriad of settings to fine tune >> the exact set of pages requested, and then request "all requisites for the >> selected set of pages". > >Try this patch. It should make -p _always_ get pre-requisites, >even if you have -np on (which was the reason why i wrote the >patch). [snip] Actually, case can be made for both ways. Sometimes you might want -p to only get "images" conforming to -np. Perhaps to skip (advertising)banners. (those are usually served by another server, and thus ignored anyway unless --span-hosts). Perhaps make -p override -np, but have an "alternative" -p (e.g. -pnp ) which obeys -np. I didn't see Andre's patch so I cannot comment on it (stripped by my mail system)-: It modifies existing (admittedly confusing) behaviour, my suggestion would permit getting the old behaviour back. Another possibility would be to keep the existing behaviour (i.e. -np overrides -p) and have a "stronger" -p (e.g. -pp ) which ignores -np. Csaba -- Csaba R�duly, Software Engineer Sophos Anti-Virus email: [EMAIL PROTECTED] http://www.sophos.com US Support: +1 888 SOPHOS 9 UK Support: +44 1235 559933
