[wp-trac] [WordPress Trac] #25639: Implement a JSON feed using rssjs.org spec

WordPress Trac noreply at wordpress.org
Thu Nov 7 04:18:44 UTC 2013


#25639: Implement a JSON feed using rssjs.org spec
------------------------------------+-----------------------
 Reporter:  nacin                   |       Owner:  pento
     Type:  feature request         |      Status:  assigned
 Priority:  normal                  |   Milestone:  3.8
Component:  Feeds                   |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |
------------------------------------+-----------------------
Changes (by pento):

 * keywords:  dev-feedback => dev-feedback has-patch


Comment:

 attachment:25639.diff​

 Here's my first pass at a core patch that adds AS1 and rss.js feeds.

 Functionally, there are two major changes from 7B.

 * The addition of comment feeds.

 * The feed endpoints are now `/feed/as1/` and `/feed/rssjs/`, there's no
 `/feed/json/`. The primary reason for this is that JSON feeds don't have a
 header for identifying the type/version of the feed, in the way that XML-
 based feeds do. With that in mind, it seems a bit confusing to have a
 generic `/feed/json/` endpoint, if the consumer can't easily identify the
 feed received.

 Feedback welcome. :-)

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25639#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list