Hi,
I have writen a HTML::PrettyPrinter module.
It will produce nice HTML files from a HTML::TreeBuilder.
Various parameters let you configure it to your needs.
Version 0.01 is currently available from
<http://www.filmstudio.rwth-aachen.de/HTML-PrettyPrinter-0.01.pm>
You will find the full Documentation in
<http://www.filmstudio.rwth-aachen.de/HTML-PrettyPrinter.html>
Is there any interest in such a module? Shall I continue the
developement into a module on CPAN? Any feedback, suggestions,
bug reports and requests for features are welcome!
As you see from the version number, the module is in a early
(or pre) alpha stadium. Thus, there are no installation and
test support yet. To install it, load the file from
the webserver and save it as HTML/PrettyPrinter.pm
somewhere in your @INC path.
Make sure you have HTML::Element version 1.56 installed.
(version 1.55 has a bug in all_external_attr()).
I have just read Sean Burke's announcement about
HTML::TreeBuilder v 3.01. It seems my module comes a few dates
late, because HTML::PrettyPrinter version 0.01 will probably
not run with the new tree builder.
Furthermore, I have implemented a tag group mechanism to
faciliate the configuration of the pretty printer.
It may have become (partly) obsolete by the new HTML::Tagset
module. However, I couldn't retrieve any information about
the functionality of that module yet. I will check it out
as soon as it has arrived at my CPAN mirror.
Ciao, Claus [EMAIL PROTECTED]
--
Sent through GMX FreeMail - http://www.gmx.net