Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

venetanji/feed_me

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.