[wp-trac] [WordPress Trac] #4595: Allow users to choose type of RSS feeds

WordPress Trac wp-trac at lists.automattic.com
Sun Jul 8 16:09:43 GMT 2007


#4595: Allow users to choose type of RSS feeds
----------------------------+-----------------------------------------------
 Reporter:  terraces        |       Owner:  anonymous                       
     Type:  enhancement     |      Status:  new                             
 Priority:  normal          |   Milestone:  2.3 (trunk)                     
Component:  Administration  |     Version:  2.3                             
 Severity:  normal          |    Keywords:  has-patch, suggested-improvement
----------------------------+-----------------------------------------------
 == Summary ==

 Currently, WordPress uses RSS 2.0 as the default format for its
 syndication feeds
 In case anyone wants a different default format, he must hack Wordpress
 core (or tell users to use /feed/type rather than /feed, but he still
 needs to change any page / template that links to the feeds).
 This patch allows users to choose default RSS type in the admin interface,
 in the Options / Reading page.

 == Version ==

 This patch has been created from the current 2.3 SVN code (trunk).

 == Modified files ==

   * wp-includes/feed.php: Adds a wp_dropdown_feeds() method, that lists
 available feed types within <option> items to be used in a <select> list
   * wp-admin/options-reading.php: Displays the <select> list in the RSS
 options form to let user choose default type. Chosen type is saved as
 'rss_format' in the wp_options table
   * wp-includes/functions.php: Use get_options('rss_format') rather than
 'rss2' default for feed type

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


More information about the wp-trac mailing list