11 messages in com.googlegroups.opensocial-containerRe: [opensocial-container] Re: Experi...
FromSent OnAttachments
Julian Bond08 Nov 2007 05:22 
Julian Bond09 Nov 2007 04:19 
Christian Scholz09 Nov 2007 04:38 
Daniel Feygin09 Nov 2007 05:02 
Gary Helmling09 Nov 2007 06:37 
Julian Bond09 Nov 2007 06:58 
Julian Bond09 Nov 2007 07:18 
Gary Helmling09 Nov 2007 07:33 
Julian Bond09 Nov 2007 07:34 
Danny Ayers12 Nov 2007 00:59 
Julian Bond12 Nov 2007 02:29 
Subject:Re: [opensocial-container] Re: Experimenting with support for People Data API
From:Julian Bond (juli@voidstar.com)
Date:11/09/2007 07:18:32 AM
List:com.googlegroups.opensocial-container

Here's some notes about what I did.

http://www.ecademy.com/feeds/people/1

-------------------------------------

<admin:generatorAgent rdf:resource="http://www.ecademy.com"/> <admin:errorReportsTo rdf:resource="mailto:webm@ecademy.com"/>

I think generator is in the spec and I should probably use that. Both of these are useful.

<link rel="friends" type="application/atom+xml" href="http://www.ecademy.com/feeds/people/1/friends"/>

I figure the person file should point at the contacts file. I made up rel="friends".

<name>Julian Bond</name> This is craziness if that's all there is. It ought to have foaf:family_name foaf:firstName foaf:nick foaf:surname foaf:givenname vcard:N and it's sub-types or some way of formally breaking it up.

<email address="mailto:juli@ecademy.com" /> Is that the correct way to write email addresses?

<foaf:mbox_sha1sum>e42b34b637b3c06d872e5b8938aad918b3bf345a</foaf:mbox_ sha1sum> obfuscated email address

<foaf:Organization>Ecademy</foaf:Organization> What? No Organisation field in GData?

<vCard:ADR The nameing is a bit strange but it's a good convention for addresses. <gd:postalAddress> is not enough without ways of parsing it into the elements.

<gd:im address="julian.bond" label="skype" /> skype is not a valid value for label. I made it up. But why isn't it?

<gd:extendedProperty name="status" value="Puzzling out Google's OpenSocial announcements" /> As discussed elsewhere. Lots of potential containers have a status function.

http://www.ecademy.com/feeds/people/1/friends

------------- There used to be a convention in FOAF that the equivalent file would lots of data about the main person and minimal data about each friend. Just enough to follow links to their full file. Google's examples have full data in the main file and then minimal data about the main person and full data about each of their friends in the friends file. This doesn't feel quite right. And if you were walking across a bunch of these there'd be a lot of duplication in the transferred data.

I chose to only include <id> //GUID <updated> //Last updated <title> //human readable name. Should be <name> ? <link rel="thumbnail" <link rel="alternate" //link to HTML page <link rel="self" //link to Gdata file <foaf:mbox_sha1sum> //Unique identifier for each entry in the friends.