Nokogiri vs Hpricot?

roshan picture roshan · May 22, 2010 · Viewed 7.3k times · Source

Which one would you choose? My important attributes are (not in order):

  1. Support and future enhancements.
  2. Community and general knowledge base (on the Internet).
  3. Comprehensive (I.E., proven to parse a wide range of *.*ml pages).
  4. Performance.
  5. Memory footprint (runtime, not the code-base).

Answer

Marc-André Lafortune picture Marc-André Lafortune · May 22, 2010

Pick Nokogiri, for all points and especially point one: Hpricot is no longer maintained.

Meta answer: See ruby-toolbox to get an idea of the popularity of different tools in a given area.