True, but I think it is the most "standard" tool for the job - short of doing the parsing and rewriting myself.
| [reply] |
True, I just thought I'd point this out to the original poster: wget won't do the job all the time. If he needs something that works every time, he'd need to use wget and do some of the work manually in case BASE element is involved or CSS is being used for images (maybe there are other problems there I haven't thought of?) - or write it from scratch ...
The trick would be going through the HTML and CSS specs and find every different way objects can be referenced/included/linked to etc. I'm sure there's plenty!
Johannes
| [reply] [d/l] |
Oops, you are the original poster :-P
| [reply] |
With so many edge cases I've pretty much abandoned the use for a wget-only solution.
I've got a mimimal tool working now using HTML::Parser, but I haven't dug deep in examining the CSS files yet. I will have to work on that later.
| [reply] |