Nokogiri: A Faster, Better HTML and XML Parser for Ruby (than Hp...

Courtesy Ruby Inside  Fri, 10/31/2008 - 11:50

html-xml.pngYesterday, Aaron Patterson (@tenderlove ) and Mike Dalessio released Nokogiri (Github repository ), a new HTML and XML parser for Ruby.

It "parses and searches XML/HTML faster than Hpricot" (Hpricot being the current de facto Ruby HTML parser) and boasts XPath support, CSS3 selector support (a big deal, because CSS3 selectors are mega powerful) and the ability to be used as a "drop in" replacement for Hpricot.

On an Hpricot vs Nokogiri benchmark ...


 

More related items

libxml-ruby 0.8.0 Released: Ruby Gets Fast, Reliable...
Ruby's is not known for its deftness with XML. On RubyFlow, I considered calling the community to arms over it, and solicited twenty responses on what the problem is, and what we could do...

PHPMaster.com: Bending XML to Your Will
PHPMaster.com has a new tutorial posted today about "bending XML to your will" - working with XML data using the XML Parser and SimpleXML functionality already included with PHP. If you've...

The Ruby Standard Library To Be Converted to Gems for...
The Ruby standard library (a.k.a. stdlib) is a collection of Ruby libraries that, at one time or another, have been considered useful enough to include with the MRI Ruby implementation by...


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com