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

WordPress Trac noreply at wordpress.org
Sun Oct 20 07:58:41 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:3 pento]:
 > To be fair, rss.js is the same as RSS 2.0, which hasn't been superseded
 since its release 11 years ago, and isn't likely to change any time soon.
 It's a naming scheme that everyone is familiar with, and we know that
 it'll support everything /feed/ already does.

 The reason I don't like it is exactly because RSS 2.0 ''has'' changed
 since its release, ''without'' bumping the version. While changes can seem
 superficial, they can still affect parsing. One of the reasons SimplePie
 has so much damn code is because of changes like this.

 Apart from this, there's no actual specification here, so parsing it would
 be near impossible. For example, is the `/rss/channel/item/*/title` field
 HTML or text? Much like RSS, probably both, with no reliable indication.

 > If we do go with rss.js, I'd be inclined to call it /feed/json/, as it's
 a JSON-ified version of /feed/.

 I'm happy with `/feed/json/` being used, but it should be based on a spec
 (or at least spec-like document), not a proposal with just an example as
 the implementation.

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


More information about the wp-trac mailing list