Help for the weary Drupal developer: api.drupal.org and drupal.org OpenSearch plugins



I've created some Drupal-specific OpenSearch plugins for Firefox (and IE7, too!). They provide Drupal.org and api.drupal.org search integration in browsers supporting the OpenSearch search plugin protocol.
They are useful when searching for Drupal API routines or other Drupal development subjects. Install them as you would any other OpenSearch plugin...

Note: at present, the API search plugins work best with single words. I need to figure out how to package multi-word searches in the api.drupal.org search URL.

I've tested them in FF 2.0.x and IE7. If you encounter any issues, leave a comment on this page.

FireFox 2 Autodiscovery

Installation

This page contains the necessary autodiscovery entries, so, you need to tell your browser to install them for you. I'll add some basic instructions to this page soon.

Download Links

For those who are so inclined, here are direct download links:
Drupal.org Search
Drupal 4.7 API search
Drupal 5.x API search
Drupal HEAD API search

I don't know how to install them once you've downloaded them (short of copying the files into FireFox or IE's installation directory somewhere...) You should try to use the autodiscovery feature.

Drupal 5 Module creates OpenSearch plugin for your site!

Here's a nifty module that creates OpenSearch plugins for your Drupal 5-based site


Posted by: Mike on Sun, 01/21/2007 at 2:19pm

I don't know how to install

I don't know how to install them once you've downloaded them ...

I don't know about IE7, but with Firefox the plugins' extensions need to be changed from .xml to .src. Then you can use window.sidebar.addSearchEngine, which is the subject of an article at mozilla.org called Using JavaScript to add new Search Engines.

There are already several OpenSearch plugins for drupal.org at the Mycroft Project. You can look at their JavaScript installer to see how it works.

christefano@drupal.org (not verified) – Mon, 01/22/2007 – 6:13pm

Thanks for the info

Naturally, Mycroft is the one place I didn't bother looking for an existing search plugin for Drupal. That's ok, I wanted to make them anyway. :D

Mike – Mon, 01/22/2007 – 7:07pm

autodiscovery

Just a little issue with the installation.

The Add "Drupal 4.7 API search" and Add "Drupal HEAD API search" options remained in the list after I added them. The Add "Drupal.org" option works fine.

I think it is because they names differ from the installed one:
Drupal 4.7 API search Drupal Api search (4.7)
Drupal HEAD API search Drupal Api search (HEAD)

Firefox 2.0.0.2

Thanks for the plugin..

Pasqualle (not verified) – Fri, 03/09/2007 – 12:41pm

Fixed?

I changed the autodiscovery description to match the name in the XML file. I hope that fixes the problem for you, it seems to have done so for me.

Mike – Sat, 03/10/2007 – 12:02am

very useful thanks

very useful thanks

Guest (not verified) – Thu, 08/30/2007 – 1:58am

My favorite

These belong to my favorite tools for Drupal development. Could you make a Drupal 6 API search version.
Very much appreciated!

Sutharsan (not verified) – Tue, 12/18/2007 – 9:41am

Thx!

Thanks a lot!
Makes the search much faster!! :)

guldi (not verified) – Tue, 05/13/2008 – 10:50pm

Post new comment

This helps us decide if you are a human, and not just some visiting bot.
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <h3> <h4> <br> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Lines and paragraphs break automatically.
More information about formatting options