[wp-trac] [WordPress Trac] #25639: Implement a JSON feed using rssjs.org spec
WordPress Trac
noreply at wordpress.org
Wed Nov 20 21:48:09 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 |
------------------------------------+-----------------------
Comment (by bpetty):
The goal mentioned (exactly as stated) is one fully inclusive goal
outlined for the REST API. @mbijon is just trying to avoid duplicated
effort. I don't think there's mixed up goals here, just very different
approaches to the same goal.
Considering there really isn't a viable, solid, and stable standard to
build this out on, we're in the same territory as the REST API, which is
also not currently restricted to implementation of a specific standard.
The REST API is already trying to be designed in a way that is conducive
to frontend JavaScript REST consuming libraries, and there are already
many generic JS libraries out there for this purpose. When you think about
it, it's actually more portable than creating a duplicate "RSS" (without
actually being RSS) JSON endpoint with one specific purpose that the REST
API is already providing in a more generic way that's widely supported.
The REST API has already accomplished the single technical goal of this
ticket (providing JSON instead of XML). Even if this results in a new
endpoint, it still makes sense for it to be provided through the REST API.
It would cover things like request rate limiting, CORS or JSONP as already
mentioned, caching, pagination and other features (even when provided by
plugins) in the future without extra duplicated efforts.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25639#comment:31>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list