Quantcast
Channel: Active questions tagged feedjira+ruby-on-rails+rss - Stack Overflow
Viewing all articles
Browse latest Browse all 16

RSS Parsing + Feedjira + Unable to read RSS value after using Feedjira gem

$
0
0

In my sample project, I am trying to read one new ress feed and I am using most popular gem 'feedjira' but I am not able to fetch the values. I tried simple-rss gem as well.

Still no progress.

user@localhost ~]$ irb
2.1.2 :001 > urls = %w[http://feedjira.com/blog/feed.xml https://github.com/feedjira/feedjira/feed.xml]
 => ["http://feedjira.com/blog/feed.xml", "https://github.com/feedjira/feedjira/feed.xml"] 
2.1.2 :002 > feeds = Feedjira::Feed.fetch_and_parse urls # returns a Hash, with each url having a Feedjira::Feed object
NameError: uninitialized constant Feedjira
    from (irb):2
    from /home/user/.rvm/rubies/ruby-2.1.2/bin/irb:11:in `<main>'

Please have a look and suggest something.


Viewing all articles
Browse latest Browse all 16

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>