Search Code

Below is the simple HTML to invoke google.com with a sitesearch parameter to search all of Penn State.  You may use all or part of this to provide search results for Penn State from your site, or you may elect to simply link to search.psu.edu, which will offer this invocation:

<html>
<body>
<form method="GET" action="http://www.google.com/search">
<input type="text" name="q" size="40" maxlength="2048" value="">
<input type="submit" name="btnG" value="Search">
<input type="hidden" name="sitesearch" value="psu.edu">
</form>
</body>
</html>

If you wish to submit your own code snippets, feel free to leave a comment here or submit it to search@psu.edu.

No TrackBacks

TrackBack URL: https://blogs.psu.edu/mt4/mt-tb.cgi/168741

Leave a comment

Recent Entries

Search Redirect Update
Due to requests from users, AIT updated the redirect from search-results.aset.psu.edu to google.com to include as_sitesearch and sitesearch parameters.  This…
Search Appliance EoL
We effectively decommissioned the Penn State Google Search Appliance this morning (09/08/2010) during the maintenance window.  All searches that use…
Search Appliance EoL Delayed
Due to last minute concerns with some units, the Google Search Appliance (GSA) termination has been delayed. The technical support…