Basic FeedZirra Example

/ Published in: Ruby
Save to your folder(s)

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

Copy this code and paste it in your HTML
  1. require "feedzirra"
  3. feed = Feedzirra::Feed.fetch_and_parse('')
  4. feed.entries.each do |entry|
  5. puts "#{entry.title}\n#{entry.summary}\n\n"
  6. end

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.