Logo_s
  • Find a Package
  • Check Live Licences
  • Register
  • FAQs
  • Login

Find software packages matching

Only search category

Browse categories
Packages 1-1 of 1 that has terms dname:"hpricot":
  • Dec 19, 2008
    HpricotPermalink
    by why the lucky stiff
    Other
    A flexible and fast HTML parser.
    #!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 doc
    
    Show Details

    Licence

    This package is licenced under the MIT licence.

    Installation

    Demo Instructions Home Page Support
    I wrote this package

  • Privacy Policy
  • Terms of Use
  • Contact
  • About Rails Wheels