Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Parse GitHub RSS feed and show only latest starred projects
require 'rss'
rss_url = 'https://github.com/mrcasals.atom'
response = RSS::Parser.parse(open(rss_url).read)
response.entries.each do |entry|
p entry.link.href if entry.title.content =~ /starred/
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.