Google's PortableContact endpoint

3 views
Skip to first unread message

Sean Sullivan

unread,
Nov 1, 2009, 11:48:16 PM11/1/09
to portable...@googlegroups.com
It appears that Google's PoCo endpoint doesn't comply with the
PortableContacts specification.

I sent a PoCo request to Google's endpoint:
http://www-opensocial.googleusercontent.com/api/people

Google's endpoint replied with this XML document:

<?xml version="1.0" encoding="UTF-8"?><response
xmlns="http://ns.opensocial.org/2008/opensocial">

<person xmlns="http://ns.opensocial.org/2008/opensocial">

  <displayName>Clark Kent</displayName>

  <emails>

    <type>CUSTOM</type>

    <value>clar...@xyz.com</value>

  </emails>

  <id>5555555555</id>

  <name>

    <familyName>Kent</familyName>

    <givenName>Clark</givenName>

  </name>

  <nickname>Clark Kent</nickname>

</person>

</response>

The <person> element is not part of the PoCo spec.  According to the
spec, the element name should be <entry>

@see http://portablecontacts.net/draft-spec.html

Lane LiaBraaten

unread,
Nov 2, 2009, 11:34:01 AM11/2/09
to portable...@googlegroups.com, opensocial-and-gadgets-spec
This is another issue between PoCo and OpenSocial.  It came up before but we never settled on a good way to address the problem.  Any ideas?

-Lane
Reply all
Reply to author
Forward
0 new messages