Building custom gadgets : Creating Google gadgets : Using an external location
 
Using an external location
Google gadgets are stored in the following locations:
*Google server
*Web server
The location of the XML file must be given as a URI path, for example:
http://www.google.com/ig/modules/ajaxsearch.xml
Because the gadget file renders using the Information Console, the location must be accessible from the server running Information Console. For example, an import gadget using the URI http://localhost/mygadget.xml loads the gadget from a web server on Information Console.
Google also offers a gadget hosting service for developers. If you have direct access to the server that Information Console is using, you can store Google gadgets on the server. For example, add a directory named myGadgets to the default Windows location of Information Console:
C:\Program Files\Actuate11\iHub2\servletcontainer\iportal\
Add an import gadget using that directory, as shown in the following URL:
http://localhost:8700/iportal/myGadgets/sampleGoogle.xml
Figure 8‑3 shows the gadget named sampleGoogle.xml loaded from directory on the Information Console server.
Figure 8‑3 Adding a local Google gadget to the dashboard