[wp-trac] Re: [WordPress Trac] #5328: Make default feed format pluggable

WordPress Trac wp-trac at lists.automattic.com
Sun Nov 11 02:49:30 GMT 2007


#5328: Make default feed format pluggable
-------------------------+--------------------------------------------------
 Reporter:  rubys        |        Owner:  anonymous
     Type:  enhancement  |       Status:  new      
 Priority:  normal       |    Milestone:  2.4      
Component:  General      |      Version:           
 Severity:  normal       |   Resolution:           
 Keywords:  has-patch    |  
-------------------------+--------------------------------------------------
Comment (by ryan):

 My patch marks the long name for translation.  Realistically, for
 translation to be useful, feed info for all feeds need to be in core so
 that the strings will be in the default message catalog.  Otherwise, the
 plugin will need to ship with its own translations.  i18n theme authors
 probably won't bother changing their themes to use feed info if it means
 relying on an outside catalog. The fact that this requires theme changes
 and has i18n impact makes this more involved than if we were just changing
 the default feed links to do atom instead of rss2. comments_feed_link(),
 for example, is useless for an i18n-ready theme.  Such themes would have
 to do something like:

 {{{
 <p><a href="<?php echo get_post_comments_feed_link($post->ID); ?>"><?php
 printf(__("%s feed for comments on this post."),
 get_bloginfo('feed_format_long_name'); ?></a></p>
 }}}

 Let's split this into two parts.  The first part would make it possible to
 change the default feed in the guts of WP.  The second would allow themes
 to be feed type neutral, which is the bigger change.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5328#comment:6>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list