>> http://dewey.library.nd.edu/box/
On May 20, 2008, at 9:06 AM, Pons, Lisa (ponslm) wrote:
> Can you email me and tell me how you included the catalog and the
> results of the site search on one page?
On May 20, 2008, at 9:13 AM, Edward M. Corrado wrote:
> What are you using to return the catalog results?
On May 20, 2008, at 10:23 AM, David Voros wrote:
> What is the scripting or design behind this?
The process for creating this functionality is outlined below, but it
is important to note that the techniques is not Google-specific. It
can be applied to just about any search engine that you control.
1. Index your website.
2. Create a front-end to the index.
3. As queries are entered into the
front-end, fork them off to
additional indexes.
4. Wait for results to return.
5. Display.
6. Go to Step #3.
This is very metasearch-like. To translate this into the Google
Search Appliance:
1. Index your website.
2. Define a Onebox module by specifying
an additional URL to send queries.
3. Write a program that accepts queries,
does a search, and returns results in
a Google-specific XML format back to
the Search Appliance.
4. Refine the Onebox module to use XSLT
to transform the returned XML for
display.
5. Display results along side the results
of the website search results.
6. Done.
In our demonstration, the scripts are written in Perl and can be
(temporarily) found at the following URL, and there you will find the
code for Step #3 as well as the XSLT for Step #4 for both the catalog
and name directory searches:
http://dewey.library.nd.edu/box/code/
It is important to note two things: 1) you don't need a Google Search
Appliance to implement this technique, and 2) this technique is not
intended to be a replacement for a full-blown library catalog search.
Instead, it is intended to be a teaser -- a thing to easily put
library catalog content into the space of the user.
--
Eric Lease Morgan
Hesburgh Libraries, University of Notre Dame
Received on Tue May 20 2008 - 09:58:18 EDT