Mozilla/Google API Demos
These pages demonstrate the built-in SOAP tools in Mozilla in concert with the Google API. The calls are invoked and processed directly from JavaScript.
A few notes:
- Tested in Mozilla 0.9.9 only. Use that.
- Because these demos require certain security privileges, you MUST download (or copy) the HTML and JS files to your local computer and run them from there; otherwise, the scripts must be signed.
- You'll need to enter an alternate Authorization Key to use the demos.
- You must grant UniversalBrowserRead permissions (when prompted) to invoke the SOAP request. this enables the browser to make SOAP requests to the Google domain.
- Currently only 2 JavaScript functions exist:
googleSearch()
and spellingSuggestion()
. Each function allows you to pass an auth key, parameters, and a JS callback to process the result.
- The result passed to the callback is an unparsed SOAP response object. See the Google API WDSL file and example SOAP responses for clues on how to parse the response.
- Documentation and stuff is forthcoming, but smart cookies can figure it out by reading the source.
Demos
Questions? Comments? Cool.
Scott Andrew LePera 04/17/2002