RoR API Firefox search plugin

Hi,

Lately I’ve been visiting the RoR API site quite often, so I modified a
Firefox search plugin to make searches to it (with Google). So here I
post it in case someone finds it useful:



Save that as a .src file in your \searchplugins and you’re
all set.

Ivan V.

Ivan,

Thank you for the hack. You can also include an icon into the directory
for
eye candy.

Save the following link Peak Obsession
to
the \searchplugins as the same name as your .src file, but
with
the .png ending.

For those of you who don’t know what this is…this is the option for
choosing which search engine you want to use by clicking on the dropdown
icon in the search box at the top navigation bar of firefox.

Dave

What firefox version and platform are you talking about? Because mine
(10.0.4
on debian linux) doesn’t do anything with it.

And with the searchplugin dir do you mean the regular plugin dir?

Thanx

Gerard.

On Friday 06 January 2006 02:43, Iván Vega R. tried to type something
like:

method=“GET”
Save that as a .src file in your \searchplugins and you’re
all set.

Ivan V.


Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails


“Who cares if it doesn’t do anything? It was made with our new
Triple-Iso-Bifurcated-Krypton-Gate-MOS process …”

My $Grtz =~ Gerard;
~
:wq!

Dave,

Did the thingy, and it’s in the list. However, it doesn’t respond to an
key input. While the rest of them do. Any clue anybody?

Thanx

Gerard.

On Friday 06 January 2006 13:30, Dave S. tried to type something
like:

there, although I think it’s possible you’ll have more than one of those,
may not always be the one you wanted!

Wiki, and “rref” for http://www.rubycentral.com/ref/
~Dave

“Who cares if it doesn’t do anything? It was made with our new
Triple-Iso-Bifurcated-Krypton-Gate-MOS process …”

My $Grtz =~ Gerard;
~
:wq!

On Friday 06 Jan 2006 08:56, Gerard wrote:

What firefox version and platform are you talking about? Because mine
(10.0.4 on debian linux) doesn’t do anything with it.
And with the searchplugin dir do you mean the regular plugin dir?

Gerard, on my Gentoo box with Firefox 1.5, it’s located at:

~/.mozilla/firefox/aeaprjg5.default/searchplugins

You just need to look for the directory called “foobar.default” and go
in
there, although I think it’s possible you’ll have more than one of
those, if
you’ve had different Firefox versions installed, so you might have to
work
out which one to use.

With Firefox 1.0x, I used to have to put my search plugins at:

/usr/lib/mozilla-firefox/searchplugins

Also, I’ve altered Iván’s version slightly, so it simulates clicking the
“I’m
feeling lucky” button instead (takes you instantly to the first result).
Note that this isn’t necessarily better, because the first result may
not
always be the one you wanted!



Personally though, I think the best method of using the RoR API pages
with
Firefox is to just bookmark api.rubyonrails.com, then assign it a
keyword (in
the bookmark manager), so mine is “rapi” for the API, “rwiki” for the
Wiki,
and “rref” for http://www.rubycentral.com/ref/

Then you just type “rapi” in your address bar, and if you have Firefox’s
“find
as you type” setting enabled, just start to type the name of the
function you
are looking for. Seems slightly quicker, since even with the search
plugin
above, you still have to search on the page it takes you to to find the
thing
you were looking for, and also you don’t have the sidebar of the API
frames
available, so may end up missing something.

Cheers,

~Dave

Dave S.
Rent-A-Monkey Website Development
Web: http://www.rentamonkey.com/

Cool Thanks!

Dave,

Great tip!

  • Derek

On 1/6/06, Christos G. [email protected] wrote:

Gerard.

“I’m feeling lucky” button instead (takes you instantly to the first

Firefox is to just bookmark api.rubyonrails.com, then assign it a keyword
Cheers,

http://lists.rubyonrails.org/mailman/listinfo/rails


Derek H.
HighGroove Studios - http://www.highgroove.com
Atlanta, GA
Keeping it Simple.
404.593.4879