W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 1999

Re: Enhancement request

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Thu, 2 Dec 1999 23:21:58 +0100
Message-ID: <009e01bf3d14$808b0d20$5785fcc3@de>
To: "asantos" <asantos@automail.pt>
Cc: <html-tidy@w3.org>
| 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.

Björn Höhrmann - mailto:bjoern@hoehrmann.de - http://www.bjoernsworld.de
Received on Thursday, 2 December 1999 17:29:58 UTC

This archive was generated by hypermail 2.3.1 : Friday, 13 July 2018 08:58:58 UTC