Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
Ruby Readability Command line: (sudo) gem install ruby-readability Bundler: gem "ruby-readability", :require => 'readability' Example: require 'rubygems' require 'readability' require 'open-uri' source = open('http://lab.arc90.com/experiments/readability/').read puts Readability::Document.new(source).content === This code is under the Apache License 2.0. http://www.apache.org/licenses/LICENSE-2.0 This is a ruby port of arc90's readability project http://lab.arc90.com/experiments/readability/ Given a html document, it pulls out the main body text and cleans it up. Ruby port by starrhorne, libc, and iterationlabs. Original gemification by fizx.