This page is intended to collect the different parameters you might pass to the gadget iframe. While you can use the features in gadgets.js to generate the appropriate urls from javascript, generating the html code on the server side will result in much smoother user experience.

Generating the gadget code is simple, but you should be clear with the different parameters you could pass to shindig.

http://<SHINDIG>/gadgets/ifr

  • ?synd=<YOURCONTAINERNAME>
  • &container=<YOURCONTAINERNAME>
  • &viewer=<VIEWER ID>
  • &owner=<OWNER ID>
  • &aid=<APPLICATION ID, CAN BE NUMERIC OR GADGET URL>
  • &mid=<MODULE ID (AKA '4TH GADGET ON THIS PAGE')
  • &country=<COUNTRY CODE: eg "US">
  • &lang=<LANG CODE: eg "EN">
  • &view=<INSERT VIEW NAME HERE: profile, home, canvas, preview>
    • #view-params=A URI-encoded json object representing the view's params
  • &parent=<CONTAINER URL>
  • &up_<FOO>=<BAR>
  • &st=<LONG ENCRYPTED TOKEN>
  • &v=<CACHE BUSTING MD5 OF THE GADGET XML>
  • &url=<URL OF GADGET'S XML FILE>
  • #rpctoken=<RANDOM UNIQUE NUMBER>

Optional parameters:

  • &nocache, &bpc: bypass shindig gadget cache, and fetch the gadget from source
  • No labels