[dokuwiki] Search your (Doku)Wiki from Firefox
- From: Stefan Kuchling <stefan.kuchling@xxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Mon, 11 Dec 2006 02:49:03 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi DokuWiki-Users,
for all of you, who want to search their installation of DokuWiki
directly from Firefox (or even better for Linux/Gnome user with the
"Deskbar"-Applet).
complete How-to (german, but background-links in english):
http://kuchling.de/wiki/doku.php/projekte:dokuwiki_als_suchmaschine_in_firefox
- - code start -
# DokuWiki-Search plugin
# useable on all DokuWiki installations, use and customize it!
<SEARCH
version = "7.1"
name="[DokuWiki] Search"
description="[DokuWiki] Search"
method = "GET"
action = "http://www.kuchling.de/wiki/doku.php/"
searchForm = "http://www.kuchling.de"
queryCharset="UTF-8"
>
<INPUT NAME="do" VALUE="search">
<INPUT NAME="id" user>
</SEARCH>
<BROWSER
alsomatch = "http://www.stefan-kuchling.de/wiki/doku.php/"
update = "http://www.kuchling.de/plugins/stefanwiki.src"
updateIcon = "http://www.kuchling.de/plugins/stefanwiki.png"
updateCheckDays = "7"
>
- - code stop -
You are able to offer your visitors the service too.
At this time i have no integration in DokoWiki since embedding
javascript in some pages is often not advisable.
- - code start -
<html>
<head>
<title>Firefox-Searchbar-Installer</title>
<script type="text/javascript">
function addEngine(name,ext,cat,type)
{
if ((typeof window.sidebar == "object") && (typeof
window.sidebar.addSearchEngine == "function")) {
window.sidebar.addSearchEngine(
"http://www.kuchling.de/plugins/"+name+".src",
"http://www.kuchling.de/plugins/"+name+"."+ext, name, cat
);
} else {
alert("Sorry, you need a Mozilla-based browser to install a
search plugin.");
}
}
</script>
</head>
<body>
<html>
<img src="http://www.kuchling.de/plugins/stefanwiki.png" alt="DokuWiki
Logo">
<a
href="javascript:addEngine('stefanwiki','png','General','0')">FireFox-Such-Plugin
installation</a>
</body>
</html>
- - code stop -
Greetings
Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFfLkPmcBiLahBPF4RAtBzAKCAeMP+1BIajRu/vg8wxAvKmCSjZgCfQgLk
tX0BNWpZp94oX/wyH2tOioY=
=sX0r
-----END PGP SIGNATURE-----
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- Follow-Ups:
- [dokuwiki] Re: Search your (Doku)Wiki from Firefox
- From: Mike Frysinger
Other related posts:
- » [dokuwiki] Search your (Doku)Wiki from Firefox
- » [dokuwiki] Re: Search your (Doku)Wiki from Firefox
- » [dokuwiki] Re: Search your (Doku)Wiki from Firefox
- [dokuwiki] Re: Search your (Doku)Wiki from Firefox
- From: Mike Frysinger