Proposal for 1.0: Reconcile Birthday vs DOB between REST and javascript syntaxes

0 views
Skip to first unread message

goosemanjack

unread,
Oct 19, 2009, 11:49:03 PM10/19/09
to OpenSocial - OpenSocial and Gadgets Specification Discussion
There is a mismatch between the Javascript Person object and the REST
data contract.


In REST the value is "birthday"
http://www.opensocial.org/Technical-Resources/opensocial-spec-v09/REST-API.html#XML_format_XSD

In Javascript it is "DATE_OF_BIRTH"
http://www.opensocial.org/Technical-Resources/opensocial-spec-v09/OpenSocial-Specification.html#opensocial.Person.Field.DATE_OF_BIRTH

Proposal is to standardize on "birthday" as the correct field.



Lane

unread,
Oct 28, 2009, 8:31:11 PM10/28/09
to OpenSocial - OpenSocial and Gadgets Specification Discussion
+1 for "birthday"

If the JS docs, I think we should mark DATE_OF_BIRTH as deprecated and
add BIRTHDAY.

-Lane

On Oct 19, 8:49 pm, goosemanjack <cc...@myspace.com> wrote:
> There is a mismatch between the Javascript Person object and the REST
> data contract.
>
> In REST the value is "birthday"http://www.opensocial.org/Technical-Resources/opensocial-spec-v09/RES...
>
> In Javascript it is "DATE_OF_BIRTH"http://www.opensocial.org/Technical-Resources/opensocial-spec-v09/Ope...

Jorge Reyes

unread,
Nov 2, 2009, 1:54:24 PM11/2/09
to opensocial-an...@googlegroups.com
+1 birthday,



--

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.



Lane

unread,
Dec 10, 2009, 9:38:11 PM12/10/09
to OpenSocial - OpenSocial and Gadgets Specification Discussion
Now that the entire Person.Field object is deprecated [1] and the
Social-Data spec contains 'birthday' [2] is this proposal done?

-Lane

[1] http://www.opensocial.org/Technical-Resources/draft/Social-Gadget.xml#opensocial.Person.Field
[2] http://www.opensocial.org/Technical-Resources/draft/Social-Data.xml#Person


On Nov 2, 10:54 am, Jorge Reyes <jer...@gmail.com> wrote:
> +1 birthday,
>
>
>
> On Wed, Oct 28, 2009 at 5:31 PM, Lane <lliab...@google.com> wrote:
> > +1 for "birthday"
>
> > If the JS docs, I think we should mark DATE_OF_BIRTH as deprecated and
> > add BIRTHDAY.
>
> > -Lane
>
> > On Oct 19, 8:49 pm, goosemanjack <cc...@myspace.com> wrote:
> > > There is a mismatch between the Javascript Person object and the REST
> > > data contract.
>
> > > In REST the value is "birthday"
> >http://www.opensocial.org/Technical-Resources/opensocial-spec-v09/RES...
>
> > > In Javascript it is "DATE_OF_BIRTH"
> >http://www.opensocial.org/Technical-Resources/opensocial-spec-v09/Ope...
>
> > > Proposal is to standardize on "birthday" as the correct field.
>
> > --
>
> > 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-gad gets-spec%2Bunsu...@googlegroups.com>
> > .

Lane

unread,
Jan 5, 2010, 11:07:44 AM1/5/10
to OpenSocial - OpenSocial and Gadgets Specification Discussion
FYI - I've marked this proposal green at
http://wiki.opensocial.org/index.php?title=Spec_Changes#Current_Status_At_a_Glance

On Dec 10 2009, 6:38 pm, Lane <lliab...@google.com> wrote:
> Now that the entire Person.Field object is deprecated [1] and the
> Social-Data spec contains 'birthday' [2] is this proposal done?
>
> -Lane
>

> [1]http://www.opensocial.org/Technical-Resources/draft/Social-Gadget.xml...
> [2]http://www.opensocial.org/Technical-Resources/draft/Social-Data.xml#P...

Jalen

unread,
Jan 21, 2010, 5:33:53 PM1/21/10
to OpenSocial - OpenSocial and Gadgets Specification Discussion
+1

jorge

unread,
Jan 21, 2010, 5:34:24 PM1/21/10
to OpenSocial - OpenSocial and Gadgets Specification Discussion
+1
Reply all
Reply to author
Forward
0 new messages