[Techtalk] writing search plugins for firefox

priya venkateshan priyaven at gmail.com
Wed Apr 30 17:01:04 UTC 2008


Hey, all
Does anyone here have any experience writing plugins (especially
search plugins) for firefox?
Coz i followed this tutorial here
http://mycroft.mozdev.org/deepdocs/quickstart.html#firstplugin
to write a search plugin that searches on images.google.co.in

my code looks like this now

<search version="7.1" name="images.google.co.in"
description="google.co.in Image Search"
action="http://images.google.co.in/"
searchForm="http://images.google.co.in" method="GET">
<input name="sourceid" value="Mozilla-search">
<input name="q" user>
<input name="f" value="q">
<input name="hl" value="en">
</search>
<browser
 update="http://mycroft.mozdev.org/update.php/id0/google.co.in_imageSearch.src"
 updateIcon="http://mycroft.mozdev.org/update.php/id0/google.co.in_imageSearch.gif"
 updateCheckDays="7"
>

i saved it as a .src file, and put a GIF image in the same folder,
too, [the searchPlugins folder under ~/.mozilla/firefox as a tutorial
here
http://www.quickonlinetips.com/archives/2006/09/how-i-created-my-first-firefox-search-plugin-in-20-minutes/
suggested.

Now as per these, i should be able to see my search plugin under the
dropdown menu when i restart firefox.
That however does not happen.

What is going wrong here?

Thanks in advance,
Priya.
-- 
The reward for hardwork is only more hardwork. Everything else comes
under side-effects.
Priya Venkateshan,
IV B.Tech, InfoTech,
NITK Suratkal
Blogging at http://thenitknumbskulls.wordpress.com


More information about the Techtalk mailing list