I just spent 5 hours by checking Google gadgets websites and FAQs, but I still have no idea how to host a gadget.
What I've figured from reading the Google documentation:
All of the above information doesn't answer my question. For instance, with jQuery or Dojo Toolkit, I can download the JavaScript framework and use it. With Google gadgets, I can not find a download link for a framework. Why? Does Google provide its framework? If not, why does the documentation indicate that gadgets can be hosted anywhere? I am totally confused.
A brief explanation or some helpful links are very welcome! Thanks a lot!!!
I've just been trying to get my head around all this myself and most of the information out there seems to be about building gadgets, not the infrastructure of hosting them.
Essentially the way it seems to work is that you need:
The fact that some sites such as iGoogle do 1, 2 and 3 is I think what initially made things slightly confusing for me.
You can create a gadget defining an xml spec (reference) and host it anywhere you want (ie. your dropbox public folder). The xml will have a Content section with the html for the gadget. There you can include script tags with any js library you want to use (ie. jquery, dojo, your own js files).
If you want to install the gadget in iGoogle, you need to go to 'Add Stuff' and instead from picking a gadget from the directory, you click on 'add rss or gadget' link and enter the url to your gadget xml file. The container (in this case iGoogle, but could be Orkut, MySpace, etc) will pull your gadget spec and render the gadget.
Here's a good place to start with gadget development
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With