[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Create Firefox 2.0 add-on search engine for Hobbit search link



I am trying to create a hobbit.xml for Firefox 2.0 add-on search engine from googl.xml

C:\Program Files\Mozilla Firefox\searchplugins\hobbit.xml
SearchPlugin xmlns="http://hobbit.test.com/hobbit-cgi/bb-findhost.sh";>
<ShortName>Hobbit</ShortName>
<Description>Hobbit Search</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16">data:image/x-icon;base64,
<!--
raw image data snipped.
-->
</Image>
<Url type="application/x-suggestions+json" method="GET" template="http://suggestqueries.google.com/complete/search?output=firefox&amp;client=firefox&amp;qu={searchTerms}"/>
<Url type="text/html" method="GET" template="http://hobbit.test.com/hobbit-cgi/bb-findhost.sh";>
<Param name="q" value="{searchTerms}"/>
<Param name="ie" value="utf-8"/>
<Param name="oe" value="utf-8"/>
<!-- Dynamic parameters -->
<Param name="rls" value="{moz:distributionID}:{moz:locale}:{moz:official}"/>
<MozParam name="client" condition="defaultEngine" trueValue="firefox-a" falseValue="firefox"/>
</Url>
<SearchForm>http://www.google.com/firefox</SearchForm>
</SearchPlugin>


So for no luck yet. Looks like need more research work. FireFox 2.0 use different method compare to 1.x series(See R1).

Please follow up this thread if you have one already created.

T.J. Yang
R1: http://labnol.blogspot.com/2006/09/learn-to-create-firefox-search-plugin.html


_________________________________________________________________
Try Search Survival Kits: Fix up your home and better handle your cash with Live Search! http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=hmtagline