Quantcast
Channel: How to fetch RSS feeds from yahoo finance page and show in my Rails app? - Stack Overflow
Viewing all articles
Browse latest Browse all 2

How to fetch RSS feeds from yahoo finance page and show in my Rails app?

$
0
0

I have been programming with Ruby and Rails for the last 6 months, and I am pretty much comfortable with it now. But, I never had to deal with RSS feeds before with my Rails app. For my current project, I have a display page which shows different market indices with their open, high, low , volume values. Now, I would like to bring RSS feeds from yahoo finance and want to show them in the same page. I want to fetch RSS feeds from this link http://finance.yahoo.com/rssindex and then I want to show them in my display page in my Rails app. While searching for a solution for this problem, I came across this : Generating RSS feed in Rails 3

But, I think this is for generating RSS feeds for one's app. I believe my need is different than this. I want to fetch RSS feeds and show them in my display page. For fetching RSS feeds I found a ruby gem called feedzirra which seems to be great. But, I am still a bit confused about how I will actually display the news feeds with my Rails app ? I mean, do I need to create any model, view and controller for that ? do I need to save the news feeds in my data base for displaying them in my display page ? Or, is there any way of just fetching using feedzirra and displaying them in my display page ? I am just not sure how to move forward from this position. What is the best Rails way of solving this problem ?


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images