Chapter 8.4. Easy RSS with FeedController
More and more applications are including RSS and Atom feeds so that updates can be monitored in people’s RSS aggregator of choice. Because this need is expressed so often, TurboGears includes a FeedController class that makes it easy to create RSS feeds for your application. And WhatWhat Status takes advantage of the FeedController, which automatically produces valid RSS and Atom feeds when you pass in a properly structured dictionary, with a title, subtitle, author, link, ID (all of which are strings), and an entries list that contains elements for each entry in the feed.
Each item in the entry’s list is required to have several fields (updated, title, summary, link, and so on), which are used to ...
Get Rapid Web Applications with TurboGears: Using Python to Create Ajax-Powered Sites now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.