开发者

Rails Blogger.com integration

开发者 https://www.devze.com 2022-12-24 08:52 出处:网络
I\'m looking to retrieve the latest two posts from a Blogger.com开发者_如何学编程 account that belongs to me.

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!


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/


Use Ruby and the API of blogger.com.

0

精彩评论

暂无评论...
验证码 换一张
取 消