How can I get the latest N posts from blogger RSS feed?

3

How can I get the latest N posts from blogger RSS feed, using the URL in a browser, or some javascript? Which parameter do I have to use?

Guillermo Gutiérrez

Posted 2013-04-11T13:50:23.663

Reputation: 179

Using what... ? An RSS reader (which one?), from a programming language, from a browser..... – Jan Doggen – 2013-04-11T13:53:08.077

From a browser, using the url. Or from javascript. – Guillermo Gutiérrez – 2013-04-11T13:54:59.920

1

Maybe this is a workaround: you can use FeedBurner to create a HTML/Javascript widget which you then insert at Blogger, and then you'd call that.

http://www.helperblogger.com/2012/03/feedburner-recent-posts-widget-for.html

– Jan Doggen – 2013-04-11T14:01:33.180

Answers

3

According to the Developers Guide: Protocol for Google's Blogger API, the query parameter to be used is max-results, like this:

http://www.blogger.com/feeds/blogID/posts/default?max-results=N

Where blogID is the blog ID number, and N is the number of posts to retrieve. The posts are ordered by last modified by default.

Guillermo Gutiérrez

Posted 2013-04-11T13:50:23.663

Reputation: 179