Skip to content

Instantly share code, notes, and snippets.

@oooooooo
Created August 19, 2016 07:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oooooooo/01012a360e9e807cac854f55b3777b3c to your computer and use it in GitHub Desktop.
Save oooooooo/01012a360e9e807cac854f55b3777b3c to your computer and use it in GitHub Desktop.
require 'rss'
require 'ap'
rss_source = ''
rss = RSS::Parser.parse(rss_source, false)
rss.items.each do |item|
ap item.title
# ap item.description
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment