diff options
author | http://kerravonsen.dreamwidth.org/ <http://kerravonsen.dreamwidth.org/@web> | 2012-01-28 19:08:55 -0400 |
---|---|---|
committer | admin <admin@branchable.com> | 2012-01-28 19:08:55 -0400 |
commit | a5fd547b9f996d89e56c9b17435a8b4e626eb671 (patch) | |
tree | 19ee2a31c0531ede5a30041530b3d2aa4c502e1b | |
parent | b0d6eef321ac1540cd4a9fb807ab99e04f942535 (diff) | |
download | ikiwiki-a5fd547b9f996d89e56c9b17435a8b4e626eb671.tar ikiwiki-a5fd547b9f996d89e56c9b17435a8b4e626eb671.tar.gz |
new plugin "jssearchfield"
-rw-r--r-- | doc/plugins/contrib/jssearchfield.mdwn | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/plugins/contrib/jssearchfield.mdwn b/doc/plugins/contrib/jssearchfield.mdwn new file mode 100644 index 000000000..2d41ee24f --- /dev/null +++ b/doc/plugins/contrib/jssearchfield.mdwn @@ -0,0 +1,35 @@ +[[!template id=plugin name=jssearchfield author="[[rubykat]]"]] +[[!tag type/search]] +IkiWiki::Plugin::jssearchfield - Create a search form to search page field data. + +This plugin provides the [[ikiwiki/directive/jssearchfield]] directive. This +enables one to search the structured data ("field" values) of multiple pages. +This uses Javascript for the searching, which means that the entire thing +is self-contained and does not require a server or CGI access, unlike +the default IkiWiki search. This means that it can be used in places such +as ebook readers. The disadvantage is that because Javascript runs +in the browser, the searching is only as fast as the machine your browser +is running on. + +Because this uses Javascript, the htmlscrubber must be turned off for any page where the directive is used. + +This plugin depends on the [[!iki plugins/contrib/field]] plugin. + +## Activate the plugin + + # activate the plugin + add_plugins => [qw{goodstuff field jssearchfield ....}], + + # disable scrubbing for search page + htmlscrubber_skip => 'mysearchpage', + +## PREREQUISITES + + IkiWiki + IkiWiki::Plugin::field + HTML::Template + +## DOWNLOAD + +* browse at GitHub: <http://github.com/rubykat/ikiplugins/blob/master/IkiWiki/Plugin/jssearchfield.pm> +* git repo at git://github.com/rubykat/ikiplugins.git |