You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SPECIFICATION BUGS ONLY - Description =====================================
A new "external-service" rel value can be defined to replace the existing ExternalService mechanism, eliminate extraneous elements from the gadget spec vocabulary and simplify the overall format.. for instance..
By combining this change with the Links API, we can completely streamline how external linked resources are accessed and make it absolutely seamless and consistent across the board.
Document affected: ================== 1.) Please attach a patch for the document if appropriate. 2.) Post a thread at http://groups.google.com/group/opensocial-and-gadgets-spec/topics linking to this issue report. 3.) Post a comment on this issue, linking back to the thread.
Original author: [email protected] (April 07, 2012 20:04:49)
SPECIFICATION BUGS ONLY - Description
=====================================
A new "external-service" rel value can be defined to replace the existing ExternalService mechanism, eliminate extraneous elements from the gadget spec vocabulary and simplify the overall format.. for instance..
instead of...
<Module>
...
<ExternalServices>
<ServiceTag alias="opensocial:my.external.service">foo</ServiceTag>
</ExternalServices>
<Content type="html">
<script>
gadgets.io.makeRequest("",function(res){...},{"alias":"foo"};
</script>
</Content>
</Module>
it would be..
<Module>
<ModulePrefs>
...
<Link rel="external-service" label="foo" href="opensocial:my.external.service" />
...
</ModulePrefs>
<Content type="html">
<script>
osapi.links["foo"].get().execute(function(res) {...});
</script>
</Content>
</Module>
By combining this change with the Links API, we can completely streamline how external linked resources are accessed and make it absolutely seamless and consistent across the board.
Document affected:
==================
1.) Please attach a patch for the document if appropriate.
2.) Post a thread at
http://groups.google.com/group/opensocial-and-gadgets-spec/topics
linking to this issue report.
3.) Post a comment on this issue, linking back to the thread.
Original issue: http://code.google.com/p/opensocial-resources/issues/detail?id=1295
The text was updated successfully, but these errors were encountered: