I will making a Google Linux search tool :
- Open any text editor and paste this code :
<search
name="Google Linux"
method="GET"
action="http://www.google.co.in/linux"
queryCharset="utf-8"
>
<input name="q" user>
</search> - You can add more parameters other than query like "Search within a domain".
Add<input name="sitesearch" value="gnu.org">
below<input name="q" user>
Just carefully observe the URL after you hit a search for the parameter name/value and keep adding for a filtered search. - Save the file as filename.src (I am using glinux.src) to ~/.mozilla/firefox/<profile>/searchplugins/
TIP : To display icon next to your search engine create a 16X16 PNG or GIF image and save it in the same folder as glinux.src and name it glinux.png or glinux.gif as per your file format - Restart Firefox, your source will be compiled and converted into a .XML file automatically and what next! use your engine
Also check : Mycroft Project
Attached few of my favorites : search.tar.gz