ACTION-87

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 UTC