Before you get too excited and try the tricks in this post, I just wanted to let you know beforehand that it might not work anymore. Several visitors have tried and told me it didn’t work so the result might be the same for you. Blogger continues to make changes without announcing them so hacks and tricks expire which makes it frustrating for everyone. If you’re willing to try and increase your recent posts and comments to 10, then continue reading. I apologize in advance if it doesn’t work for you.
By default, Blogger is very limited in comparison to features or plugins available to WordPress blog users. For example, there are free plugins for WordPress that allow you to show your most recent posts, most popular posts, and most recent comments.
Blogger, on the other hand, doesn’t have that functionality but people have figured out a clever way to do it anyhow. If you haven’t already read our How to Setup Your Recent Posts and Recent Comments Blogger Page Elements then you might want to start there first before reading on.
This article will take Blogger users to the next level and allow you to do things like increase the default max posts from 5 to 10 (or whatever size you want), filter by category, or filter by a date range, etc. It’s actually pretty powerful and I’m happy to share my secrets with you.
There’s a cool way to increase the number of recent posts showing up in your rss feed widget. All you need to do is add the parameter “?max-results=10” (or whatever number you want to return is) to the end of your existing feed url. So your new feed widget url should look something like this:
Pretty cool huh? Now it might not work right away in your feed widget so to make sure it’s working properly is to view it in your browser. Yup, just put it right into your browser window and you’ll see if it’s working properly because trying to troubleshoot it after it’s in your rss feed widget is really tough — especially since it doesn’t always update right away.
Say you only want to show a certain list of posts based on category in your rss feed widget. Well, now you can by using the “category” parameter. Here’s what your url would look like:
I was only able to get this to work with one category but according to the example below, you can filter by multiple categories. If any of you are able to get that to work, please let me know.
If you wanted to restrict your feed results to a certain time frame you can. I can’t think of a good reason for me to personally read this since I always want the latest posts to be listed but the filter is here to use regardless. Here’s an example which will only show posts that were published between 1/16/2008 – 2/28/2008:
You can also substitute the published-min and published-max with updated-min and updated-max if you wanted to filter by updated dates instead of published dates.
I actually don’t ever modify this since the default order by filter is lastmodified or createdate which makes the most recent post appear first on the list. If you wanted to change this for some reason you easily could by using the “orderby” filter.
This one could be handy if you wanted to skip certain posts and start listing after, say the 1st post. Maybe you have a section where you feature the latest post on your blog and you don’t want it to also show up first in your rss feed. This is the filter you would use. An example of the “start-index” filter would be:
This would essentially skip and not show your latest post and post #2 would come up first. Be careful if you do this and later wonder why your first post isn’t show up.
You can combine all these filters into one url and really fine tune your results if you wanted to. Let’s say you want to show your 10 most recent posts filtered by the “book” category (label, tag). Your feed url would look something like this:
Another example would be to show 10 most recent posts filtered by a date range:
Here’s a list of all the query parameters you can change for any Blogger rss feed. I wouldn’t worry about the “alt” one but the rest are pretty useful to know.
atom(the default) or
lastmodified(the default) and
Now that you are familiar with all your rss feed url options, you can really customize your Blogger recent posts and comments sections. Many of you have asked me how to increase your feed limit from 5 to 10 so now you can. In some cases I had to completely delete my recent comments widget and install it again for the filters to correctly work. I’m not sure why but you might run into a similar issue.
Ready to super charge your blog? Check out our professional premium blogger templates or make money by joining our blog affiliate program!
If you like this post then please consider subscribing to our eBlog Templates RSS feed. You can also subscribe by email and have new templates and articles sent directly to your inbox.
Hi. I tryed adding more than 5 feeds like the way you said but it didn’t work. I know you said that I have to wait but I’ve been waiting since two days now and still no change.
What could be causing the problem?
the hack is not working properly
plz give other trick
Sorry if it didn’t work for you guys. It was working a while ago but I have a feeling Google made some changes which affected this hack.
thanks,for nice template.can i rewrite this blog article and showing in nedyasafira
First, let me congratulate you for such a wonderful resource you are sharing with the rest of the blogosphere. I did a quick search on your site regarding customising the ‘comments’ section to find how you implemented the ‘speech bubble’, but could not find it.
Could you direct me to the corresponding page if you have one?…If you don’t could you post a tutorial indicating how blogger novices like myself could tweak the HTML/CSS in the blogger comments, section?
I want to have the liberty to customize the comments section with a comments bubble like you have, and in future alter it to add other graphics.
got the hack to work – works fine.
to a max of 25 that is. is that the default limit on blogspot? how can we increase that?
thanks for the tips!
Cant seem to work it out. Do we just add ?max-results=10 at end of rss.xml
Wow Roger? 25? Nice
Thanks, this tutorial realy help me.
Not working!any update on this please reply
Would you have a suggestion on how to edit the rss or any other widget so that you can show the most read or most popular posts?
it doesnt work fo my blog.i havent found a way to show more than 5 post at recent posts widget yet!
it works on new window browser (25/25 posts)
i dont yet try it on wordpress.com rss
Thank you so much. This tutorial very useful for me.
This very perfecting tutorial. Thanks
Nice tutorial. Thanks.
Nice post it helped me alot thanks.!!!!!!!!!
Nice Post i have used so many blog template from here,and also i used to visit every 1-2 days , keep posting new themes if you have and yes thanks for giving editing tips also.
It is not working anymore David 🙁
I was able to get RSS feeds working with multiple categories. I do not know how to create a page that filters on multiple categories, however. I do not know if this is possible.
I have articles that I tag based on region and also what type it is. (I would like to create tabs that filter articles by region, then label links that drill down further).
I accessed the RSS feed and added the arguments as shown here:
Where “sales data” is one tag, and “west” is another. This works, but only for RSS.
it shows me invalid url 🙁
This doesn’t seem to work if adding the URL to the Feed gadget by Blogger. The gadget has a hard maximum limit of 5 posts.
I tried to edit the widget template changing the relevant data:feedURL in the Feed gadget to data:http://account.blogspot.com/feed/posts/default/?max-result=10 and that didn’t work either when ?max-result=10 was in the URL. It did work without the variables in the URL.
i am trying to mix this with random posts
nice its abest
very nices post.
try this with random number generator in Js file so that u can make random post widget. easy one.
very nice blog 🙂 thank you admin…
was an article I liked. Thanks for sharing.
this is cool man!
now I can make my widget more attractive 😉