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

WordPress Trac noreply at wordpress.org
Mon Oct 21 08:30:18 UTC 2013


#25639: Implement a JSON feed using rssjs.org spec
-----------------------------+------------------------------
 Reporter:  nacin            |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Feeds            |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

Comment (by rmccue):

 Replying to [comment:5 pento]:
 > * JSON has no standard method for extensions, so there's no equivalent
 of the namespaces we use in the RSS2 feed

 Sidenote: not really an issue, everyone just ignores namespaces in RSS
 anyway (the namespace for RSS itself is actually not defined).

 > Next experiment: [http://activitystrea.ms/specs/json/1.0/ Activity
 Streams]! I've written a sample plugin based on
 [http://wordpress.org/plugins/activitystream-extension/ this plugin], it's
 showing significantly more potential.
 >
 > [https://github.com/pento/7B There's a repo, too].

 I'd be happy with Activity Streams, since it seems like there's actual
 work behind it. We should definitely skip to the
 [http://tools.ietf.org/html/draft-snell-activitystreams-04 2.0 draft]
 rather than 1.0 though.

 (Also, be careful with your implementation of JSONP there, callbacks need
 to be [https://github.com/rmccue/WP-API/blob/master/lib/class-wp-json-
 server.php#L141 validated]. `JSON_PRETTY_PRINT` also isn't available on
 5.2.x.)

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


More information about the wp-trac mailing list