[wp-trac] [WordPress Trac] #17149: Allow custom Atom author elements such as email

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 16 05:19:36 UTC 2011


#17149: Allow custom Atom author elements such as email
--------------------------+-----------------------------
 Reporter:  niallkennedy  |      Owner:
     Type:  enhancement   |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Feeds         |    Version:
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------------
 The Atom Syndication Format includes
 [http://tools.ietf.org/html/rfc4287#section-3.2 person constructs] to
 describe a "person, corporation, or similar entity." WordPress builds an
 author element in its Atom template with support for a 'name' or 'uri'
 child element only. Publishers may want to include an author's email
 address but have no way to add in the extra information without editing
 the core template file.

 Publishing an email contact for each author is fairly common in mainstream
 media to engage readership through their communication method of choice. A
 feed reader connected to an email client such as Outlook might support
 responding to an entry via email. My local newspaper, the San Francisco
 Chronicle, publicly [http://www.sfgate.com/chronicle/info/e-mail/ lists
 the email addresses of its staff] with each article.

 I am trying to add child elements to the author element, meaning the
 atom_entry action won't help.

 Attached is a patch to build the author person construct as an associative
 array, pass it to a filter, and echo to screen. Plugins could include
 additional author data including email or extension elements.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17149>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list