|
Cookbook /
OpenSearchSummary: Add OpenSearch autodiscovery & suggestions to PmWiki
Version: 2009-02-20
Prerequisites: PmWiki 2.2.0 (untested on earlier)
Status: beta
Maintainer: Eemeli Aro
Categories: Searching
Download: opensearch.phpΔ
Questions answered by this recipe
DescriptionThis recipe implements the OpenSearch description document, its autodiscovery from wiki pages, and the OpenSearch suggestions extension that allows for search term autocompletion/autosuggestion. To install this recipe
ConfigurationThe following variables may be set in your config file to configure the way OpenSearch works.
NotesThe autocompletion only works for page names at the moment, in order to make the script as fast as possible. As eg. Firefox doesn't support the Query URL part of the JSON autocompletion reply, the default At least for now, search results are only provided in the same HTML output as PmWiki normally produces. RSS and/or Atom feeds could be done, using customized PageList output. As the recipe doesn't include any JavaScript or other front-end code, functionality is largely left to the user client (for now!). Autocompletion ought to work in Firefox and Google Chrome, everything else should also work in IE7 and up. Please refer to the browsers' own documentation for instructions how to add search engines. Release Notes
See Also
ContributorsComments
User notes?: If you use, used or reviewed this recipe, you can add your name. The following format is recognized:
* (+) Optional positive comment. Name, date * (-) Optional negative comment. Name, date These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki. |