0

With Rails and the feedjira gem, I am using an RSS feed to get news articles from a website like so:

Article.update_from_feed("http://feeds.feedburner.com/CoinDesk")



def self.update_from_feed(feed_url)
    feed = Feedjira::Feed.fetch_and_parse(feed_url)
    add_entries(feed.entries)
  end

However, by default I get a relatively small number of news.

Is there an option I can pass such that I can increase the number of news I get from that website?

bsky
  • 19,326
  • 49
  • 155
  • 270
  • Are you sure that is Feedjira and not feedburner that is limiting the number of articles? – max Jun 21 '15 at 19:36
  • No. I don't know which one sets the limit. In case it is feedburner, is there a way of increasing the limit? – bsky Jun 21 '15 at 19:49
  • I don't know - I haven't used FB in years. But I remember it being kind of crap whenever you want to do something remotely advanced. – max Jun 21 '15 at 19:50
  • possible duplicate of [How to get more feeds from RSS url?](http://stackoverflow.com/questions/24110170/how-to-get-more-feeds-from-rss-url) – Julien Genestoux Jun 23 '15 at 09:10

1 Answers1

0

This is a duplicate of this question. Feedjira will only be able to provide you with the content that's in the feed t the moment you poll it. Use feed APIs like Superfeedr which store the content of feeds if you need more.

Community
  • 1
  • 1
Julien Genestoux
  • 31,046
  • 20
  • 66
  • 93