Small gem to read and parse media rss feeds.
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
README
media_feed.gemspec

README

The media_feed library parses a media rss stream and stores the information in its attributes.

Examples:
Fetch a whole feed
    media_feed = MediaFeed::Feed.new('http://www.nasa.gov/rss/NASAcast_vodcast.rss ')
    media_feed.fetch

Fetch starting at a certain date (date must be in RFC2822 format - use Time.rfc2822)
    media_feed = MediaFeed::Feed.new('http://www.nasa.gov/rss/NASAcast_vodcast.rss ')
    media_feed.fetch_since("Wed, 10 Sep 2008 10:29:18 +0200")

Use the retrieved information
    thumbnail = media_feed.thumbnail
    media_feed.items.each do |item|
      ...
    end