rubynokogirihtml-parsinghpricot

Nokogiri vs Hpricot?


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).

Solution

  • 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.