background preloader

Ruby

Facebook Twitter

Ruby on Rails guides. XPath. In this new series, Get to Know a Gem, we’re going to take a look at hpricot.

XPath

What is Hpricot? WhyTheLuckyStiff released Hpricot in July of 2006 in an effort to bring fast HTML parsing to the masses. It’s currently unknown what prompted it, but my guess would be that Why is secretly scraping all the pages on the internet that archive the future. Hpricot Basics - hpricot - GitHub. (Part of An Hpricot Showcase.) Loading Hpricot Itself You have probably got the gem, right? To load Hpricot: