Pages

Friday, March 08, 2013

Developer Tools - Gadgets API — Google Developers

Google Gadgets Editor contains a template for creating a gadget. The reason I'm interested in gadgets is that this currently seem to be the only way to add JavaScript code to Google Sites. Of course, the code is limited to the content of the gadget, as these are inserted via iframe. That is, however, enough for small, isolated pieces of functionality on hosted pages, like swapping images, etc.

The tool (with the template) is here:
Developer Tools - Gadgets API — Google Developers

Google as also adding App scripts support to Google Sites but I have not looked into it in much detail. 

No comments: