[Bug 247395] Re: wget forgets to download background-image

2008-07-10 Thread Micah Cowan
> That means that the sentence in the man page > "all the files that are necessary to properly display a given HTML page." > will not come true before ubuntu 9.x. Well, "as determined by the specifications that Wget understands" is of course implied. When Wget was originally written, CSS hadn't be

[Bug 247395] Re: wget forgets to download background-image

2008-07-10 Thread netAction
I am sorry, you are right. The Image must have been on the disk before already. That means that the sentence in the man page "all the files that are necessary to properly display a given HTML page." will not come true before ubuntu 9.x. I found a very simple solution: ubuntu-hardy$ httrack http:/

[Bug 247395] Re: wget forgets to download background-image

2008-07-10 Thread Micah Cowan
No, the manpage is not incorrect. -p will download all inlined images, sounds, and referenced stylesheets. It will _not_ download anything that is linked to only from CSS files: that's true whether you use -p or -r or some combination. If it can find it from HTML attributes (src="", href=""), it wi

[Bug 247395] Re: wget forgets to download background-image

2008-07-10 Thread netAction
Now I am completely disarranged. This works and grabs the background-image too: ubuntu-hardy$ wget -pk http://domain.com These two commands do the same and forget the image: ubuntu-hardy$ wget -prk http://domain.com ubuntu-hardy$ wget -rk http://domain.com -- wget forgets to download background

[Bug 247395] Re: wget forgets to download background-image

2008-07-10 Thread netAction
Thanks a lot for the very good explanation! I trusted on the man page, but it is wrong. I is not possible to display a HTML page without background images: ubuntu-hardy$ man wget -p --page-requisites This option causes Wget to download all the files that are necesā€

[Bug 247395] Re: wget forgets to download background-image

2008-07-10 Thread Micah Cowan
Wget doesn't forget to download it; it can't. Wget groks HTML, not CSS, so it can't even determine that the background image exists. Support for CSS would fall under a feature request, not a bug report. However, you may be pleased to know that CSS support has been implemented in a development vers