Permalink
Switch branches/tags
Nothing to show
Commits on Jul 30, 2010
  1. Version bump to 0.1.5

    rgabo committed Jul 30, 2010
Commits on May 25, 2010
Commits on May 19, 2010
  1. Version bump to 0.1.4

    rgabo committed May 19, 2010
Commits on May 17, 2010
  1. Version bump to 0.1.3

    rgabo committed May 17, 2010
  2. Version bump to 0.1.2

    rgabo committed May 17, 2010
    Generated gemspec, added new files
  3. Improved loading into Harmony and less error prone

    rgabo committed May 17, 2010
    - Readability also removes iframe tags now to make sure no external javascript 
    tries to run. Less errors and possibly also faster.
    - Added test for running Readability on a list of webpages
  4. Added .rvmrc to project

    rgabo committed May 17, 2010
    RVM now automatically uses Ruby 1.8.7 with the 'readability'
    gemset. Also handy when using TextMate + forked Rspec bundle.
Commits on May 16, 2010
  1. Document#to_readable always returns a Nokogiri::XML::Node

    rgabo committed May 16, 2010
    - 'to_readable' returns root node of the document
    - 'to_readable :content_only => true' returns a node inside the document
  2. Version bump to 0.1.0

    rgabo committed May 16, 2010
  3. added :content_only => true to Document#to_readable

    rgabo committed May 16, 2010
    Setting the :content_only argument to true returns only the inner <div> that contains the
    article that readability has found.
  4. Added syntax to gemset

    rgabo committed May 16, 2010
  5. Implemented Readability::Harmonizable

    rgabo committed May 16, 2010
    - Document#to_readable returns Nokogiri document after Readability.js did its thing.
    - Readability parameters can be set with #read_style, #read_size and #read_margin.
    - Document#to_readable! desructively replaces document with readable document
    - Added all styles, sizes and margins under Readability module
  6. Added readability.js

    rgabo committed May 16, 2010
  7. Factored out Readability::Harmonizable module

    rgabo committed May 16, 2010
    Harmony-related methods added to Nokogiri::HTML::Document moved to Readability::Harmonizable
    and examples modified accordingly.
  8. Added Document#load_js to execute JS files.

    rgabo committed May 16, 2010
    Document#load_js loads one or more Javascript files and executes them on the document.
  9. Document#window allows access to the DOM.

    rgabo committed May 16, 2010
    Document#window exposes the top-level object of the DOM and allows access to and changes
    to be made on the DOM.
  10. Document#title and #execute_js first implementation.

    rgabo committed May 16, 2010
    Document#title returns the title of the document using the DOM.
    
    Document#execute_js executes Javascript code in the context of the HTML document and
    reparses the DOM/HTML afterwards. Thus, if the Javascript code made any changes to the
    document, those changes will be reflected in the Nokogiri document.
  11. Readability::Readable extends Nokogiri::HTML::Document

    rgabo committed May 16, 2010
    Changed readability to extend Nokogiri instead of providing its own classes.
    Readability::Readable is automatically included into Nokogiri::HTML::Document
    and adds Document#harmony_page to return the document loaded into Harmony.
    Added examples.
  12. Added Nokogiri as dependency

    rgabo committed May 16, 2010
  13. Added test file

    rgabo committed May 16, 2010