in reply to Trivial HTML extractor utility
If you used HTML::TreeBuilder::XPath it would be even more powerful. Instead of passing in a tag on the command line you could pass in an xpath expression. XPath would let you fetch attribute values, or only instances of tags that are children of certain other tags, or have particular attributes, etc....
If it wasn't for the "-b" option, your linkx script could just be an alias to htmlx with some args.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Trivial HTML extractor utility
by Dominus (Parson) on Nov 22, 2007 at 19:14 UTC | |
by eserte (Deacon) on Nov 22, 2007 at 20:53 UTC | |
by hossman (Prior) on Nov 22, 2007 at 21:17 UTC |
In Section
Meditations