Hi!

On Nov 9, 1:19 pm, Julian Bond <[EMAIL PROTECTED]> wrote:
> Julian Bond <[EMAIL PROTECTED]> Thu, 8 Nov 2007 13:22:38
>
> >I've just been doing some work on support for the People Data API as a
> >source.
> >http://www.ecademy.com/feeds/people/1
> >http://www.ecademy.com/feeds/people/1/friends
>
> One of the bits that bothers me is the right way to extend the GData
> data. Here's one example. Many systems now have a status field (What am
> I doing now?) of 140 ->255 chars. Some also have a location field (Where
> am I now?). These are typically made up of multiple fields eg from
> Twitter.

I think this was one of the points Patrick Chanezon mentioned in his
talk at the Web 2.0 Expo about OpenSocial as reason why the container
docs are not yet released. They want to support extensions in a more
formal fashion.

Actually you could imagine that you'd have some field with a namespace
like syntax pointing to the definition. Applications could then decide
to support one or many of these extensions and reuse the code to parse
and understand them.

>
> <status>
>   <created_at>Thu Nov 08 13:38:03 +0000 2007</created_at>
>   <id>398129912</id>
>   <text>My Status Update Text</text>
>   <source>web</source>
>   <truncated>false</truncated>
> <user>
> ...
> </user>
> </status>
>
> It does seem to me that there's some commonality here across all the
> systems that have this type of status. At the very minimum, and using a
> more GData style.
>
> <status>
>   <updated>2007-11-02T06:36:28+00:00</updated>
>   <id>http://www.domain.com/status/entry/398129912</id>
>   <text>My Status Update Text</text>
> </status>
>
> Now obviously this doesn't fit into gd:extendedProperty unless we do
> something like
>
> <gd:extendedProperty name="status">
>   <updated>2007-11-02T06:36:28+00:00</updated>
>   <id>http://www.domain.com/status/entry/398129912</id>
>   <text>My Status Update Text</text>
> </gd:extendedProperty>

Well, what about using a namespace here for the extension fields? Of
course "status" is only one example of possible extensions anyway
(Patrick also mentioned the fav movies field in the myspace profile
which they expose in the API but others don't).



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenSocial Container Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-container?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to