develooper Front page | perl.libwww | Postings from July 2001

HTML::Parser::Tidy namespace

Thread Next
Bjoern Hoehrmann
July 20, 2001 13:30
HTML::Parser::Tidy namespace
Message ID:
Hi Gisle,
Hi list,

   maybe you have heard of HTML Tidy, a free utility by Dave Raggett to
repair, cleanup and pretty-print HTML and XHTML documents. Please refer

for more information on HTML Tidy.

HTML Tidy is currently maintained by a group of developers including
myself at Sourceforge. One of our goals is to create a free-standing
C-library out of Tidy to ease it's reuse in other applications, see

for more information on this project.

I'm going to write an Perl XS interface to this library [1] and the best
name I could think of was


HTML::Tidy is already taken and something like HTML::PerlTidy implies,
that this cleans up some perl code. I'll try to provide an interface
compatible [2] to HTML::Parser 3.x so that applications built upon
HTML::Parser will be able to use Tidy as an alternative. My current
module provides a simple (XML::Parser::Perl)SAX interface so that I can
use the module to build up a DOM tree for e.g. XML::DOM or XML::XPath.
I'm currently considering if it's worth to expose the whole the DOM-like
functions of HTML Tidy...

However, I'd like to ask if the module name is ok for you, Gisle, and
for others or if one of you as a better suggestion.

The module will be maintained at

(where you'll currently find nothing but empty pages :-)

If some people are interested in this project, feel free to subscribe to
the, but be aware that I'll bug you
with questions about the interface/documentation/etc.pp. ;-)

[1] I already did something like that in april this year, but I came to
    the conclusion, that HTML Tidy should be a real library to use all
    it's features in other applications easily, so we started that

[2] To some extent, some features aren't possible.

Thanks for your comments,
Björn Höhrmann { }
am Badedeich 7 } Telefon: +49(0)4667/981028 {
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 }

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About