Searching CPAN from Firefox

David Filmer posted a snazzy Firefox trick that puts a CPAN search in the search dropdown in Firefox. Works wonderfully.

Categories

0 TrackBacks

Listed below are links to blogs that reference this entry: Searching CPAN from Firefox.

TrackBack URL for this entry: http://perlbuzz.com/cgi-bin/mt/mt-tb.cgi/384

8 Comments

Juerd Waalboer said:
I like to keep the search box just for Google, because the rest involves visual interaction (you can't just hit a bunch of keys, but have to visually verify that you're selecting what you think you are). Fortunately, Firefox has had another very useful feature for ages, bookmark keywords. Bookmark http://search.cpan.org/search?mode=all&query=%s (yes, a literal %s), and give the bookmark a keyword of "cpan". Then you can just type "cpan dbix" in the *address bar* to search CPAN for "dbix".
Andy Lester Author Profile Page said:
Yeah, I like the keyword bookmarks, too. For a while, I had "cpan" for an "All" search, "cpanmod" for just module name, and so on.
Mark Gardner Author Profile Page said:
A similar technique can be used with Safari on Mac OS X and the Inquisitor search add-on by David Watanbe ( http://www.inquisitorx.com/ ). I do this for both search.cpan.org and and perldoc.perl.org.
perlpunk Author Profile Page said:

wow =)

here's how to do that in Opera (Opera haters stop reading here):

Go to search.cpan.org, right-click on the search field and click "Create Search". Type in a nickname, e.g. "cp". Click Ok.

Now you can do a cpan search just by typing "cp DBI" into the addressline. No mouse involved for searching =)

Probably easier to just install one from here: http://mycroft.mozdev.org/download.html?name=cpan

There are a couple there for perldoc as well.

Hey, back in the day, I created a Google custom search engine instance for all things Perl. You can access it http://perl.idaru.co.uk It already offers a Firefox quick search dropdown and you can additionally filter the results you get from one of the pre-defined labels (Usenet, CPAN, documentation etc). I hope somebody else finds this useful, it has saved me from going to Google and manually looking for something numerous times. Suggestions on how to improve it are more than welcome.
kid51 said:
After some correction of the XML, I installed it in /usr/lib/firefox/searchplugins/. But how do I actually invoke it from within Firefox? Much to my surprise, when I google for "Firefox plugins" nothing comes up which tells me how to *use* plugins that are manually installed like this one.
I've added a comment to the original usenet post about the benefits of Google Suggest, and how to add them to your own search plugins. It's one thing I don't think you can do with the location bar search keywords. Full story here: http://groups.google.com/group/comp.lang.perl.misc/msg/1da27bbebd9bad66

Leave a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About this Entry

This page contains a single entry by Andy Lester published on April 6, 2008 7:39 PM.

Rethinking the interface to CPAN was the previous entry in this blog.

Open source is not piracy is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Other Perl Sites

Other Swell Blogs

  • geek2geek: An ongoing analysis of how geeks communicate, how we fail and how to fix it.
Technorati Profile