[wp-trac] [WordPress Trac] #9236: Improve categories/tags in ATOM feeds

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 26 22:04:32 GMT 2009


#9236: Improve categories/tags in ATOM feeds
-------------------------+--------------------------------------------------
 Reporter:  andy         |       Owner:            
     Type:  enhancement  |      Status:  new       
 Priority:  normal       |   Milestone:  Unassigned
Component:  Feeds        |     Version:            
 Severity:  normal       |    Keywords:            
-------------------------+--------------------------------------------------
 Currently we do not differentiate between categories and tags, and we
 combine them if a post has the same term in both taxonomies.

 {{{
 <category scheme="http://myblog.com" term="Cats" />
 <category scheme="http://myblog.com" term="Dogs" />
 }}}

 Attached patch adds support for permastruct-based category schema, uses
 term->slug for term and term->name for label.

 This way, you can construct the category/tag URL from the scheme+term.
 Here is sample output:

 {{{
 <category scheme="http://myblog.com/category/" term="cats" label="Cats" />
 <category scheme="http://myblog.com/category/" term="dogs" label="Dogs" />
 <category scheme="http://myblog.com/tag/" term="dogs" label="Dogs" />
 }}}

 Support for custom taxonomies remains a problem for plugins to solve.

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


More information about the wp-trac mailing list