Opened 13 years ago

Closed 13 years ago

#2021 closed enhancement (fixed)

Improved Atom feed

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


The Atom feed in feedgenerator creates <link href='...'/> elements with no rel attribute. The Atom spec says this is OK, and should be interepreted as rel='alternate', but Bloglines and Safari don't seem to do it. So feedgenerator should output rel='alternate' to be more explicit.

Patch: in django\utils\, at line 220, change this line:

handler.addQuickElement(u"link", u"", {u"href": item['link']})


handler.addQuickElement(u"link", u"", {u"href": item['link'], u"rel": u"alternate"})

Change History (1)

comment:1 Changed 13 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

(In [3004]) Fixed #2021 -- Improved Atom feed by outputting rel=alternate. Thanks, Ned Batchelder

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