Skip to content

Instantly share code, notes, and snippets.

@jonallured
Created July 27, 2015 20:18
Show Gist options
  • Save jonallured/5475d6d3cb5308625e15 to your computer and use it in GitHub Desktop.
Save jonallured/5475d6d3cb5308625e15 to your computer and use it in GitHub Desktop.
Feed Names
urls = ["http://feedjira.com/blog/feed.xml", "http://jonallured.com/atom.xml"]
feeds = urls.map { |url| Feedjira::Feed.fetch_and_parse url }
feeds.map { |feed| feed.title }
# => ["Feedjira Blog", "Jon Allured"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment