Opened 17 years ago

Closed 17 years ago

#5411 closed (duplicate)

Atom feeds have fixed title and summary content types

Reported by: bos Owned by: nobody
Component: contrib.syndication Version: dev
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The Atom feed support in SVN implicitly forces title and subtitle elements to be interpreted as plain text; see section 3.1.1 of RFC 4287. This makes it impossible to use HTML entities such as ” in titles. The same problem occurs with the summary element, which is hard-coded to HTML.

I'm attaching a patch which makes these properties configurable, as attributes of Atom1Feed. The default title type remains text, for backwards compatibility.

Attachments (1)

atom-config.diff (2.7 KB ) - added by bos 17 years ago.
Make Atom title, subtitle and summary types configurable

Download all attachments as: .zip

Change History (2)

by bos, 17 years ago

Attachment: atom-config.diff added

Make Atom title, subtitle and summary types configurable

comment:1 by James Bennett, 17 years ago

Resolution: duplicate
Status: newclosed

I have a feeling that James Tauber's work in #3569 is the place to look to solve this, as he's working on adding a lot more flexibility to our Atom support.

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