Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

JavaScript/DHTML direct access to Google API

0 views
Skip to first unread message

Leslie Carr

unread,
Apr 22, 2002, 11:20:09 AM4/22/02
to
I have created an example DHTML page that accesses the Google API
directly through JavaScript (for IE only, I'm afraid). The effect is
to display a table of Web page thumbnails as the results of the query,
instead of listing the URLs/titles/snippets as the Google user
interface does. (The returned search URLs are used to set the "src"
attributes of a table of 'zoom'ed IFRAMEs.)

You can see an example screendump of this "Google PageView" at
http://www.ecs.soton.ac.uk/~lac/xml/Slides/wsjs/search.gif

You can get the "Google PageView" code itself at
http://www.ecs.soton.ac.uk/~lac/xml/Slides/wsjs/search.zip (note that
it needs to be run from a local hard disk, rather than a web server).

You can see an explanation of of how Microsoft's Internet Explorer Web
Services support works at
http://www.ecs.soton.ac.uk/~lac/xml/Slides/wsjs/frames.html (just keep
pressing the "next" button for each stage of the explanation). NB this
explanation uses the BabelFish service as its example, but the changes
for the Google service are simple.
---
Les Carr
University of Southampton
Senior Lecturer, University of Southampton

0 new messages