[wp-trac] [WordPress Trac] #5802: Make RSS Default Consistent
WordPress Trac
wp-trac at lists.automattic.com
Fri Feb 8 23:07:46 GMT 2008
#5802: Make RSS Default Consistent
----------------------+-----------------------------------------------------
Reporter: filosofo | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.5
Component: General | Version:
Severity: normal | Keywords: RSS has-patch rss2 rss092 feed
----------------------+-----------------------------------------------------
Currently get_default_feed() returns rss2 (RSS 2.0), but
get_the_category_rss() has as default "rss--i.e. RSS 0.92--as the default.
Also, if you request "rss," either by /?feed=rss or /feed/rss/, the
response is in RSS 0.92 format. To get RSS 2.0 you either have to request
rss2 specifically or feed=feed.
Since RSS 2.0 is what you get from get_default_feed(), and because it's
newer and has more features than RSS 0.92, it seems to me that default
"rss" (?feed=rss or /feed/rss/) should be RSS 2.0, not 0.92 as it is now.
The attached patch:
* Makes "rss" RSS 2.0
* Lets you specify RSS 0.92 with rss092
* Makes the default value for get_the_category_rss() be whatever
get_default_feed() returns
--
Ticket URL: <http://trac.wordpress.org/ticket/5802>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list