Hi,
Is anyone interested in a lightweight JSON microformat/schema for
Atom? Existing formats (such as Google Data Protocol) have a lot of
XML baggage and don't really play to the strengths of JSON (simple,
lightweight and readable).
The use case i have in mind is syndicating content to mobile HTML+JS
apps. I've created some examples of a format that i think DOES play to
the strengths of JSON
http://www.gridfrog.com/atomjs/
A few things to note:
1. In addition to Atom, the structure borrows from MRSS and OpenSearch
2. Atom allows for several content types. To keep the json structure
simple i've assumed a type of "xhtml". This makes sense for HTML+JS
apps.
3. Because this is JSON, XHTML content can be a fragment (without a
parent node).
4. Atom supports many types of link but the most important seem to be
rel="self" and rel="alternate". I think the 80/20 rule applies so i've
promoted them to first class citizens. More detail here
http://yojava.wordpress.com/2011/06/12/atom-on-json/
A microformat would increase portability of HTML+JS feeds, apps and
services.
Does anyone have an opinion on this?