| 
View
 

FirefoxSearchPlugins

Page history last edited by PBworks 17 years, 11 months ago

Firefox Search Plugins

 

Format

  <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/">
  <ShortName>engineName</ShortName>
  <Description>engineDescription</Description>
  <InputEncoding>inputEncoding</InputEncoding>
  <Image width="16" height="16">data:image/x-icon;base64,imageData</Image>
  <Url type="text/html" method="method" template="searchURL">
  <Param name="paramName1" value="paramValue1"/>
  ...
  <Param name="paramNameN" value="paramValueN"/>
  </Url>
  <Url type="application/x-suggestions+json" template="suggestionURL"/>
  <moz:SearchForm>searchFormURL</moz:SearchForm>
  </OpenSearchDescription>
  

 

Example to install:

 

  <form name="install-minigoogle-plugin">
  <input type="button" value="Add eCom MiniGoogle to Search List" onClick='window.external.AddSearchProvider("http://appu353.emr.us.wamu.net/blogs/peter.andrijeski/FirefoxMiniGoogle.xml");'>
  </form>
  

 

Example XML

 

  <?xml version="1.0"?>
  <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"
		       xmlns:moz="http://www.mozilla.org/2006/browser/search/">
  <ShortName>eCommerce Dictionary</ShortName>
  <Contact>Mr.Knowledge</Contact>
  <Description>Dictionary containing useful WaMu and eCommerce
  terms, definitions and links to resources with further
  information about those terms.</Description>
  <InputEncoding>UTF-8</InputEncoding>
  <Language>en-us</Language>
  <Image width="16" height="16" type="image/vnd.microsoft.icon">
  http://appu353.emr.us.wamu.net/blogs/peter.andrijeski/term.ico</Image>
  <Url type="text/html" method="get"
  template="http://appu353.emr.us.wamu.net:3000/dictionary/term">
    <Param name="id" value="{searchTerms}" />
  </Url>
  <moz:SearchForm>
      http://appu353.emr.us.wamu.net:3000/dictionary/
  </moz:SearchForm>
  </OpenSearchDescription>
  

Comments (0)

You don't have permission to comment on this page.