Opened 19 years ago

Closed 19 years ago

Last modified 8 years 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: no UI/UX: no

Description

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

Attachments (1)

feedgenerator.py (10.7 KB ) - added by alastair@… 19 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by alastair@…, 19 years ago

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.

http://media.liquidx.net/static/patches/feedgenerator.py

by alastair@…, 19 years ago

Attachment: feedgenerator.py added

comment:2 by Adrian Holovaty, 19 years ago

Component: Core frameworkRSS framework

comment:3 by Adrian Holovaty, 19 years ago

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 by URL, 18 years ago

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