Socket
Book a DemoInstallSign in
Socket

namelessjon-feed_me

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

namelessjon-feed_me

0.0.5
bundlerRubygems
Version published
Maintainers
2
Created
Source

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 Hpricot parser written by _why the lucky stiff.

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!

FAQs

Package last updated on 10 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.