public
Description: rFeedParser is a translation of the Universal Feed Parser from Python into Ruby. It has nearly the exact same behavior.
Homepage: http://rfeedparser.rubyforge.org
Clone URL: git://github.com/jmhodges/rfeedparser.git
jmhodges (author)
Fri Feb 27 23:50:18 -0800 2009
commit  3d60cc1f2b8720a6e47795d10d525c36693344cf
tree    d71c4463fefe9b81b24fa41ddcde714f6caa4b49
parent  ff66e423d2543ad61b86eae32c0c2f9eae8be05a
name age message
file .gitignore Tue Feb 03 00:14:00 -0800 2009 ignore emacs buffer files [jmhodges]
file LICENSE Sat Mar 24 09:34:45 -0700 2007 using the rchardet gem not that it has a projec... [Jeff Hodges]
file README Tue May 06 14:22:55 -0700 2008 more explanation about the difference between e... [technomancy]
file RUBY-TESTING Thu May 08 15:39:16 -0700 2008 Merge branch 'technomancy_master' [jmhodges]
file Rakefile Fri Feb 27 23:50:18 -0800 2009 Don't need no zip file. [jmhodges]
directory doc/ Sun Feb 01 23:25:50 -0800 2009 bump version to 0.9.952 * Fixed a bug where me... [jmhodges]
directory lib/ Fri Feb 27 15:14:54 -0800 2009 removing the expat bindings as an option, using... [jmhodges]
directory tests/ Fri Feb 27 22:45:07 -0800 2009 renaming the test files [jmhodges]
README
= Universal Feed Parser
  http://rfeedparser.rubyforge.org
  Original Python code Copyright (c) 2002-5 by Mark Pilgrim
  Ruby port by Jeff Hodges.

== Description

Parse nearly any RSS and Atom feeds in Ruby.  3000 unit tests.  Open source.

== Installation

For Debian-based systems:

  $ sudo apt-get install libxml-ruby1.8 # or libxml-parser-ruby1.8

TODO: dependency installation instructions for other platforms.

And then:

  $ sudo gem install rfeedparser

Or for the latest development version:

  $ git clone git://github.com/technomancy/rfeedparser.git

Dependencies on other gems are handled by rubygems, but rfeedparser
also relies on having bindings to a native XML parsing library. The
recommended choice is libxml, which is installable with the
libxml-ruby1.8 package in Debian-based systems. But it can also fall
back to expat (the libxml-parser-ruby1.8 Debian package) if libxml is
not installed.

== Usage

   require 'rubygems' # may omit if installed manually
   require 'rfeedparser'

   feed = FeedParser.parse("some-feed-stream-filepath-or-url")

   feed.entries.each do |e|
     puts e.title
     puts e.content
     puts e.published
     puts '----'
   end

== Contributing

Clone the git repository at git://github.com/jmhodges/rfeedparser.git and
which has a webpage at http://github.com/jmhodges/rfeedparser/tree/master.