One thing I’ve been waiting 6 years for is for blogger to allow rss/atom feeds for particular categories (tags) for their blogs. So for example you could subscribe to just the drupal-related posts or java-related posts or so forth.
Well apparently it is possible in blogger now and it has been for 2 years. It just isn’t documented or supported with an interface. You have to go to your blog settings, edit the layout, then click ‘edit HTML’ then check the ‘Expand Widget Templates’ checkbox.
Now search for “data:labels” to find the relevant code (this assumes you have the categories widget enabled on your blog layout). It is in 2 sections, one if you have your categories displayed as a list and one if displayed as a cloud.
Now somewhere after this loop part in each section:
<b:loop values='data:labels' var='label'>
Add this line for Atom category feeds: (double-click to select whole line)
<link expr:href='data:blog.homepageUrl + "feeds/posts/default/-/" + data:label.name' expr:title='data:label.name + " Atom Feed"' rel='alternate' type='application/atom+xml'/>
and/or this line for RSS category feeds:
<link expr:href='data:blog.homepageUrl + "feeds/posts/default/-/" + data:label.name + "?alt=rss"' expr:title='data:label.name + " RSS Feed"' rel='alternate' type='application/rss+xml'/>
Now if you click the RSS icon in Firefox, it shows the main feed followed by feeds for any category.
Here are some category feeds for my blog:
- scala (hope to post more there in coming months)