Posted By

PhilK on 11/27/09


Tagged

ruby example feedzirra


Versions (?)

Basic FeedZirra Example


 / Published in: Ruby
 

Fetches an RSS feed and displays the title and summary of each entry. Nothing fancy.

  1. require "feedzirra"
  2.  
  3. feed = Feedzirra::Feed.fetch_and_parse('http://feeds.feedburner.com/railscasts')
  4. feed.entries.each do |entry|
  5. puts "#{entry.title}\n#{entry.summary}\n\n"
  6. end

Report this snippet  

You need to login to post a comment.