You are here

Site Search for Temple University Websites

Quickly add Temple site search to your website.


Site Search is a free tool available for all Temple University Websites. Temple Site Search is used on all official Temple University websites.

To use the Temple Site Search directly, please visit To add a custom search form to your site, please read on.

Search Form Embed Code

Please note that the following changes should only be performed by an experienced HTML developer.

Insert the following new code within the HTML of your template or web page where you want the search box to appear:

<!-- START Google Site Search box -->

<form action=''>
<label for="TempleSearch" 
	style="border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;
<input type='text' placeholder='Search' id="TempleSearch" name='searchString'
	title="Search Temple University" size="25" /> 
<input type='submit' value='Search'/>

<input type='hidden' name='searchFolder' value='' />


<!-- END Google Site Search box -->

Limit Search to your Website

To limit search results to your website, edit the line reading:

<input type='hidden' name='searchFolder' value='' />

And add a URL inside the quotes at value=''such as:

<input type='hidden' name='searchFolder' value='' />

The results for your search will now only come from the specified websites within Temple University. See below for information on all of the supported values of this field.

Advanced Search F​orm Options

The form can send one or more additional input parameters as follows:

Name Allowed values Description
searchFolder Any URL segment If a value is included, the results will only come from certain sites or folders within any Temple sites indexed by the site search. For example if this parameter is, only results from be displayed. This parameter only affects the filtering of Google results. You can include multiple URLs separated by a comma e.g.,,
searchEngines google, kb This value selects whether you want to perform a search using our site search (google) or with our Knowledge Base (kb). (If this option is not set the default is google.)
searchCount 1-20 This option sets the number of results to display per-page for your search. (If this option is not set the default is 10.)
asXML yes If this parameter is included, the results will be returned as an XML document.



How to get pages into the search index?

Google Site Search uses the Google index. All you need to do to get your web pages into the Temple/Google index is:

  1. Put the pages up on a web server 
  2. Make sure your pages don't contain meta tags that prevent the robot from indexing your page 
  3. Submit your page for indexing by Google's crawler and/or have your page linked to by other pages in Google's index like the Temple Site
  4. The Google crawler will pick up all updates automatically when it visits your web site. Content crawl frequency is dependent on how important Google's algorithm believes it to be. For instance, pages that Google believes to be important and quickly changing are crawled frequently, while others are crawled less frequently (up to two weeks before being revisited).

If you would like your pages to be listed in the Temple Site index please submit a support request at Request Help tab on the Computer Services home page.

Note that if your web pages do not have any external links from other pages in the Temple search collection, they won't be picked up by the Google crawler.

How do I keep pages out of the index?

If you don't want a page to be indexed, insert this <meta>tag within your page's <head>tag:

<meta content="noindex, nofollow">

This will prevent crawlers (robots) from indexing the page, and from following any links from the page. If the page has already been indexed, it will be removed from the index the next time Google crawls the page.

What domains are included in Temple's configuration of Google Site Search?

Temple's search collection includes web pages from:

If you would like to add your web site domain to the search index please submit a support request using the Request Help tab on the Computer Services home page.

Does Google Custom Search index restricted content?

No. Google Site Search does not index or crawl any restricted content protected behind the firewall or a login.