Opened 10 years ago

Closed 10 years ago

#2021 closed enhancement (fixed)

Improved Atom feed

Reported by: ned@… Owned by: adrian
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: UI/UX:


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 10 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

(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