From cd305909d37546d1f75365f9e92995429927e91a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 10 Oct 2008 17:13:33 -0400 Subject: [PATCH] document google plugin --- debian/changelog | 1 + debian/copyright | 4 ++++ doc/plugins/google.mdwn | 12 ++++++++++++ 3 files changed, 17 insertions(+) create mode 100644 doc/plugins/google.mdwn diff --git a/debian/changelog b/debian/changelog index b89d76e1b..fa6829eb8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,7 @@ ikiwiki (2.67) UNRELEASED; urgency=low wanting to be done. Closes: #443346 (It does not control who can read a page, but that's out of scope for ikiwiki.) * orphans: Fix unquoted page name in regexp. + * google: Plugin provides google site search, contributed by Peter Simons. -- Joey Hess Mon, 06 Oct 2008 16:07:50 -0400 diff --git a/debian/copyright b/debian/copyright index 87f3cac89..f257234dd 100644 --- a/debian/copyright +++ b/debian/copyright @@ -104,6 +104,10 @@ Files: color.pm Copyright: Copyright (C) 2008 Paweł Tęcza License: GPL-2+ +Files: google.pm +Copyright: Copyright (C) 2008 Peter Simons +License: GPL-2+ + Files: doc/logo/* Copyright: © 2006 Recai Oktaş License: GPL-2+ diff --git a/doc/plugins/google.mdwn b/doc/plugins/google.mdwn new file mode 100644 index 000000000..7c61e637b --- /dev/null +++ b/doc/plugins/google.mdwn @@ -0,0 +1,12 @@ +[[!template id=plugin name=google author="Peter Simons"]] +[[!tag type/web]] + +This plugin adds a search form to the wiki, using google's site search. + +Google is asked to search for pages in the domain specified in the wiki's +`url` configuration parameter. Results will depend on whether google has +indexed the site, and how recently. Also, if the same domain has other +content, outside the wiki's content, it will be searched as well. + +The [[search]] plugin offers full text search of only the wiki, but +requires that a search engine be installed on your site. -- 2.26.2