views:

72

answers:

2

I'm looking to retrieve the latest two posts from a Blogger.com account that belongs to me.

What is the best way of doing so using Ruby on Rails 2.3.5?

Thanks!

A: 

it's better to use Ruby and Api of blogger.com

shingara
could you elaborate on that please?
yuval
+1  A: 

The absolute easiest way is to use your blog's RSS feed.

Here are some good, simple, article on how to parse RSS feeds in Rails:

http://www.robbyonrails.com/articles/2005/05/11/parsing-a-rss-feed

http://rubyrss.com/

Dan McNevin
thanks! that's what I ended up going with. There's a really awesome railscast by Ryan Bates about parsing feeds with Feedzirra:http://railscasts.com/episodes/168-feed-parsing
yuval