- Corporate Communications Services

Web Services

The University runs a Google Search Appliance.  We have created a test interface capable of returning search results in different formats.

The following form provides a demonstration of the different formats available for returning results.

The form submits to the search service using a URL of the form:

http://search.bath.ac.uk/search?q=web+services&site=default_collection&output=xml&client=multifunction_frontend&proxystylesheet=multifunction_frontend&markup=atom

For the purposes of returning search results, the following parameters are of interest:

  1. q - The search term, in the example above this is "web+services"
  2. markup - The result type required, in the example above this is "atom" but can also be "rss", "xhtml" or "xhtml-mobile".
    Additionally, using "opensearch" here will generate the OpenSearch descriptor for our search service.

The other parameters need to be defined as shown above.