Loop and parse each rss feed url

I am attempting to parse mutiple rss feed url’s which are pulled from a
database, to parse the feeds im using simple rss.

so eg an active record query such as rssfeed = Rssfeed.find(:all)

This probalay needs to be more refined such as just grabbing the
feed_url rather than all the attributes but anyway this grabs on the rss
feed urls.

for each of the urls i have stored in rssfeed variable i want them to
loop through each one parsing it and storing it so i can display them in
a view.

this is the process for parsing the feed

SimpleRSS.parse open(rssfeed.feed_url)

Now ive attemtped placing it inside for loops and for each do etc had no

Has anyone got any suggestions on how this can be looped through and



This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs