Thursday, March 15, 2007

Feed sort order

I saw a post that explained how get Blogger's feed sorted by publish date. In summary, look at the blog's page source to find the content generated by this tag in the template:

<b:data='blog' name='all-head-content'>

The block of content should look something like this:


<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
<meta content='true' name='MSSmartTagsPreventParsing'/>
<meta content='blogger' name='generator'/>
.
.
.
<link href='http://www2.blogger.com/rsd.g?blogID=xxxxx' rel='EditURI' title='RSD' type='application/rsd+xml'/>



Comment out the all-head-content tag and replace it with the block of content from the HTML source. Then, add ?orderby=published to the href of the Atom feed, and &orderby=published to the href of the rss feed.

No comments:

Post a Comment