Koha as Firefox Search Engine

From Koha Wiki
Jump to navigation Jump to search

You can configure Firefox to search directly into your Koha Catalog from Firefox search bar, like you do for Google itself or other popular search engines (Wikipedia, Yahoo! Ebay, etc.)

You just have to copy a file named yourcatalog.xml into your workstation searchplugin Firefox subdirectory.

For example:

 
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
<ShortName>My Library</ShortName>
<Description>Search into my library wonderfull catalog.</Description>
<InputEncoding>utf-8</InputEncoding>
<Image width="16" height="16" type="image/x-icon">http://opac.mykoha.org/opac-tmpl/prog/en/includes/favicon.ico</Image>
<Url type="text/html" method="GET" template="http://opac.mykoha.org/cgi-bin/koha/opac-search.pl">
  <Param name="q" value="{searchTerms}"/>
  <Param name="sourceid" value="Mozilla-search"/>
</Url>
<SearchForm>http://opac.mykoha.org</SearchForm>
</SearchPlugin>