Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Ruby (http://www.programmingforums.org/forum63.html)
-   -   RSS Feeds (http://www.programmingforums.org/showthread.php?t=11639)

matthewvb Oct 19th, 2006 11:10 PM

RSS Feeds
 
anyone have a tutorial or know of a gem to display RSS feeds in ruby? i want to be able to give the ruby code a url for the rss and have it display the contents in a normal view (not rss code).

Thanks!
-matthew vb

Arevos Oct 20th, 2006 2:45 AM

Uh, google "Ruby RSS"?

matthewvb Oct 20th, 2006 9:09 AM

granted i found http://www.rubyrss.com/ which explained that rubyrss gem exists, but it doesn't lay out how to work with the parsed feed. I also found http://www.bencurtis.com/archives/20...ds-with-rails/ but i'm not interested in pulling feeds from a database.

i think i found something that works; for those interested check out: http://sporkmonger.com/projects/feedtools/

Arevos Oct 20th, 2006 12:01 PM

Quote:

Originally Posted by matthewvb (Post 117018)
granted i found http://www.rubyrss.com/ which explained that rubyrss gem exists, but it doesn't lay out how to work with the parsed feed.

Presumably it uses the same properties as the corresponding RSS generator; a quick look at the source confirms I'm correct. It appears to be a just a basic wrapper over simple-rss though, so you could just download that (gem install simple-rss)


All times are GMT -5. The time now is 1:54 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC