bcc spec list
+ shindig-dev

does this code not work?
http://svn.apache.org/repos/asf/incubator/shindig/trunk/features/opensocial-current/fieldtranslations.js


  if (serverJson.organizations) {
    serverJson.jobs = [];
    serverJson.schools = [];

    for (var o = 0; o < serverJson.organizations.length; o++) {
      var org = serverJson.organizations[o];
      if (org.type == 'job') {
        serverJson.jobs.push(org);
      } else if (org.type == 'school') {
        serverJson.schools.push(org);
      }
    }
  }



On Fri, Sep 19, 2008 at 1:19 PM, Aleksey Perfilov <[EMAIL PROTECTED]> wrote:

>
> Thanks, Cassie.
> I know. Like I mentioned, it does map timeZone and dateOfBirth in
> fieldtranslations.js, but it doesn't map jobs and schools.
> We can easily fix it on our end; just thought I'd bring it up.
>
> Aleksey
>
>
> On 9/19/08 1:09 PM, "Cassie" <[EMAIL PROTECTED]> wrote:
>
> Shindig java matches the OpenSocial Restful and Rpc protocols (ie accounts,
> displayName, organizations stuff)
> Shindig javascript consumes the java output and has a mapping file
> (fieldtranslations.js) which supports the opensocial js 0.8 fields.
>
> So - all of the opensocial js specs are correct. They currently do not
> match but this is a known issue for 0.9
> Shindig handles this by having the js map fields other containers may
> handle this differently.
>
> - Cassie
>
>
> On Fri, Sep 19, 2008 at 12:58 PM, Aleksey Perfilov <[EMAIL PROTECTED]>
> wrote:
>
>
> Hi everybody,
>
> I see some inconsistencies between the shindig Code and online 0.8 specs.
> (similarly they are the same differences between javascript portion of
> shindig and java part)
>
> Below is the list of person fields that one has and the other doesn't
>
> shindig:
> accounts
> displayName
> lastUpdated
> organizations
>
> 0.8 online spec (shindig javascript):
> jobs
> schools
>
> Please note these aren't the same as differences timeZone vs utcOffset or
> dateOfBirth vs birthday, which have been handled in the shindig.
>
> I was wondering which fields are supposed to be in and which are supposed
> to be out.
>
> Thanks,
>
> Aleksey
>
>
>
>
>
>
>
> --~--~---------~--~----~------------~-------~--~----~
> 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
> [EMAIL PROTECTED]
> To unsubscribe from this group, send email to
> [EMAIL PROTECTED]<[EMAIL PROTECTED]>
> For more options, visit this group at
> http://groups.google.com/group/opensocial-and-gadgets-spec?hl=en
> -~----------~----~----~----~------~----~------~--~---
>
>

Reply via email to