--
Ayush [ Be ''?'' Happy ]
For any query, search - www.Google.com
Want to know about a term - http://en.wikipedia.org
Snip your long urls - http://snipurl.com/
Must have tool for OE - http://snipurl.com/quotefix
I guess that depends on what you mean by "manually." :-)
Click on the search engine icon, which should trigger a drop-down list
of installed search engines. At the bottom of the list, there should be
an item labelled "Manage Search Engines." Click on it. That should open
the Manage Search Engine List. In the Manage Search Engine List, click
on "Get more search engines..."
--
Chris Ilias
mozilla.test.multimedia moderator
Mozilla links <http://ilias.ca>
(Please do not email me tech support questions)
> _Ayush_ spoke thusly on 02/11/2006 7:58 PM:
>> How can I manually add search engines to the search toolbar.
download the search file, or edit a copy of existing searchfile in [program files.. firefox path]\searchplugins\ folder
restart firefox. it's not as easy to insert an icon into the newer xml searchfiles.
so, you can write an old src type search file and stuff it with an icon (gif or png) into your profile's searchplugin folder. starting
ff makes it convert the icon plus src file into one xml file. if you want this searchplugin to show in all profiles, shutdown, and
drag the xml file into [program files.. firefox]\searchplugins\ folder
> I guess that depends on what you mean by "manually." :-)
> Click on the search engine icon, which should trigger a drop-down list
> of installed search engines. At the bottom of the list, there should be
> an item labelled "Manage Search Engines." Click on it. That should open
> the Manage Search Engine List. In the Manage Search Engine List, click
> on "Get more search engines..."
warning: reinstalling (and i think the full updates) will wipe out searchfiles in [program files.. firefox]\searchplugins\
i keep another folder near [program files.. firefox]\ folder with backup copy of searchplugins\(searchfiles).
then after updates, i delete the inferior searchplugins installed by update (or installer), and recopy my collection from my
backup folder.
also you should backup (zip is good) your edited searchfiles and icons, because the conversion to the new type searchfile
deletes the icon files.
--
Using Xnews, Mr.Tran's googoomuck nntp client: http://xnews.newsguy.com/test/
[Patterns]
Name = "DownloadableLinkSrcMycroft[Sbk02Nov06"
Active = TRUE
URL = "mycroft.mozdev.org/"
Bounds = "<img src="http://mycroft.mozdev.org/install.php(*)" >"
Limit = 256
Match = "(<img src="http://(mycroft.mozdev.org/install.php(\w/)+&&\1)\w\2++.*++(.\6)+"*>)\7"
Replace = "<a href="http://\1\2.src" title="\1\2.src" style="background-color:#ff9;">\2</a>\7<!--3\3 6\6-->"
but it's probably faster to install, tryout, then delete unwanted src's and icon's from (profile)searchplugin folder.
if you edit one of these, be sure to commentout or delete the update lines near bottom of the src file. (another good reason to
save backup copies of your work)
there's help and generator at mycroft for the old src type, but since we aren't worried about a lot of the parameters (sidebar), it's
easier to edit an existing src file.
------
new xml type:
i haven't read thru this much
http://developer.mozilla.org/en/docs/Creating_OpenSearch_plugins_for_Firefox
i don't see how this form (link from above page) is supposed to be used to obtain the base64 encoded icon:
http://software.hixie.ch/utilities/cgi/data/data
enter a link to a favicon? i guess you can also give it a local file:\\ url?
Nothing is lost. The default set of search engines are converted to the
new format, User-installed search engines are kept in the profile
folder, in a folder called \searchplugins\ . When you upgrade from 1.5.x
to Firefox2, user-installed search engines are also converted, and a
backup folder is automatically created within the profile's
\searchplugins\ folder called \searchplugins-backup\ .
Can you tell me an easy way. I opened some xml files in wordpad in the
searchplugins folder but can't understand them. I want to create some search
engines that are not available from Mozilla website. I dont care about icons.
--- Original Message ---
Yes, it does delete all search plugins except the defaults. I keep a
copy of the MyCroftTop30 xpi file handy for re-installation.
--
Jay Garcia Netscape/Mozilla Champion
UFAQ - http://www.UFAQ.org
--- Original Message ---
> _Splibbilla_ spoke thusly on 03/11/2006 1:26 AM:
>> warning: reinstalling (and i think the full updates) will wipe out searchfiles in [program files.. firefox]\searchplugins\
>> i keep another folder near [program files.. firefox]\ folder with backup copy of searchplugins\(searchfiles).
>
> Nothing is lost. The default set of search engines are converted to the
> new format, User-installed search engines are kept in the profile
> folder, in a folder called \searchplugins\ . When you upgrade from 1.5.x
> to Firefox2, user-installed search engines are also converted, and a
> backup folder is automatically created within the profile's
> \searchplugins\ folder called \searchplugins-backup\ .
Hmm, this doesn't happen if you install the search engines via
MyCroftTop30. The additional search engines do not remain installed and
are not saved to another directory, etc. This may not be the case with
other add-on methods. However, easy enough to retain a copy of the XPI
file and re-install it as it seems to be compatible from version to
version as it installs as a plugin and not an extension so to speak.
When I upadted from 1.5.0.7 to 2.0 this worked without a hitch.
http://developer.mozilla.org/en/docs/Creating_OpenSearch_plugins_for_Firefox
Thanks for the link. I will try that after reading it
totally cutdown example here:
find an XML in your firefox folder (or in profile folder). Copy file, and give that a nice new name. BobzYerSkwikyUnkl.xml
open in text editor. you'll need to edit these lines
<SearchForm>http://www.scroogle.org/scget.html</SearchForm>
<os:Url type="text/html" method="GET" template="http://www.scroogle.org/cgi-bin/nbbw.cgi?q={searchTerms}">
</os:Url>
sample internet url from using scroogle searchplugin:
http://www.scroogle.org/cgi-bin/nbbw.cgi?q=BANANNNNAAA+SPLIIIT
do same search at the new website:
http://www.bobz-skwiky-mattresses/search-me?wordz=BANANNNNAAA+SPLIIIT
compare, so you can see which parts to paste like this:
<os:ShortName>BobzYerSkwikyUnkl</os:ShortName>
<os:Description>BobzYerSkwikyUnkl Search</os:Description>
<SearchForm>http://www.bobz-skwiky-mattresses/</SearchForm>
<os:Url type="text/html" method="GET" template="http://www.bobz-skwiky-mattresses/searchz?word={searchTerms}">
</os:Url>
delete any Update lines similar to these:
<UpdateInterval>7</UpdateInterval>
<UpdateUrl>http://mycroft.mozdev.org/scroogle.blaooooohhh</UpdateUrl>
<IconUpdateUrl>http://mycroft.mozdev.org/scroogle.blaoooooh</IconUpdateUrl>
test it.
"Ayush" <ayushmaan.j[aatt]gmail.com> in
news:eYmdnfml08L7zNbY...@mozilla.org:
>
> Can you tell me an easy way. I opened some xml files in wordpad in the
> searchplugins folder but can't understand them. I want to create some
> search engines that are not available from Mozilla website. I dont
> care about icons.
>
here's a newer type XML that firefox converted from my SRC type
=============
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/">
<os:ShortName>ScroogleWeb</os:ShortName>
<os:Description>Scroogle Web Search</os:Description>
<os:InputEncoding>ISO-8859-1</os:InputEncoding>
<os:Image width="16" height="16">data:image/x-
icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAgMAAABinRfyAAAADFBMVEX/////AAAA/wAAAAB7p8
mKAAAAAXRSTlMAQObYZgAAAEFJREFUCNdjYAgNZWBgDQ0NYBBdtSqEQWz/3xCGqP//nzJEg4l/YUsZon+CWF9BxN/
1UIlIECFa/38KRBvYAJBRAIh6I7t13+MSAAAAAElFTkSuQmCC</os:Image>
<SearchForm>http://www.scroogle.org/scget.html</SearchForm>
<os:Url type="text/html" method="GET" template="http://www.scroogle.org/cgi-bin/nbbw.cgi?q={searchTerms}">
</os:Url>
</SearchPlugin>
=============
firefox compeltey created this line from the icon i had in searchplugin folder with the old type SRC file:
<os:Image width="16" height="16">data:image/x-
icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAgMAAABinRfyAAAADFBMVEX/////AAAA/wAAAAB7p8
mKAAAAAXRSTlMAQObYZgAAAEFJREFUCNdjYAgNZWBgDQ0NYBBdtSqEQWz/3xCGqP//nzJEg4l/YUsZon+CWF9BxN/
1UIlIECFa/38KRBvYAJBRAIh6I7t13+MSAAAAAElFTkSuQmCC</os:Image>
firefox more or less copied this from a couple lines in the old SRC file
<SearchForm>http://www.scroogle.org/scget.html</SearchForm>
<os:Url type="text/html" method="GET" template="http://www.scroogle.org/cgi-bin/nbbw.cgi?q={searchTerms}">
</os:Url>
you can recognize whihc lines firefox grabbed from old SRC, these lines:
name="ScroogleWeb "
description="Scroogle Web Search"
action="http://www.scroogle.org/cgi-bin/nbbw.cgi"
searchForm="http://www.scroogle.org/scget.html"
<input name="q" user="">
=======
here's a smaple url from using scroogle searchplugin:
http://www.scroogle.org/cgi-bin/nbbw.cgi?q=BANANNNNAAA+SPLIIIT
========
assume you wanted to make a searchplugin for another site's search
copy the scroogle.xml XML. rename it BobzYerSkwikyUnkl.xml
go to the site http://www.bobz-skwiky-mattresses/
search an easily spotted word, then find it in teh URL:
http://www.bobz-skwiky-mattresses/search-me?wordz=BANANNNNAAA+SPLIIIT
compare part of URL to parts in the XML file. paste the right parts into your BobzYerSkwikyUnkl.xml:
<os:ShortName>BobzYerSkwikyUnkl</os:ShortName>
<os:Description>BobzYerSkwikyUnkl Search</os:Description>
<SearchForm>http://www.bobz-skwiky-mattresses/</SearchForm>
<os:Url type="text/html" method="GET" template="http://www.bobz-skwiky-mattresses/searchz?word={searchTerms}">
</os:Url>
start firefox. do a test search.
========
======== less important:
in other xml files you'll see update lines. but SRC converter did not create any update lines, because my scroogle.src had the
update lines omitted.
-----------------
actually update lines were commented-out with # symbol:
# update="http://mycroft.mozdev.org/plugins/scroogle.src"
# updateIcon="http://mycroft.mozdev.org/plugins/scroogle.png"
# updateCheckDays="30"