Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API to obtain actual gadget URL. #1295

Open
mmarum-sugarcrm opened this issue Jun 5, 2013 · 2 comments
Open

API to obtain actual gadget URL. #1295

mmarum-sugarcrm opened this issue Jun 5, 2013 · 2 comments

Comments

@mmarum-sugarcrm
Copy link
Member

Original author: [email protected] (July 25, 2012 16:19:56)

Gadgets often call back to services on their own servers to perform functions. There is currently no API to obtain the source URL to the gadget. This URL can be used to build relative URLs to services which exist on the server hosting the gadget.

Henry Saputra suggests:

Need to add API to get the actual gadget URL to the gadgets.util
namespace I suppose.

Shindig currently provides the non-spec'd:

gadgets.util.getUrlParameters()['url'];

But gadget developers cannot count on this.
Is the Shindig solution acceptable? If so, this may retain backward compatibility for gadget writers already using the non-spec'd Shindig solution.

Original issue: http://code.google.com/p/opensocial-resources/issues/detail?id=1325

@mmarum-sugarcrm
Copy link
Member Author

@mmarum-sugarcrm
Copy link
Member Author

From [email protected] on July 25, 2012 19:39:30
OpenSocial 2.5 is locked down, but we should consider this for next possible release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant