So you'd like your own search form?

The Google University search service indexes most of the "official" sites at Clemson (individuals' personal web sites are not indexed) and provides a good comprehensive search engine for the campus.   "That is all fine and good", you say, but you'd really like to have a search engine just for your site.  Well, it is pretty easy to do.  To get a search box for your page that looks similar to this:

 

 

Google


Search the Internet Search MySite

 

 

Just take the html code below (between the CUT HERE lines) and paste them into the html for your page. Then go down to the section that defines the hidden variable "hq" (in red) and list the inurl:the_url_of_the_site you want to include in your search. For instance, in the example below we are limiting our search to pages that have ccit.clemson.edu/ccit/location in the url.

Further down, change the words " Search MySite" to whatever you'd like to display.

If you'd like to learn more about Google's University site search tool, see the
Google's University Search - FAQ page.

 
<!-- CUT HERE -->

<!-- Search Google -->

<center> 
<form method=GET action="http://www.google.com/u/clemsonuniversity"> 
<table bgcolor="#FFFFFF" cellspacing="0" border="0">
<tr valign="middle">
<td> 
<a href="http://www.google.com/">
<img src="http://www.google.com/logos/Logo_40wht.gif" border="0" ALT="Google"></a>
</td>
<td> 
<input type="text" name="q" size="31" maxlength="255" value=""> 
<input type="submit" name="sa" VALUE="Google Search"> 
<input type="hidden" name="hq" value="inurl:ccit.clemson.edu/ccit/location">
<input type="hidden" name="domains" value="clemson.edu">
<br><input type=radio name="sitesearch" value="">The Internet
<input type="radio" name="sitesearch" value="clemson.edu" checked>Search MySite
</td>
</tr>
</table>
</form>
</center>

<!-- Search Google -->

<!-- CUT HERE -->