[Techtalk] writing search plugins for firefox

priya venkateshan priyaven at gmail.com
Wed Apr 30 17:59:25 UTC 2008


Hi,
>> It looks like they want the Name and Method on separate lines.
You were right.
It works properly now that i've edited that.

<search
version="7.1"
name="images.google.co.in"
description="google.co.in Image Search"
action="http://images.google.co.in/images"
searchForm="http://images.google.co.in/images"
method="GET"
>
<input name="q" user>
<input name="f" value="q">
<input name="hl" value="en">
<input name="sourceid" value="Mozilla-search">
</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"
>

thanks a million!!

On Wed, Apr 30, 2008 at 11:03 PM, Tricia Bowen <tricia.bowen at gmail.com> wrote:
> Hi Priya,
> The "Search Plugin Validator" (http://www.mindzilla.com/auditform.php) say
> you have errors in your code below. It looks like they want the Name and
> Method on separate lines.
> --Tricia
>
>
>
> On Wed, Apr 30, 2008 at 1:01 PM, priya venkateshan <priyaven at gmail.com>
> wrote:
>
> >
> >
> >
> > 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
> > _______________________________________________
> > Techtalk mailing list
> > Techtalk at linuxchix.org
> > http://mailman.linuxchix.org/mailman/listinfo/techtalk
> >
>
>
>
> --
> --Tricia



-- 
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