#21305 closed enhancement (fixed)

Atom feed alternate type of html_type, not hardcoded text/html

Reported by: niallkennedy Owned by: nacin
Priority: normal Milestone: 3.5
Component: Feeds Version:
Severity: trivial Keywords: has-patch commit
Cc:

Description

When a document of one media type links to another it's possible to provide a media type hint through the type attribute.

In the main Atom feed PHP we point to permalinks and the site URL with a hardcoded type=text/html; the Atom comments feed template uses the more correct html_type reference for better accuracy in the media type hint if publishers have varied from the default of text/html.

Patch Atom feed template to use html_type instead of assuming text/html.

Attachments (1)

feed-atom.diff (1.7 KB) - added by niallkennedy 10 months ago.
html_type instead of text/html

Download all attachments as: .zip

Change History (3)

html_type instead of text/html

  • Keywords commit added
  • Milestone changed from Awaiting Review to 3.5
  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In [21289]:

Use html_type for alternate link elements in atom feeds, as done in atom comment feeds. props niallkennedy. fixes #21305.

Note: See TracTickets for help on using tickets.