General: June 2005 Archives

Open a new file in a text editor such as Notepad. Give it a suitable name with .src as the extension. Since I am going to use this for searching ldap (directory) of my intranet, I call it peoplesearch.src. Save it in the folder C:\Program Files\Mozilla Firefox\searchplugins\.

The content of the file should be as following:


<search version = "7.1"
name="MyLDAP"
description="Directory Search"
action="http://people.mycompany.com/search.cgi"
method="GET" >
<input name="name" user />
</search>


Here, search.cgi uses (or gets) the name to seach through the variable name from the user. So, we use input name as "name" for query.