1 [[!template id=plugin name=jssearchfield author="[[rubykat]]"]]
3 IkiWiki::Plugin::jssearchfield - Create a search form to search page field data.
5 This plugin provides the [[ikiwiki/directive/jssearchfield]] directive. This
6 enables one to search the structured data ("field" values) of multiple pages.
7 This uses Javascript for the searching, which means that the entire thing
8 is self-contained and does not require a server or CGI access, unlike
9 the default IkiWiki search. This means that it can be used in places such
10 as ebook readers. The disadvantage is that because Javascript runs
11 in the browser, the searching is only as fast as the machine your browser
14 Because this uses Javascript, the htmlscrubber must be turned off for any page where the directive is used.
16 This plugin depends on the [[!iki plugins/contrib/field]] plugin.
18 ## Activate the plugin
21 add_plugins => [qw{goodstuff field jssearchfield ....}],
23 # disable scrubbing for search page
24 htmlscrubber_skip => 'mysearchpage',
29 IkiWiki::Plugin::field
34 * browse at GitHub: <http://github.com/rubykat/ikiplugins/blob/master/IkiWiki/Plugin/jssearchfield.pm>
35 * git repo at git://github.com/rubykat/ikiplugins.git