Suggestion: wget -r should fetch images declared in CSS
Hi there, wget -r is very useful to slurp and archive entire web sites, I use it all the time when working with other web designers remotely. However, images declared in CSS rules are ignored by the robot if they are not seen elsewhere in the HTML pages. Therefore, to mirror the site properly, such images must be fetched manually with separate commands after poking into each individual CSS file -- a cumbersome and error- prone process. As web designers increasingly rely on background images in CSS to cleanly separate presentation from content, wget ought to accomodate this feature. Happy Friday the 13th, JFG
Re: FW: think you have a bug in CSS processing
Neil wrote: When giving it some thought I think a valid argument could be made that the string in the CSS document is not exactly an URL but it is certainly URL-like. The URL-like strings in CSS are actually standard URLs, either absolute or relative, so they shouldn't be a big deal to handle. A caveat for the parser: they can be quoted or unquoted and still work. See http://www.w3.org/TR/CSS21/syndata.html#uri Amazingly I found this feature request in a 2003 message to this very mailing list. Are there only a few lunatics like me who think this should be included? Cheers, JFG