In the profile folder you can find searchplugins folder.
A sample xml looks like the one below.
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/">
<os:ShortName>Technology Freaks me out!!!</os:ShortName>
<os:Description>Search Tyrants World</os:Description>
<os:InputEncoding>UTF-8</os:InputEncoding>
<os:Image width="16" height="16">data:image/x-icon;base64,AAABAAEAEBAAAAAAAABoBQAAFgAAACgAAAAQAAAAIAAAAAEACAAAAAAAQAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AN2ZAADMqpkAiCIRAKpmMwDdqkQA7t3MAO7MdwC7iGYAmVUAALt3AADdzKoAzIgiAJlEIgDMqmYAu4hEAO7u7gCqZhEAmVVEAIgzAACIMyIA3buZAMyIAADdqhEA7rtmAN27dwC7iBEAzJmIAN2ZIgC7dyIAu5l3AMyZMwDu7t0A7t3dAIgzEQDdzLsAmUQAAJkzIgDdu6oAqlUAAO7MiACqZgAAzKqqALtmAACZRDMAzHcAAN2ZEQDMqogAu3cRAKpVMwDdu2YAqmYiAKpVRADMqncA3aozALuIdwDMmWYAu4gzAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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tyrantsworld.blogspot.com/search</SearchForm>
<os:Url type="text/html" method="GET" template="http://tyrantsworld.blogspot.com/search">
<os:Param name="q" value="{searchTerms}"/>
</os:Url>
</SearchPlugin>
- os:ShortName The name to be displayed on the search plugins select box.
- os:Description Any description as you want.
- os:InputEncoding Encoding to be used while searching. Usually it is UTF-8
- os:Image An image to be displayed along with search enging name. You can add the site logo or favicon. Image data should be provided as a base64 encoded string. A free online converter can be found here
- SearchForm
- os:Url The search action. In the above xml search action is "http://tyrantsworld.blogspot.com/search". os:Url should have an argument "os:Param". os:Param name is the name of the search box in the web page and value should be {searchTerms}
0 comments
Post a Comment