Re: Enhancement request

| I'd like to have 2 new command line options:  --links and --images. I think
| it's obvious, --links would print a (unformated ?) list of all the href URLs
| for the <a...> tag, --images all the src URLs of <img...> tags. These two
| options would make tidy very usable in scripts.

Use a perl script instead of html tidy. Tidy is ment to be a pretty-printer
for HTML Code, not a all-in-one HTML authoring tool.

Look at HTML::LinkExtor from CPAN; it can do exactly what you want.

regards,
--
Björn Höhrmann - mailto:bjoern@hoehrmann.de - http://www.bjoernsworld.de

Received on Thursday, 2 December 1999 17:29:58 UTC