Welcome, visitor! [ Login | Sign Up ]

Increase Your Recent Posts and Comments to 10 – Blogger Hack



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.

How to Increase Your Post Limit

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:

https://YOUR-BLOG-NAME-HERE.blogspot.com/feeds/posts/default/<font color="#ff0000">?max-results=10</font>

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.

Filter Your Post List by Category (Tag, Label)

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:

https://YOUR-BLOG-NAME-HERE.blogspot.com/feeds/posts/default/<font color="#ff0000">-/cure/</font>

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.

Filter Your Post List by a Date Range

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:

https://YOUR-BLOG-NAME-HERE.blogspot.com/feeds/posts/default/?published-min=2008-01-
16T00:00:00&published-max=2008-02-28T23:59:59

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.

Order By Filter

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.

Start Index 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:

https://YOUR-BLOG-NAME-HERE.blogspot.com/feeds/posts/default/<font color="#ff0000">?start-index=2</font>

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.

Multiple Parameter Example

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:

https://YOUR-BLOG-NAME-HERE.blogspot.com/feeds/posts/default<font color="#ff0000">/-/cure/?max-results=10</font>

Another example would be to show 10 most recent posts filtered by a date range:

https://YOUR-BLOG-NAME-HERE.blogspot.com/feeds/posts/default/?published-min=2008-01-
16T00:00:00&published-max=2008-02-28T23:59:59&
max-results=10

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.

  • alt – the type of feed to return, such as atom (the default) or rss.
  • orderby – the order to return entries, such as lastmodified (the default) and starttime.
  • max-results – the maximum number of entries to return.
  • /category – specifies categories (i.e. labels) to filter the feed results. For example, https://www.blogger.com/feeds/blogID/posts/default/-/Fritz/Laurie will return entries labeled with Fritz AND Laurie.
  • updated-min, updated-max – the bounds on entry update dates.
  • published-min, published-max – the bounds on entry publication dates.
  • start-index – 1-based index of the first result to be retrieved (for paging).

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.




Trackbacks


29 Responses to “Increase Your Recent Posts and Comments to 10 – Blogger Hack”




   
Al Maawali on Mar 21, 2008, 10:09 pm  

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?


   
NIkunj on Apr 4, 2008, 10:58 pm  

the hack is not working properly
plz give other trick


   
David on Apr 6, 2008, 2:54 am  

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.


   
nedyasafira on Jun 10, 2008, 9:08 am  

thanks,for nice template.can i rewrite this blog article and showing in nedyasafira


   
william doust on Jul 3, 2008, 4:36 am  

Hi,

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.

Many thanks..
William


   
roger on Aug 10, 2008, 9:04 pm  

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!


   
eWeb on Aug 27, 2008, 9:43 am  

Cant seem to work it out. Do we just add ?max-results=10 at end of rss.xml

Wow Roger? 25? Nice


   
Shugoshin on Aug 29, 2008, 6:08 am  

Thanks, this tutorial realy help me.


   
venkat on Sep 20, 2008, 4:27 am  

Not working!any update on this please reply


   
john on Dec 7, 2008, 8:31 am  

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?


   
Genel kultur on Jan 2, 2009, 11:18 am  

it doesnt work fo my blog.i havent found a way to show more than 5 post at recent posts widget yet!


   
mampir on Feb 9, 2009, 10:29 pm  

it works on new window browser (25/25 posts)

http://happysalmasexy.blogspot.com/feeds/posts/default/?max-result=100

i dont yet try it on wordpress.com rss

thanks


   
Bed on May 3, 2009, 6:39 am  

Thank you so much. This tutorial very useful for me.


   
Lambar on May 3, 2009, 7:48 am  

This very perfecting tutorial. Thanks


   
Maknyus on May 3, 2009, 7:51 am  

Good tutorial.


   
Simpati on May 9, 2009, 10:58 am  

Nice tutorial. Thanks.


   
Sudeep Acharya on May 24, 2009, 9:28 am  

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.


   
Owais Ahmed on Jun 25, 2009, 4:19 am  

It is not working anymore David ๐Ÿ™


   
Brandon Taylor on Jul 20, 2009, 6:12 am  

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:

http://buildingpulse.blogspot.com/feeds/posts/default/-/sales%20data/west

Where “sales data” is one tag, and “west” is another. This works, but only for RSS.


   
qwertyweb on Jul 30, 2009, 9:19 pm  

it shows me invalid url ๐Ÿ™


   
Anon on Nov 1, 2009, 6:26 pm  

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.

Shame. The only other alternative that I know of is to add a FeedBurner BuzzBoost script in the HTML/Javascript gadget.


   
manoz on Dec 10, 2009, 9:44 am  

i am trying to mix this with random posts


   
sikandar on Dec 28, 2009, 9:57 pm  

nice its abest


   
saรง ekimi on Mar 13, 2010, 2:03 pm  

Hi all
very nices post.
thank admin


   
manoz on Mar 13, 2010, 5:12 pm  

try this with random number generator in Js file so that u can make random post widget. easy one.


   
oto kiralama ankara on Mar 26, 2010, 6:19 am  

very nice blog ๐Ÿ™‚ thank you admin…


   
mikroenjeksiyon on Jul 30, 2010, 7:16 am  

was an article I liked. Thanks for sharing.


   
Ifat on Apr 26, 2011, 11:06 pm  

this is cool man!
thanks alot!
now I can make my widget more attractive ๐Ÿ˜‰