Packages 1-1 of 1 that has terms dname:"hpricot":
- I wrote this packageDec 19, 2008HpricotPermalinkA flexible and fast HTML parser.Show Details
#!ruby require 'hpricot' require 'open-uri' # load the RedHanded home page doc = Hpricot(open("http://redhanded.hobix.com/index.html")) # change the CSS class on links (doc/"span.entryPermalink").set("class", "newLinks") # remove the sidebar (doc/"#sidebar").remove # print the altered HTML puts docLicence
This package is licenced under the MIT licence.
Installation
