Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: problems installing HTML::Tree

by Jeffrey Kegler (Hermit)
on May 09, 2010 at 16:17 UTC ( #839121=note: print w/replies, xml ) Need Help??

in reply to problems installing HTML::Tree

You might want to look at Marpa-HTML, which also does high-level HTML parsing using a new parsing algorithm. As the author of Marpa-HTML I am biased, but I use Marpa-HTML for my own work. I think you may find its interface handy and that the power of the underlying Marpa algorithm pays off in this application.

Replies are listed 'Best First'.
Re^2: problems installing HTML::Tree
by metaperl (Curate) on May 10, 2010 at 15:45 UTC

      Marpa-HTML is derived from, and replaces Marpa::UrHTML.

      For an example of how to output the HTML, look at the html_fmt utility which is part of the Marpa-HTML distribution. Warning: html_fmt is primarily intended to pretty-print HTML for reading. This keeps it pretty simple. I find most of the time the HTML output also renders the same as the input, but you can't rely on that.

      I'll look into providing an equivalent to as_HTML(). Transforming a table with zebra striping might be a good example for me to add. I'll also look into that.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://839121]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2018-01-18 04:25 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (206 votes). Check out past polls.