Making the Transition to the Google Appliance Hosted by the Calstate Office of the Chancellor
If you maintain an official campus Web site that displays a search query text box which uses the campus' Google search service, you will need to update the HTML form code that displays this query text box in order to keep using the search service. This update will need to be completed by July 15th 2008.
Information Technology Services has attempted to ease the process of transitioning from Cal Poly's search appliance to the Calstate search appliance.
This is an easy and simple change. Instructions for how to edit the HTML form code for the search query text box are below. If you find this procedure difficult, please contact Steve Rutland in Information Technology Services at 756-5542 for assistance.
Search Form Adjustments
Several minor changes need to be made to the search form code. Change individual lines of search form code as directed below. (If you're using the Cal Poly Web template, make these changes in the master.dwt file):
Make changes only to the lines specified in these directions.
- Change the "action" for the search form so it will look for the new Google search appliance:
Look for
http://googlesearch2.calpoly.edu/search
Change it to
http://google1.calstate.edu/search
- Look for and change the following name/value pairs:
<input type="hidden" name="site" value="slo-CalPoly"/>
<input type="hidden" name="client" value="slo-CalPoly"/>
<input type="hidden" name="proxystylesheet" value="slo-CalPoly"/>
- Add this next line (only if it doesn't already exist in your HTML code):
<input type="hidden" name="sitesearch" value="yourwebaddress.calpoly.edu"/>
Remove any lines similar to the following if they appear in your search HTML code:
<input type="hidden" name="lr" value="CalPoly">
<input type="hidden" name="restrict" value="xxx-anyvalue-xxx">
- Done!
You may see other lines of code that look similar to:
<input type="hidden" name="output" value="xml_no_dtd">
or
<input type="text" name="q" size="32" maxlength="256" value="">
or
<input type="submit" name="btnG" value="Search">
Do not change these.
For a complete example of what your search HTML code should be similar to, see the search form HTML code on the "Search Form" page to be sure your form is correct.
Please don't hesitate to call Steve Rutland for assistance at 805-756-5542 if this procedure is giving you trouble
