[wp-trac] [WordPress Trac] #8828: Tags and Categories are undifferentiable in Atom and RSS feeds

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 9 11:48:19 GMT 2009


#8828: Tags and Categories are undifferentiable in Atom and RSS feeds
-------------------------+--------------------------------------------------
 Reporter:  znarfor      |       Owner:  anonymous
     Type:  enhancement  |      Status:  new      
 Priority:  normal       |   Milestone:  2.8      
Component:  General      |     Version:  2.7      
 Severity:  normal       |    Keywords:           
-------------------------+--------------------------------------------------
 In RSS feeds this can be achieved using the 'domain' attributes of the
 category element. This is already done in Wordpress export through the
 wxr_post_taxonomy function, so we just have to do the same in RSS feeds.

 In Atom feeds this can be achieved using the 'scheme' attributes of the
 category element. The Atom standard is not explicit about what to put in
 this scheme attributes. There is [http://edward.oconnor.cx/2007/02
 /representing-tags-in-atom an interesting topic on Edward O’Connor blog].
 In my proposed patch, i decided to use the 1st representation and i also
 considered seriously the 2nd.

 In the patch, i'm also adding the 'label' attribute to the atom category
 element and changed the 'term' attribute to be the tag slug. Seems this
 are currently the best practices in the Atom community.

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


More information about the wp-trac mailing list