Tag Feeds

November 15, 2008

This blog now supports feeds for individual tags (technically any page that gets passed the entries value to it's extra_context can be represented as a feed now).

Visit any tag page, click on the RSS icon in your browser, and you'll see two choices: the main feed and the tag feed.

def render(self, template_file, extra_context={}):
    if "entries" in extra_context and \
        self.request.get('format', None) == 'atom':
        return self.render_feed(extra_context["entries"])
code, feed and tags