Search plugin

From DoKSwiki

Create a firefox search plugin

To create a firefox search plugin first check this website: http://mycroft.mozdev.org/deepdocs/quickstart.html.

This is the source-file I created:

# Doorzoek de eindwerken van de Katholieke Hogeschool Kempen
# By Jef De Pooter | Created on February 6, 2007 in Geel, Belgium

<search
version="7.1"
name="DoKS"
description="Doorzoek de eindwerken van de Katholieke Hogeschool Kempen"
action="http://doks2.khk.be/eindwerk/do/search"
searchForm="http://doks2.khk.be/eindwerk/"
method="GET"
>

<input name="dispatch=search&q" user>

<interpret

 resultListStart="<!-- RESULT LIST START -->"

 resultListEnd="<!-- RESULT LIST END -->"

 resultItemStart="<!-- RESULT ITEM START -->"

 resultItemEnd="<!-- RESULT ITEM END -->"

>

<browser
 update="http://mycroft.mozdev.org/update.php/id0/doks-nl.src" 
 updateIcon="http://mycroft.mozdev.org/update.php/id0/doks-nl.gif" 
 updateCheckDays="7" 
>

</search>

You can adjust the links according to your own DoKS repository.

Test your plugin at http://www.mindzilla.com/auditform.php.
Submit your plugin at http://mycroft.mozdev.org/submit.html.
Dowload our plugin at http://mycroft.mozdev.org/download.html?name=doks&category=all&country=BE&language=all&submitform=Search&sherlock=yes&opensearch=yes.