Full RSS feed for blogger posts/comments

0.00 avg. rating (0% score) - 0 votes

The official RSS feeds given by Google (http://www.google.com/support/blogger/bin/answer.py?hl=en&answer=97933) only retrieve the latest 50 posts and 20 comments, even if the settings under Site Feed has been set to Full. This default behaviour is useful as readers are usually only interested in latest posts, but will be a problem if you somehow want the RSS feed to show your entire blog.

The solution is simple, just add a HTTP GET parameter to the official RSS URL. For example, if your RSS feed is:

http://blogname.blogspot.com/feeds/posts/default?alt=rss

The feed that returns the full blog is:

http://blogname.blogspot.com/feeds/posts/default?alt=rss&max-results=N

Same for comments, add the max-results parameter to retrieve all comments:

http://blogname.blogspot.com/feeds/comments/default?alt=rss&max-results=N

where N is the maximum number of posts/comments you want to retrieve.

0.00 avg. rating (0% score) - 0 votes
ToughDev

ToughDev

A tough developer who likes to work on just about anything, from software development to electronics, and share his knowledge with the rest of the world.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>