tag:blogger.com,1999:blog-24008364746465800382024-03-13T11:08:05.415-07:00Advanced Recent Posts SettingsCarameLhttp://www.blogger.com/profile/13730425679380448363noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-2400836474646580038.post-33431596994656715172009-01-05T08:40:00.001-08:002009-01-05T08:40:52.869-08:00How to Increase Your Post Limit<div style="text-align: justify;"><span id="the-content"><p>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 “<em>?max-results=10</em>” (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:</p> <p style="color: rgb(0, 153, 0);"><span style="font-size: 130%;"><span id="the-content"><code>http://YOUR-BLOG-NAME-HERE.blogspot.com/feeds/posts/default/<span style="color: rgb(255, 0, 0);">?max-results=10</span></code></span></span></p> <p>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.</p></span></div>CarameLhttp://www.blogger.com/profile/13730425679380448363noreply@blogger.com0tag:blogger.com,1999:blog-2400836474646580038.post-36366252756089589352009-01-05T08:39:00.004-08:002009-01-05T08:40:16.709-08:00Filter Your Post List by Category (Tag, Label)<div style="text-align: justify;"><span id="the-content"><p>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 “<em>category</em>” parameter. Here’s what your url would look like:</p> <p style="color: rgb(0, 153, 0);"><span style="font-size: 130%;"><span id="the-content"><code>http://YOUR-BLOG-NAME-HERE.blogspot.com/feeds/posts/default/<span style="color: rgb(255, 0, 0);">-/cure/</span></code></span></span></p> <p>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.</p></span></div>CarameLhttp://www.blogger.com/profile/13730425679380448363noreply@blogger.com0tag:blogger.com,1999:blog-2400836474646580038.post-26646878537364020782009-01-05T08:39:00.003-08:002009-01-05T08:39:39.109-08:00Filter Your Post List by a Date Range<div style="text-align: justify;"><span id="the-content"><p>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:</p></span><span id="the-content"></span></div><span style="color: rgb(0, 153, 0); font-size: 130%;"><span id="the-content"><code>http://YOUR-BLOG-NAME-HERE.blogspot.com/feeds/post/default </code></span></span><span style="font-size: 130%;"><span id="the-content"><code>/<span style="color: rgb(255, 0, 0);">?published-min=2008-01-</span></code></span></span><span style="font-size: 130%;"><span id="the-content"><code><span style="color: rgb(255, 0, 0);">16T00:00:00&published-max=2008-02-28T23:59:59</span></code></span></span><br /><div style="text-align: justify;"><span style="color: rgb(255, 0, 0);"></span><span id="the-content"><p><code><!--formatted--></code></p> <p>You can also substitute the <em>published-min</em> and <em>published-max</em> with <em>updated-min</em> and <em>updated-max</em> if you wanted to filter by updated dates instead of published dates.</p> <h4>Order By Filter</h4> <p>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 “<em>orderby</em>” filter.</p></span></div>CarameLhttp://www.blogger.com/profile/13730425679380448363noreply@blogger.com0tag:blogger.com,1999:blog-2400836474646580038.post-64655488677887829852009-01-05T08:38:00.001-08:002009-01-05T08:38:41.056-08:00Start Index Filter<span id="the-content"><p>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 “<em>start-index</em>” filter would be:</p> <p style="color: rgb(0, 153, 0);"><span style="font-size: 130%;"><span id="the-content"><code>http://YOUR-BLOG-NAME-HERE.blogspot.com/feeds/posts/default/<span style="color: rgb(255, 0, 0);">?start-index=2</span></code></span></span></p> <p>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.</p></span>CarameLhttp://www.blogger.com/profile/13730425679380448363noreply@blogger.com0tag:blogger.com,1999:blog-2400836474646580038.post-46105097928674866602009-01-05T08:37:00.000-08:002009-01-05T08:38:08.131-08:00Multiple Parameter Example<div style="text-align: justify;"><span id="the-content"><p>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:</p> <p style="color: rgb(0, 153, 0);"><span style="font-size: 130%;"><span id="the-content"><code>http://YOUR-BLOG-NAME-HERE.blogspot.com/feeds/posts/default<span style="color: rgb(255, 0, 0);">/-/cure/?max-results=10</span></code></span></span></p> <p>Another example would be to show 10 most recent posts filtered by a date range:</p></span><span style="font-size: 130%;"><span id="the-content"><code><span style="color: rgb(0, 153, 0);">http://YOUR-BLOG-NAME-HERE.blogspot.com/feeds/posts/default/</span><span style="color: rgb(255, 0, 0);">?published-min=2008-01-</span></code></span></span><br /><span style="font-size: 130%;"><span id="the-content"><code><span style="color: rgb(255, 0, 0);">16T00:00:00&published-max=2008-02-28T23:59:59&</span><span style="color: rgb(255, 0, 0);">max-results=10</span></code></span></span><span id="the-content"><p>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.</p> <ul><li><strong>alt</strong> - the type of feed to return, such as <code>atom</code> (the default) or <code>rss</code>.</li><li><strong>orderby</strong> - the order to return entries, such as <code>lastmodified</code> (the default) and <code>starttime</code>.</li><li><strong>max-results</strong> - the maximum number of entries to return.</li><li><strong><em>/category</em></strong> - specifies categories (i.e. labels) to filter the feed results. For example, http://www.blogger.com/feeds/<em>blogID</em>/posts/default/-/Fritz/Laurie will return entries labeled with Fritz AND Laurie.</li><li><strong>updated-min, updated-max</strong> - the bounds on entry update dates.</li><li><strong>published-min, published-max</strong> - the bounds on entry publication dates.</li><li><strong>start-index</strong> - 1-based index of the first result to be retrieved (for paging).</li></ul> <p>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.</p></span></div>CarameLhttp://www.blogger.com/profile/13730425679380448363noreply@blogger.com0