The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

import-bot (20211) [Avatar] Offline
#1
[Originally posted by genie]

If there'll be a new edition of the book I may suggest then description of
HTML::TreeBuilder will emphasize the usage of the look_down() function, as
it's done in TPJ article ( #19 - "Scanning HTMLs" .. if I'm correct ).
It really gives the full power of browsing the HTML tree, reading, replacing
and doing whatever one needs in a very simple and fancy way.
import-bot (20211) [Avatar] Offline
#2
Re: HTML::TreeBuilder
[Originally posted by dave]

HTML::TreeBuilder _is_ a great module for parsing HTML documents. However, I
probably won't be increasing the coverage of the module as I believe that HTML
is a pretty nasty format and that everyone should be using XML (specifically
XHTML). I think that Sean Burke (the author of HTML::TreeBuilder) has also
written an XML::TreeBuilder module - which would be great.

Dave...
import-bot (20211) [Avatar] Offline
#3
Re: HTML::TreeBuilder
[Originally posted by tholyoak]

Perhaps everyone should be using XML, but most websites will still be using
html in the foreseeable future, and so the HTML::TreeBuilder module will
continue to be needed.

> HTML::TreeBuilder _is_ a great module for parsing HTML documents. However, I
> probably won't be increasing the coverage of the module as I believe that HTML
> is a pretty nasty format and that everyone should be using XML (specifically
> XHTML). I think that Sean Burke (the author of HTML::TreeBuilder) has also
> written an XML::TreeBuilder module - which would be great.
>
> Dave...