W3C home > Mailing lists > Public > public-media-annotation@w3.org > March 2009

ACTION-87

From: Joakim Söderberg <joakim.soderberg@ericsson.com>
Date: Sun, 8 Mar 2009 15:21:53 +0100
Message-ID: <4055256AED9D224D9442B19BF1C4C490035C7622@esealmw118.eemea.ericsson.se>
To: <public-media-annotation@w3.org>, <werner.bailer@joanneum.at>
Hello,
I had a look at the protocol used by the Google Data API.

1) It uses either Atom syndication format for read and write, or the RSS format for read only

2) They share a basic data model; a container that holds global data. The format is defined by a base schema that can be extended using foreign namespaces.

3) Atom is the default format, but it can be changed by setting the /alt parameter; alt=[atom,rss,json]

4) As far as I can see they use, a simple structure for query responses, ex:

<?xml version='1.0' encoding='utf-8'?>
<feed xmlns='http://www.w3.org/2005/Atom'
    xmlns:gd='http://schemas.google.com/g/2005'
    gd:etag='W/"S0wCTlpIIip7ImA0X0QI"'>
  <title>Foo</title>
  <updated>2006-01-23T16:26:03-08:00</updated>
  <id>http://www.example.com/myFeed</id>
  <author>
    <name>Jo March</name>
  </author>
  <link href='/myFeed' rel='self'/>
  <entry gd:etag='"CUUEQX47eCp7ImA9WxRVEkQ."'>
    <id>http://www.example.com/id/1</id>
    <link rel='edit' href='http://example.com/myFeed/1/'/>
    <updated>2006-01-23T16:26:03-08:00</updated>
    <author>
      <name>Elizabeth Bennet</name>
      <email>liz@gmail.com</email>
    </author>
    <title type='text'>Entry 1</title>
    <content type='text'>This is my entry</content>
  </entry>
</feed>

Maybe Werner wants to add something?

Regards
Joakim
Received on Sunday, 8 March 2009 14:22:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 8 March 2009 14:22:30 GMT