WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#15136 closed enhancement (wontfix)

Add author tag to RSS 2 feeds

Reported by: njw Owned by:
Milestone: Priority: normal
Severity: trivial Version:
Component: Feeds Keywords: has-patch needs-testing
Focuses: Cc:
PR Number:

Description

The RSS 2.0 specification includes an optional <author> tag; see http://www.rssboard.org/rss-specification#ltauthorgtSubelementOfLtitemgt

My newsreader of choice, and I suspect some others, do take the author tag into account, but ignore the dc:creator tag. I therefore think it'd be nice to add the author tag, as it'll make feed output that much nicer for newsreaders and other RSS parsers.

I attach a one-line patch doing this. Enjoy!

Attachments (1)

add-rss2-author.patch (551 bytes) - added by njw 9 years ago.
Patch adding author tag to RSS2 feeds

Download all attachments as: .zip

Change History (4)

@njw
9 years ago

Patch adding author tag to RSS2 feeds

#1 follow-up: @peaceablewhale
9 years ago

The author element must contain an email address, which WordPress developers want to avoid. According to the RSS Best Practices Profile, dc:creator should be used (http://www.rssboard.org/rss-profile#namespace-elements-dublin-creator).

#2 @westi
9 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

We are not going to add the authors email address to all rss2 feeds by default as that is just lame for most users.

If you want to do this use the rss_item action to output this yourself from a plugin.

#3 in reply to: ↑ 1 @njw
9 years ago

  • Cc wordpress@… added

Replying to peaceablewhale:

The author element must contain an email address, which WordPress developers want to avoid.

Aah, OK, I wasn't sure, as the spec example wasn't just an email address (or the "My Name" <my@…> email standard), and Jekyll's (/happyblogger's) rss output seems to just be the author name, so I thought it was more loose. But not to worry; I'll just fix my RSS client :-)

Note: See TracTickets for help on using tickets.