3. Adding the Standard Oxford Google Search to your site

Pointing your site search to the new Google Appliance is a straightforward procedure. To apply an Oxford-wide search to your pages you need to add the following code (this is in XHTML):

<div class="searchbox"> 
  <form id="searchform" method="get"
	action="http://googlesearch.oucs.ox.ac.uk/search"> 
    <fieldset>
      <legend>Your text or image here</legend> 
      <input type="hidden" name="as_sitesearch" value="ox.ac.uk"/>
      <input name="UnitPicture"   type="hidden" 
	     value="http://www.oucs.ox.ac.uk/googlesearch/radcliffe.jpg"/>
      <input name="client" value="oxford" type="hidden"/> 
      <input name="proxystylesheet" value="oxford" type="hidden"/> 
      <input name="output" value="xml_no_dtd" type="hidden"/> 
      <input name="q" id="input-search" size="25" onfocus="clearsearch();" 
	     maxlength="2048" value=""  type="text"/>
      <input name="Go" value="Go!" type="submit"/>
    </fieldset>
  </form>
</div>
Oxford-wide search results

Up: Contents Previous: 2. Excluded web servers Next: 4. Adding a customised Google Search to your site