[Web-SIG] HTML parsers and DOM; WWW::Mechanize work-alike

John J Lee jjl at pobox.com
Wed Dec 3 09:23:00 EST 2003


On Tue, 2 Dec 2003, Casey Duncan wrote:
[...]
> OTOH, if anyone has a better idea, I'm all ears. What kind of api do people want?
[...]

from tidy import tidy
xhtml = tidy(html)


...plus some optional args.  mxTidy does this, more-or-less, I think (but
is based on the old HTMLTidy, not tidylib, of course).


John



More information about the Web-SIG mailing list