skip to main content

TAMU Webmaster's Blog


Information and insight from the A&M Webmasters

Google Search Appliance upgrade

May 31st, 2012 by mdmcginnis

The campus Google Search Appliance (GSA) will be unavailable Saturday, June 2, 2012, between 8:00 a.m. and 12:00 p.m., while it is upgraded to the latest software version (6.14.0.G.28).

If you’re using the Google Search Appliance on your website, you should either point your search forms to public Google, or else recognize they will be out of service temporarily. During the outage, we’ll revert the search form on the main university website to use public Google search.

Here’s a simple search form that uses public Google to search all A&M websites. To search only your site, you could replace “tamu.edu” with “yoursite.tamu.edu”.

<form method="get" action="http://www.google.com/search">
<label class="offPage" for="search_text_box">Search:</label>
<input type="search" name="q" id="search_text_box" placeholder="Search"
maxlength="256" />
<input type="submit" value="Search" />
<input type="hidden" name="sitesearch" value="tamu.edu" />
</form>

Labels make forms more accessible, but to hide them from everybody but screen readers, we added one line of CSS:

offPage {position: absolute; display: block; left: -5000px;}

You can find more examples of how to create Google search forms on the Marketing and Communications website.

Thursday, May 31st, 2012 Search
Share this article

No comments yet.

Leave a comment

Categories

Archives