OpenSearch plugins is an useful tool embedded in Firefox2.0 (downloaded from Mozila). When i wanted to add new search engines to this plugin, i found its development site. Now, let's create a free Chinese dictionary search engine, Taiwan Yahoo Dictionary.
@ create a new search engine
1. add a file, such as tw_yahoo_dic.xml, in $\{Firefox Path}\searchplugins\
2. copy & past below codes
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
<ShortName>TWYahooDic</ShortName>
<Description>Taiwan Yahoo Dictionary</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16">data:image/x-
icon;base64,R0lGODlhEAAQAJECAP8AAAAAAP///wAAACH5BAEAAAIALAAAAAAQABAAAAIplI+py
+0NogQuyBDEnEd2kHkfFWUamEzmpZSfmaIHPHrRguUm/fT+UwAAOw==</Image>
<Url type="text/html" method="GET" template="http://tw.dictionary.yahoo.com/search">
<Param name="p" value="{searchTerms}"/>
<Param name="ei" value="UTF-8"/>
</Url>
<SearchForm>http://tw.dictionary.yahoo.com/search</SearchForm>
</SearchPlugin>
3. save file & restart your Firefox.
@If you want to open search results in a new tab(citation)
1. input "about:config" in the URL text field.
2. look for "browser.search.openintab" preference
3. double click it to replace the boolean from false to true