Opened 13 years ago

Closed 12 years ago

Last modified 15 months ago

#498 closed (fixed)

Atom support, not just RSS

Reported by: Manuzhai Owned by: Adrian Holovaty
Component: contrib.syndication Version:
Severity: normal Keywords:
Cc: alastair@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


  • There should be templates for easy Atom support.
  • RSS support should may be be renamed to syndication or something?

Attachments (1) (10.7 KB) - added by alastair@… 12 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 12 years ago by alastair@…

Cc: alastair@… added

Here's an attempt to do RSS 2.0 and Atom 1.0 in the feedgenerator style. It's a little different because I like the ElementTree syntax better than xml.sax. So this adds an extra dependency on ElementTree:

Changes from original django feedgenerator:

  • Added author_name, author_email, author_link, categories and subtitle parameters to SyndicationFeed
  • Renamed writeString to write_string.
  • Uses ElementTree rather than SimpleXMLWriter.
  • DefaultRssFeed is renamed to DefaultFeed.
  • DefaultFeed is set to Atom10Feed.

Available at the URL below and also will be attached to this bug.

Changed 12 years ago by alastair@…

Attachment: added

comment:2 Changed 12 years ago by Adrian Holovaty

Component: Core frameworkRSS framework

comment:3 Changed 12 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

(In [1194]) Completely refactored legacy RSS framework to the new django.contrib.syndication package. Also added Atom support, changed the way feeds are registered and added documentation for the whole lot. This is backwards-incompatible, but the RSS framework had not yet been documented, so this should only affect tinkerers and WorldOnline. Fixes #329, #498, #502 and #554. Thanks for various patches/ideas to alastair, ismael, hugo, eric moritz and garthk

comment:4 Changed 12 years ago by URL

Type: enhancement
Note: See TracTickets for help on using tickets.
Back to Top