Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Generate tokens for the iframes. (Code examples for this are needed).
  • Install rpc_relay.html on your site to allow communication between gadget and container javascript. For example if you have
    shindig running on gadgets.example.com and your container is on www.example.com then you may copy it to http://www.example.com/gadgets/files/container/rpc_relay.htmlImage Added. Then you need to set the path to the new location in your container config file (either config/container.js or your local copy), in this example to the value "/gadgets/files/container/rpc_relay.html". The host name is automatically set in gadgets.js so you probably won't have to explicitly set it (though it doesn't detect https so if your container is on a secure page you'll need to use gadgets.container.setParentUrl() to tell it).