Re: Google's PortableContact endpoint

2 views
Skip to first unread message

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

On Sun, Nov 1, 2009 at 8:48 PM, Sean Sullivan <se...@seansullivan.com> wrote:

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

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "PortableContacts" group.
To post to this group, send email to portable...@googlegroups.com
To unsubscribe from this group, send email to portablecontac...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/portablecontacts?hl=en
-~----------~----~----~----~------~----~------~--~---


Jacky

unread,
Nov 3, 2009, 3:32:13 AM11/3/09
to OpenSocial - OpenSocial and Gadgets Specification Discussion, Jacky Wang
The differences between PoCo and OpenSocial has been gathered here:
http://spreadsheets.google.com/ccc?key=rUzMVUM2azeJAW3EouN1dCQ

And it also appears in the proposal for next version of the spec:
http://wiki.opensocial.org/index.php?title=REST/RPC_Updates_for_v1.0
as the "PoCo Alignment" section.

Anyone want to be owner of this issue? I can take it if no one else
volunteers.

- Jacky

On Nov 3, 12:34 am, Lane LiaBraaten <api.lliab...@gmail.com> wrote:
> 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
>
> On Sun, Nov 1, 2009 at 8:48 PM, Sean Sullivan <s...@seansullivan.com> wrote:
>
> > 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>clarkk...@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>
>
> > @seehttp://portablecontacts.net/draft-spec.html
>
> > --~--~---------~--~----~------------~-------~--~----~
> > You received this message because you are subscribed to the Google Groups
> > "PortableContacts" group.
> > To post to this group, send email to portable...@googlegroups.com
> > To unsubscribe from this group, send email to
> > portablecontac...@googlegroups.com<portablecontacts%2Bunsu...@googlegroups.com>

Lane LiaBraaten

unread,
Nov 3, 2009, 4:42:14 PM11/3/09
to opensocial-an...@googlegroups.com, Jacky Wang
FYI - tracking the PoCo issues for OpenSocial v1.0 here:
http://wiki.opensocial.org/index.php?title=PoCo_Alignment_for_v1.0

--

You received this message because you are subscribed to the Google Groups "OpenSocial and Gadgets Specification Discussion" group.
To post to this group, send email to opensocial-an...@googlegroups.com.
To unsubscribe from this group, send email to opensocial-and-gadg...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/opensocial-and-gadgets-spec?hl=en.



Jacky Wang (王超)

unread,
Nov 4, 2009, 9:29:06 AM11/4/09
to OpenSocial - OpenSocial and Gadgets Specification Discussion
Thanks for the info!

I can't modify that page. :(

Could you help updating the following part into it?
{
The differences between PoCo and OpenSocial has been gathered here:
http://spreadsheets.google.com/ccc?key=rUzMVUM2azeJAW3EouN1dCQ
}

Thanks! :)
- Jacky

On Nov 4, 5:42 am, Lane LiaBraaten <lliab...@google.com> wrote:
> FYI - tracking the PoCo issues for OpenSocial v1.0 here:http://wiki.opensocial.org/index.php?title=PoCo_Alignment_for_v1.0
>
> > <portablecontacts%2Bunsu...@googlegroups.com<portablecontacts%252Buns...@googlegroups.com>
>
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/portablecontacts?hl=en
> > > > -~----------~----~----~----~------~----~------~--~---
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "OpenSocial and Gadgets Specification Discussion" group.
> > To post to this group, send email to
> > opensocial-an...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > opensocial-and-gadg...@googlegroups.com<opensocial-and-gadgets-spec%2Bunsu...@googlegroups.com>
> > .

Lane LiaBraaten

unread,
Nov 4, 2009, 11:33:00 AM11/4/09
to opensocial-an...@googlegroups.com
Hi Jacky,

Anyone can edit the wiki...you just need to sign up for an account.

-Lane

To unsubscribe from this group, send email to opensocial-and-gadg...@googlegroups.com.

Jacky Wang (王超)

unread,
Nov 4, 2009, 11:32:29 PM11/4/09
to OpenSocial - OpenSocial and Gadgets Specification Discussion
Sorry, my fault. Got used to edit the content through "edit" link on
each section, rather than the tab. :)

Done, I've appended that part into the wiki.

I don't know if anyone want to be owner of this issue. I'll be more
than happy to take it
if no one else volunteers.

Thanks,
- Jacky

On Nov 5, 12:33 am, Lane LiaBraaten <lliab...@google.com> wrote:
> Hi Jacky,
>
> Anyone can edit the wiki...you just need to sign up for an account.
>
> -Lane
>
> > > > <portablecontacts%2Bunsu...@googlegroups.com<portablecontacts%252Buns...@googlegroups.com>
> > <portablecontacts%252Buns...@googlegroups.com<portablecontacts%25252Bun...@googlegroups.com>
>
> > > > > > For more options, visit this group at
> > > > > >http://groups.google.com/group/portablecontacts?hl=en
> > > > > > -~----------~----~----~----~------~----~------~--~---
>
> > > > --
>
> > > > You received this message because you are subscribed to the Google
> > Groups
> > > > "OpenSocial and Gadgets Specification Discussion" group.
> > > > To post to this group, send email to
> > > > opensocial-an...@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > > opensocial-and-gadg...@googlegroups.com<opensocial-and-gadgets-spec%2Bunsu...@googlegroups.com>
> > <opensocial-and-gadgets-spec%2Bunsu...@googlegroups.com<opensocial-and-gadgets-spec%252Buns...@googlegroups.com>

Lane LiaBraaten

unread,
Nov 6, 2009, 3:22:28 PM11/6/09
to opensocial-an...@googlegroups.com

Thanks Jackie.  I've marked you as the owner.

-Lane

On Nov 4, 2009 8:32 PM, "Jacky Wang (王超)" <chao...@google.com> wrote:

Sorry, my fault.  Got used to edit the content through "edit" link on
each section, rather than the tab. :)

Done, I've appended that part into the wiki.

I don't know if anyone want to be owner of this issue.  I'll be more
than happy to take it

if no one else volunteers.

Thanks,
- Jacky

On Nov 5, 12:33 am, Lane LiaBraaten <lliab...@google.com> wrote: > Hi Jacky, > > Anyone can edit th...

> On Wed, Nov 4, 2009 at 6:29 AM, Jacky Wang (王超) <chaow...@google.com> wrote: > > > Thanks for the ...

> > <portablecontacts%252Buns...@googlegroups.com<portablecontacts%25252Bun...@googlegroups.com>

> > > > > > > For more options, visit this group at > > > > > >http://groups.google.com/group/portab...

> > > >http://groups.google.com/group/opensocial-and-gadgets-spec?hl=en. > > > -- > > > You received...

Reply all
Reply to author
Forward
0 new messages