Q. How can I add the search form to my SSU pages?
A. Copy and paste the code from one of the following samples into your page.
Simple Search Form
This form uses a single text input and button, and searches all public University web pages. The "Search SSU" label is required for accessibility, but can be hidden with CSS.
<form name="gs" method="get" action="http://search.sonoma.edu/search">
<label for="search">Search SSU</label>
<input type="text" name="q" id="search" size="10" maxlength="256" value="" />
<input type="submit" name="btnG" value="Search" />
<input type="hidden" name="sort" value="date:D:L:d1" />
<input type="hidden" name="output" value="xml_no_dtd" />
<input type="hidden" name="oe" value="UTF-8" />
<input type="hidden" name="ie" value="UTF-8" />
<input type="hidden" name="client" value="default_frontend" />
<input type="hidden" name="proxystylesheet" value="default_frontend" />
<input type="hidden" name="site" value="default_collection" />
</form>
Linking to SSU's Google Search Appliance
If you'd rather just include a simple link, use the following URL:
Or paste the following code into your page:
Custom Search Results and Site-Specific Searches
If you want to limit search results to your SSU site or web server, or if you'd like your search results pages to look like the rest of your SSU site, please contact the IT Web Office to request a new Google collection and custom front-end.
Search Custom Collection AND All SSU Sites
If you have a collection, you can make a search form that lets the visitor choose which site to search. For example, the form below can be used to search Information Technology, or the entire SSU website.
Contact the IT Web Office to request a collection and sample code for the form.
Related FAQs:
- Can I put my pages in the SSU search engine? How?
- How often is the search engine's index updated?
- How do I set up a Custom Search Collection for my site?
- Can I make the Search Results page look like the rest of my site?
- How can I improve the ranking of my pages in search results?