MILS OPAC Widget

You can add a MILS search box to your webpages. Just copy the code below  and paste it into your webpage where you want the search to appear.

MILS Search Widget Code:

<!-- MILS SEARCH WIDGET -->
<form name="searchwidget" style="display:inline" target="_blank" action="http://mils.maine.edu/search/" method="get">
Search the Catalog by:
      <select name="searchtype">
        <option value="t" selected="selected">Title</option>
        <option value="X">Keyword</option>      
        <option value="a">Author</option>        
        <option value="d">Subject</option> 
      </select>
      <input type="text" name="searcharg" size="30" maxlength="75" value="" alt="Search MILS" />
      <input type="hidden" name="searchscope" value="71" />
      <input type="hidden" name="SORT" value="D" />
      <input type="hidden" name="extended" value="0" />
      <input type="submit" name="SUBMIT" value="Search Minerva" />
      <input type="hidden" name="searchlimits" value="" />
</form>
<!-- END MILS SEARCH WIDGET --

Common Adjustments

  • Change the Scope by changing the value from “71” to your scope in this line:
        <input type="hidden" name="searchscope" value="71" />

**You will need to know your scope for this adjustment. Find your library in the list below and use that number to replace the “71” in the above statement:

02 : Vose Library
03 : Vose Children’s Collection
10 : Paris Public Library
11 : Paris Children’s Collection
12 : Maine Medical Center Library

  • Change the default search option by adjusting the <option> lines. For example, to default to Keyword, the <options> lines would be:
   <option value="X" selected="selected">Keyword</option>
   <option value="t">Title</option>
   <option value="a">Author</option>
   <option value="d">Subject</option>