Introduction to Testing Google Gadgets

I'm trying to create a simple Google gadget and run into a problem right out the door. I read the start-up guide from top to bottom and feel like I'm still missing something.

Starting with the Hello World gadget they provided, how do I get started editing and testing? I am using the Google Gadget Editor with a preview tab. This works for plain html, but any javascript (like "alert") that I embed does not work.

I can publish the gadget and add it to iGoogle. When I do this, my built-in javascript works. However, cache and latency seem to be happening backstage. Now this process of editing, loading, publishing, debugging is rather painful. Did I miss something obvious here? What is the “right” way to develop and test a gadget? Is there a program that can run the gadget code on my machine without leaving the network?

+3
source share
3 answers

Ah, the joys of editing a Google gadget.

From my experience, the Google Gadget Editor is VERY buggy. So this may be the Javascript issue you are facing, try switching your browser.

, :

http://www.google.com/ig/directory?type=gadgets&url=www.google.com/ig/modules/developer.xml

+1

, , "", . , : / 10 .

, - "".

0

URL- , gmail iGoogle. , . :

www.mycompany.com/gadgets/main.xml?q=1234

Google . , .

0

Source: https://habr.com/ru/post/1781046/


All Articles