Opened 18 years ago

Closed 18 years ago

Last modified 18 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 Holovaty
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: no UI/UX: no

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

Resolution: fixed
Status: newclosed

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

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