Created
May 14, 2018 13:38
-
-
Save jonallured/00256a914fcd91584f8e2e8ad1f2500c to your computer and use it in GitHub Desktop.
Loop with Feedjira
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
feed_urls = ["http://jonallured.com/atom.xml", "http://feedjira.com/blog/feed.xml"] | |
feed_urls.each do |feed_url| | |
feed = Feedjira.fetch_and_parse(feed_url) | |
# ...do something with feed here | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment