Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A tiny parser for RSS and Atom feeds built on Nokogiri.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README
Octocat-spinner-32 Rakefile
Octocat-spinner-32 TODO
Octocat-spinner-32 VERSION.yml
Octocat-spinner-32 feed_me.gemspec
README
Feed Me
=======

Feed Me is a simple parser for RSS2 and Atom feed, adding other feed formats should be trivial. Feed Me is pretty minimal and basically only does translation/cleanup from different feed formats to a consistent API. It is designed to be minimal.

Feed Me is built on the excellent Nokogiri parser.

Use it like this:

    file = File.read('some_feed.atom')
    
    feed = FeedMe.parse(file)
    
    feed.title
    feed.author.name
    feed.entries.each do |entry|
      entry.title
      entry.content
    end

Check out the specs or lib/feed_me/consts.rb for the complete API.

DISCLAIMER: This is very much alpha software, use at your own risk!
Something went wrong with that request. Please try again.