O'Reilly logo

Rapid Web Applications with TurboGears: Using Python to Create Ajax-Powered Sites by Gigi Sayfan, Kevin Dangoor, Mark Ramm

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required