Code

Opened 8 years ago

Closed 8 years ago

Last modified 8 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.

Attachments (0)

Change History (2)

comment:1 Changed 8 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 8 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!

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.