RE: Contribution: HTML::TableExtract::Raw

"Julian Mehnle" <[email protected]> Thu, 3 Mar 2005 17:21:36 +0100
Newsgroups gmane.comp.lang.perl.modules.html-tableextract
Message-ID <[email protected]>
Matt Sisk wrote:
> Julian Mehnle wrote:
> > I needed a class to extract the _raw_ HTML code of a table specified
> > through depth and count (similar to HTML::TableExtract), instead of
> > its _parsed_ rows and columns.  I wrote it as a sub-class of
> > HTML::Parser:
> >
> >   http://files.mehnle.net/software/perl/HTML/TableExtract/Raw.pm
> >
> > I'm going to add documentation to it soon.
> >
> > Would you like to include it in your HTML-TableExtract CPAN
> > distribution?
>
> I can take a look at it -- this sort of functionality is fairly
> frequently requested, but I have never had the time to really do it
> properly. It's sort of a sub-problem of the "target tables within HTML
> documents and edit them in place" problem, which involves a sort of
> mapping onto something like an HTML::Element tree structure.
>
> Part of the power of HTML::TableExtract is correctly targeting tables,
> in particular by headers. Also, when you retain the entire HTML
> structure, do you want your outer tables to contain the entire HTML
> structure of embedded tables, etc.
>
> I haven't looked at yours yet, but I'm curious what the options are. At
> the very least, there's probably some overlap in the targetting
> functionality.

By now, I have added the documentation to HTML::TableExtract::Raw.  The
new version is still available from the above URL.  Matt, please tell me
whether you'd like to include it in your HTML-TableExtract CPAN
distribution.  Perhaps it could be made more generic with some
modifications, but I'd now like to publish it in any case, be it as part
of your package or as a standalone package.

Greetings,
Julian.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click