![]() |
Equivalent of Perl HTML::TreeBuilder?
Is there a well-known, supported Ruby equivalent to Perl's
HTML::TreeBuilder? -- John W. Kennedy "You can, if you wish, class all science-fiction together; but it is about as perceptive as classing the works of Ballantyne, Conrad and W. W. Jacobs together as the 'sea-story' and then criticizing _that_." -- C. S. Lewis. "An Experiment in Criticism" |
Re: Equivalent of Perl HTML::TreeBuilder?
John W. Kennedy wrote:
> Is there a well-known, supported Ruby equivalent to Perl's > HTML::TreeBuilder? > Yes - you can use ruby htmltools: http://bike-nomad.com/ruby/ You can use these to get a REXML parse tree from ordinary HTML. You can then use XPATH expressions on the resultant tree. Have used this for a few projects and had no problems. cheers alex |
Re: Equivalent of Perl HTML::TreeBuilder?
Alex Fenton wrote: > John W. Kennedy wrote: > > > Is there a well-known, supported Ruby equivalent to Perl's > > HTML::TreeBuilder? > > > > Yes - you can use ruby htmltools: > http://bike-nomad.com/ruby/ > That lib (updated) now lives here: http://rubyforge.org/projects/ruby-htmltools/ > > cheers > alex > :daz |
| All times are GMT. The time now is 09:52 PM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.