I'm super new to Rails. I've got a spot on my home page where I want to display 2-3 of the most recent posts from my Wordpress account. I found one link to a solution, but the link is dead.
Any help would be greatly appreciated!
one solution is to fetch the rss-feed of your blog, parse it and then display it on your site. please have a look at http://rubyrss.com/. there you can find some sample code which does exatly that.
Just one line solution found on http://markmcb.com/2008/07/12/ruby-on-rails-rss-reader/
rss = RSS::Parser.parse(open('http://blog.athlo.com/feed/').read, false).items[0..MaxRSSItems-1]
sorry for formatting