Skip to content

Instantly share code, notes, and snippets.

@rbnpercy rbnpercy/articles.rb
Last active Aug 14, 2019

What would you like to do?
require 'feedjira'
def hn_articles
url = ""
feed = Feedjira::Feed.fetch_and_parse url
arts = feed.entries.each do |item|
puts "Item: #{item.title}"
puts "&& Link: #{item.url}"
return arts.inspect
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.