All, I've added a new syndication framework to Django. It makes generating RSS and Atom feeds *very* easy.
Man, it's so easy it probably shouldn't even be legal. "svn update" your code to get access to it, and read all about it at the brand-new syndication-framework docs: http://www.djangoproject.com/documentation/syndication/ Here's a quick sample. This Python class creates an RSS feed of the latest blog entries on djangoproject.com: class LatestEntries(Feed): title = "The Django weblog" link = "/weblog/" description = "Latest news about Django, the Python Web framework." def items(self): return entries.get_list(limit=10) This example is super-simple, but the framework is quite dynamic and allows for significant complexity. The previous RSS framework, which was completely undocumented, has been removed/refactored completely. If you hacked things around, reverse-engineered, etc., and were actually using the previous RSS framework, your feeds will no longer work. I've documented the changes here: http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges Thanks to alastair, ismael, hugo, eric moritz and garthk for various patches and ideas. Enjoy! Adrian -- Adrian Holovaty holovaty.com | djangoproject.com | chicagocrime.org