Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#788 closed defect (fixed)

Atom feeds should have a <link rel="self"> element (or, authors should have more control of optional feed elements)

Reported by: mattycakes@… Owned by: adrian
Component: contrib.syndication Version:
Severity: minor Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Atom feeds should have a self-referential link element. It should point to the (canonical) request URL, to enable the feed to be located by clients that only have access to the feed's content, and no other meta-data such as location.

http://feedvalidator.org/docs/warning/MissingSelf.html

<link rel="self" type="application/atom+xml" 
   href="http://example.org/feed.atom"/>

Is there an easier way to allow problems such as this and #787 (both of which are optional according to the spec) to be dealt with by authors rather than the framework? I'd deal with it myself, but (a) I don't want to dig into the low-level framework unnecessarily and (b) I can't see how with the high-level Feed() stuff.

Change History (2)

comment:1 Changed 10 years ago by adrian

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

Fixed in [1227].

As to your other comment -- yes, we should add extra hooks so developers can add this sort of stuff on their own.

comment:2 Changed 10 years ago by adrian

I'll also note that the bug was fixed 15 minutes *before* you filed the ticket.

Django: It solves your problems before they're even reported!

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