Improves the presentation of summaries for keyword
, word
and literal
searches, by displaying topic content on either side of the search terms wherever they are found in the topic. Especially useful for searches in documentation.
For example, %SEARCH{"cat +spasm" type="keyword"}%
produces:
This plugin only works with TWiki-4 or later.
Install and enable the plugin. It "just works". You can change the size of the context (the number of characters either side of a search term) by setting the TWikiVariable SEARCHSUMMARYPLUGIN_CONTEXT
(the default is 30). You can change the CSS class used to highlight search terms by setting SEARCHSUMMARYPLUGIN_CSSCLASS
. The default is twikiAlert
.
You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server where TWiki is running.
Like many other TWiki extensions, this module is shipped with a fully automatic installer script written using the BuildContrib.
configure
interface (Go to Plugins->Find More Extensions) .zip
or .tgz
archives
perl <module>_installer
)
configure
and enable the module, if it is a plugin.
,v
files in your existing install (take care not to lock the files when you check in)
Another great TWiki extension from the WikiRing - working together to improve your wiki experience!
Plugin Author(s): | Crawford Currie http://c-dot.co.uk![]() ![]() |
Plugin Version: | 15566 (12 Dec 2008) |
Copyright: | © 2007 Escape Studios |
License: | GPL (Gnu General Public License)![]() |
Change History: | |
8 Sep 2007 | Bugs:Item4211 fixed for 4.2.0 |
11 Jun 2007 | Bugs:Item4237 fixed a couple of corner-cases |
8 Jun 2007 | Minor bugfixes |
6 Jun 2007 | First version |
Dependencies: | None |
Plugin Home: | http://twiki.org/cgi-bin/view/Plugins/SearchSummaryPlugin![]() |
Feedback: | http://twiki.org/cgi-bin/view/Plugins/SearchSummaryPluginDev![]() |
Appraisal: | http://twiki.org/cgi-bin/view/Plugins/SearchSummaryPluginAppraisal![]() |
I | Attachment | History | Size | Date | Comment![]() |
---|---|---|---|---|---|
![]() |
screenshot.gif | r1 | 18.4 K | 2008-12-12 - 10:26 | Saved by install script |
![]() |
wikiringlogo20x20.png | r1 | 1.3 K | 2008-12-12 - 10:26 | Saved by install script |