JSON and RSS

85 views
Skip to first unread message

Ray Daly

unread,
Apr 12, 2012, 10:11:12 AM4/12/12
to rss-...@googlegroups.com
RSS is a nice standard way for title, description, url and category. Plus more.

All of this in an XML format. I'd like to make the same information available in a JSON format. 

Is there any best practice for doing such a conversion?

Dave Winer

unread,
Apr 12, 2012, 1:38:11 PM4/12/12
to rss-apps
Hi Ray -- I've had a feed available in JSON for a while.

http://scripting.com/stories/2011/03/17/jsonifiedRss.html

JSON is basically another way of representing the same data as XML.

Not sure why we needed another way, but we have it. :-)

Dave

Dan MacTough

unread,
Apr 12, 2012, 10:21:47 PM4/12/12
to rss-...@googlegroups.com
And there's also the JSON format output by River2, which is a little different:
http://dropbox.yabfog.com/rivers/admin/admin.json

virtualCableTV

unread,
May 4, 2012, 11:41:01 AM5/4/12
to rss-...@googlegroups.com
RSS remains useful as its use of XML established naming conventions for elements and attributes documented by a specification which apparently enabled RSS to become the de facto standard as developers could --trust-- other developers to use the same element and attribute naming convention.

JSON lacks such conformity in this context hence any best practice which could and should emerge would be:
* Conformance to RSS element and attribute naming
* Conformance to the structure of RSS expressed as an XML document, i.e. a root, a channel and items
 

On Thursday, April 12, 2012 9:11:12 AM UTC-5, Ray Daly wrote:
...
Reply all
Reply to author
Forward
0 new messages