[dokuwiki] Re: Search Result

  • From: Christopher Smith <chris@xxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 28 Feb 2008 14:46:42 +0000


On 28 Feb 2008, at 14:36, Todd Augsburger wrote:

I created a plugin to:
1) Search on pages rendered as text, rather than raw wiki
2) Display search result snippets from text

You may find it at:
http://cobs.rollerorgans.com/plugins/searchtext.zip

Configuration is in Admin Configuration Settings

This plugin REQUIRES two modifications to core code:
1) text.php renderer placed in inc/parser/
2) inc/fulltext.php modified to add a FULLTEXT_SNIPPET_GETTEXT event

Files to assist you are installed in lib/plugins/searchtext/ installhelp/

why does text.php need to be installed in inc/parser/ ?

is it because the function that runs the renderer only looks in one particular directory? if that is the case, it might be better to modify that function (or provide an alternate) that allow renderer plugins to be run.

- Chris
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: