The oSync Specification

Why oSync?

Sure we have RSS, RDF, and Atom which I have been working with for many years. There are two big issues with these formats… They all use XML which tends to be wordy and more importantly XML is not overly easy to parse especially in languages like Javascript, PHP, Ruby and Python. However JSON thankfully is!

While developing this format I set out with the following goals:

Note

This specification is considered ALPHA, and not ready for production use as it could change, I welcome everyone to please come and comment in the oSync Development Google Group

Sites uing oSync

None yet :( Be the first!

Mailing List

Google Groups
Subscribe to oSync Development
Email:
Visit this group

Example

{
     "updated_date": "2009-08-05T12:17Z",
     "subtitle": "Content Syndcation via JSONP",
     "uid": "osync-news-blog",
     "language": "en",
     "title": "News about OSync",
     "image": "http://www.osync.org/media/osync-600x600.jpg",
     "generator": "TextMate http://macromates.com/",
     "uri": "http://www.osync.org",
     "summary": "All the news you can use about your favorite new web syndication format OSync",
     "copywrite": "Creative Commons Attribution-Noncommercial-No Derivative Works 3.0",
     "copywrite_image": "http://creativecommons.org/images/public/somerights20.png",
     "pub_date": "2009-08-05T11:17Z",
     "image_thumbnail": "http://www.osync.org/media/osync-32x32.jpg",
     "tags": 
     [
         "web",
         "formats",
         "specifications"
     ],
     "location": "43.437933,-79.754251",
     "items": 
    [
           {
             "updated_date": "2009-08-05T11:17Z",
             "body": "We lauched OSync today! we had a big party and it was all kinds of fun. I hope you like it!",
             "uid": "http://www.osync.org/posts/osync-launched",
             "title": "OSync Launched!",
             "author": 
            {
                 "email": "ray.slakinski@gmail.com",
                 "name": "Ray Slakinski",
                 "uri": "http://www.slakinski.com"
            },
             "sources": 
            [
                "http://www.ospec.org"
            ],
             "uri": "http://www.osync.org/posts/osync-launched",
             "location": "Las Vegas, NV, USA",
             "exeprt": "We lauched OSync today!",
             "pub_date": "2009-08-05T11:17Z",
             "tags": 
            [
                 "web",
                 "formats",
                 "specifications"
            ],
             "attachments": 
            [
                {
                     "hash": "6c6d81147f00bd6adb710d22bfe69f05",
                     "uid": "6c6d81147f00bd6adb710d22bfe69f05",
                     "pub_date": "2009-08-05T11:17Z",
                     "explicit": false,
                     "uri": "http://www.osync.org/pcasts/osync-podcast-01.mp3",
                     "hash_type": "md5",
                     "filename": "osync-podcast-01.mp3",
                     "duration": 923282,
                     "type": "audio/mpeg",
                     "block": false,
                     "bytes": 228223
                }
            ]
        }
    ],
}

Specification

Main Elements

Items

Author

Attachments

Creative Commons License