[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#788934: marked as done (RFP: libhtml-treebuilder-perl -- Parser that builds a HTML syntax tree)



Your message dated Thu, 10 Mar 2016 20:57:24 +0000
with message-id <CAOQWjw32D4U-BHb2USKv7sxh=iBgutBC2AwvE7zu6iugiU1VAQ@mail.gmail.com>
and subject line Re: Bug#788934: RFP: libhtml-treebuilder-perl - Parser that builds a HTML syntax tree
has caused the Debian Bug report #788934,
regarding RFP: libhtml-treebuilder-perl -- Parser that builds a HTML syntax tree
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
788934: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788934
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libhtml-treebuilder-perl
Severity: wishlist

(This class is part of the HTML::Tree dist.)

This class is for HTML syntax trees that get built out of HTML source. The way to use it is to:

1. start a new (empty) HTML::TreeBuilder object,

2. then use one of the methods from HTML::Parser (presumably with $tree->parse_file($filename) for files, or with $tree->parse($document_content) and $tree->eof if you've got the content in a string) to parse the HTML document into the tree $tree.

(You can combine steps 1 and 2 with the "new_from_file" or "new_from_content" methods.)

2b. call $root->elementify() if you want.

3. do whatever you need to do with the syntax tree, presumably involving traversing it looking for some bit of information in it,

4. previous versions of HTML::TreeBuilder required you to call $tree->delete() to erase the contents of the tree from memory when you're done with the tree. This is not normally required anymore. See "Weak References" in HTML::Element for details.

https://metacpan.org/pod/HTML::TreeBuilder

--- End Message ---
--- Begin Message ---
HTML::TreeBuilder is already available in Debian as part of the
libhtml-tree-perl package.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 788934@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Thanks,
Nick Morrott <knowledgejunkie@gmail.com>

--- End Message ---

Reply to: