i've been going of the rest spec document for the format of the structure
while implementing this in php-shindig:

<appdata xmlns="http://ns.opensocial.org/2008/opensocial";>
  <entry>
    <key>pokes</key>
    <value>3</value>
  </entry>
  <entry>
    <key>last_poke</key>
    <value>2008-02-13T18:30:02Z</value>
  </entry>
</appdata>



On Mon, Nov 3, 2008 at 11:38 AM, Ian Boston <[EMAIL PROTECTED]> wrote:

> I am reading the spec at http://www.opensocial.org/Technical-
> Resources/opensocial-spec-v081/restful-protocol
> section 2.5
> "
> application/json representation:
> (maps directly to the xml format)
> {
>  "entry" : {
>    "example.org:34KJDCSKJN2HHF0DW20394" : {"pokes" : 3, "last_poke" :
> "2008-02-13T18:30:02Z" },
>    "example.org:58UIDCSIOP233FDKK3HD44" : {"pokes" : 2, "last_poke" :
> "2007-12-16T18:30:02Z" }
>  }
> }
>
> "
>
> What is the xml ? Its not clear to me and I think the XSD is wrong, so no
> help.
> is it ?
>
> <entry>
>   <key>example.org:34KJDCSKJN2HHF0DW20394</key>
>   <value>
>        <entry>
>              <key>pokes</key>
>             <value>3</value>
>        </entry>
>       <entry>
>             <key>last_poke</key>
>            <value>2008-02-13T18:30:02Z</value>
>       </entry>
>  </value>
> </entry>
> <entry>
>   <key>example.org:58UIDCSIOP233FDKK3HD44</key>
>   <value>
>        <entry>
>              <key>pokes</key>
>             <value>2</value>
>        </entry>
>       <entry>
>             <key>last_poke</key>
>             <value>2007-12-16T18:30:02Z</value>
>       </entry>
>  </value>
> </entry>
>

Reply via email to