Home

Adding Google Search to a Public Libraries Site

The form below searches the R&D Web Site using Google.
Results are displayed without third party ads, with the Libraries header and footer.

To see how it was created, simply look at the source code:

<form method="get" action="http://www.google.com/u/csulibraries">
<input type="hidden" name="hq" value="inurl:lib.colostate.edu/lts/">
<input type="text" name="q" size="30" maxlength="255" value="" title="Search LTS Web Site using Google">
<input type="submit" name="sa" value="Search" title="Search LTS Web Site using Google">
</form>


To search within one or more collections or subsites, simply add the following line:

<input type="hidden" name="hq" value="inurl:Your Collection URL goes here" />


e.g.

<form method="get" action="http://www.google.com/u/csulibraries">
<input type="hidden" name="hq" value="inurl:lib.colostate.edu/lts/">
<input type="text" name="q" size="30" maxlength="255" value="" title="Search LTS Web Site using Google">
<input type="submit" name="sa" value="Search" title="Search LTS Web Site using Google">
<input type="hidden" name="searchsite" value="http://lib.colostate.edu/*" />
<input type="hidden" name="hq" value="mycollection+OR+othercollection" />

</form>

Library Search Boxes

Add search boxes to Discovery, Sage, Prospector and WorldCat.