1

The search-engine module was replaced by the opensearch module November 5, 2010, during epoch 0.9.3. So if you are using an up-to-date version of Conkeror, refer to OpenSearch instead.

The way the search-engine module works is like this:

  1. You make a directory, and put your opensearch description files in it.
  2. Then you call load_search_engines_in_directory on an nsIFile object for that directory. This creates definitions of your search engines in memory.

  3. Then you can define webjumps from the loaded search engines, by calling define_search_engine_webjump for each one.

As a typical example, suppose you have a subdirectory of your conkerorrc directory for your opensearch files.

load_search_engines_in_directory(make_file("~/.conkerorrc/search-engines"));
define_search_engine_webjump("foo.xml", "foo");