Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(59)

Issue 144071: Separation of Gadgets and OpenSocial (Option 2)

Can't Edit
Can't Publish+Mail
Start Review
Created:
16 years, 8 months ago by Jon Weygandt
Modified:
11 years, 6 months ago
Reviewers:
Lane LiaBraaten
CC:
opensocial-and-gadgets-spec_googlegroups.com
Base URL:
http://opensocial-resources.googlecode.com/svn/spec/
Visibility:
Public.

Patch Set 1 #

Total comments: 15
Unified diffs Side-by-side diffs Delta from patch set Stats (+141 lines, -85 lines) Patch
draft/Gadgets-API-Specification.xml View 12 chunks +42 lines, -85 lines 11 comments Download
draft/OpenSocial-Specification.xml View 1 chunk +99 lines, -0 lines 4 comments Download

Messages

Total messages: 3
Jon Weygandt
16 years, 8 months ago (2009-10-30 23:28:50 UTC) #1
Lane LiaBraaten
In general, I'm not sure all of these changes are predicated on the social vs. ...
16 years, 8 months ago (2009-11-02 23:03:07 UTC) #2
Jon Weygandt
16 years, 8 months ago (2009-11-05 00:49:52 UTC) #3
http://codereview.appspot.com/144071/diff/1/2
File draft/Gadgets-API-Specification.xml (left):

http://codereview.appspot.com/144071/diff/1/2#oldcode574
Line 574: <t>sign_owner: gadgets.io.RequestParameters.SIGN_OWNER (default
'true')</t>
See the comment in the OpenSocial specification on the Views. We can keep these
here the same way.

http://codereview.appspot.com/144071/diff/1/2#oldcode841
Line 841: <t hangText="opensocial_app_url">Required. The URL of the application
agreed

http://codereview.appspot.com/144071/diff/1/2#oldcode845
Line 845: <t hangText="opensocial_instance_id">Optional. An opaque identifier
agreed. See notes in the OpenSocial specification on views. 
I think we keep this whole section. We grandfather in the names (e.g. keep
"opensocial" prefix). owner_id is optional for gadgets, but in the OS spec
described as required.

For gadgets - we can describe the owner is the user who went through the process
of subscribing to the gadget or placing the gadget on their page. The viewer
would be the current logged in user or the reserved word "guest" for someone not
logged in.

For OS we would keep the more precise wordings.

BTW - We have gadgets where the owner is either irrelevant or implicit, and at
times the viewer is more important.

http://codereview.appspot.com/144071/diff/1/2
File draft/Gadgets-API-Specification.xml (right):

http://codereview.appspot.com/144071/diff/1/2#newcode71
Line 71: capabilities like a rich set of social APIs.</t>
OK

http://codereview.appspot.com/144071/diff/1/2#newcode864
Line 864:
https://[container-hostname]/[application-name]/certificates/xoauth_public_keyvalue
See my notes on the OpenSocial spec, in a similar section.

http://codereview.appspot.com/144071/diff/1/3
File draft/OpenSocial-Specification.xml (right):

http://codereview.appspot.com/144071/diff/1/3#newcode512
Line 512: <section title="Public Key Location">
I like the absence of <application>, just worried changing it might look like
"breaking" backwards compatibility. Of course the value is only "recommended".

It could be worded like, "The recommended name is <the one w/o application>.
Some containers may wish to support <the one with application> as well for
compatibility with versions of the specification prior to 1.0.

http://codereview.appspot.com/144071/diff/1/3#newcode517
Line 517: <section title="gadgets.views.ViewType"
I can put them back along with the words:
"The following are some values that may be supported by the application. Should
the application support them, they must be implemented as follows."
This will provide some common language between different applications.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b