HTML-Tree reviews

cpanratings
 

RSS | Module Info | Add a review of HTML-Tree

HTML-Tree (3.23) ****

Easy to use module, even though the interface and documentation are somewhat unusual for today's day and age.

Since it builds an actual tree, the module is on the slow side (1000 lines or 256k of HTML from bit.ly/html_tree_benchmark_html on a 2GHz CPU), so if you can remove any unneeded parts before parsing, that will help. For example, I was parsing a large HTML table and removing all the attributes of the TD elements, all formatting <spans> and all <NOBR>s around numbers, I was able to speed up the parsing 2x.

Also lacks XPath, but there is a separate HTML::TreeBuilder::XPath module.

Dan Dascalescu - 2009-07-31T19:41:42 (permalink)

1 out of 3 found this review helpful. Was this review helpful to you?  Yes No

HTML-Tree (3.23) *****

I'm using this module for years so I thought I'd add my 5 stars review. Very well done! That's how DOM should be like if it were designed by real hackers.

Mihai Bazon - 2009-06-21T01:32:29 (permalink)

1 out of 1 found this review helpful. Was this review helpful to you?  Yes No

HTML-Tree (3.1901) *****

This is a really great module for doing HTML processing. I worked with it for a project for a friend, and then as part of WWW::Search, and I found it extremely convenient. It gets the job done quickly.

The documentation is very good. If you find this module useful, you should also look at HTML::TreeBuilder::XPath which extends the power of HTML::TreeBuilder with XPath expressions.

Shlomi Fish - 2006-05-27T01:56:09 (permalink)

7 out of 8 found this review helpful. Was this review helpful to you?  Yes No

HTML-Tree (3.1901) *****

I used to do my HTML munging in HTML::TokeParser. The TokeParser is a useful module, but it's very different from the kind of tree-traversal that you get used to after writing JavaScript. If you are used to working with HTML via the JavaScript DOM, HTML::Tree will be much more like what you're used to. In fact, you'll start wishing that the DOM was more like HTML::Tree.

The documentation layout is unusual, but the documentation itself is quite good. If you need to muck about with HTML, this is the place to start.

Ricardo Signes - 2005-11-20T07:50:31 (permalink)

9 out of 9 found this review helpful. Was this review helpful to you?  Yes No

HTML-Tree (3.18) *****

Excellent, easy to use module. Gets the job done. More examples would be nice.

degreaser - 2004-12-15T16:42:55 (permalink)

1 out of 1 found this review helpful. Was this review helpful to you?  Yes No

HTML-Tree (3.18) *****

This has been my HTML handling module of the month; I dragged it out on four separate occasions to get something done, and it hasn't let me down. It's by far the easiest way I've found of manipulating HTML documents.

simon - 2004-03-22T02:59:20 (permalink)

2 out of 2 found this review helpful. Was this review helpful to you?  Yes No

HTML-Tree (3.18) *****

It's a very good module...
But, you should have a a very good and fast server, if you want to work with big html's quickly...

perl.dp.ua - 2004-02-12T15:21:52 (permalink)

2 out of 4 found this review helpful. Was this review helpful to you?  Yes No

HTML-Tree (3.17) *****

Note: if you have trouble with this module, you probably didn't read the docs very well.

Chris Nandor - 2003-08-25T22:07:27 (permalink)

0 out of 3 found this review helpful. Was this review helpful to you?  Yes No