Support HammondWiki. Donate!
PayPal

Synopsis

The ExternalSearchPlugin creates a form to query InterWikis or other internet sites.

Typical Usage

<?plugin ExternalSearch
         url="InterWiki or URL"
         name="button text"
?>

Arguments

url
Specify a wiki from the InterWikiMap or a url. Any text entered by the user will be appended to the search url. The string placeholder '%s' can be used to insert a search query into the url rather than appending it.
name
Text to display in the submit button. For InterWiki sites the default is the wiki name, for other urls the default is the text "External Search".
formsize
Specify the input area size. (default: 30 characters)
debug
Don't really redirect to the external site, just print out the url that would be redirected to.

Examples

Perform a full-text search on ?MeatBall wiki:

Include of 'lib/plugin/ExternalSearch.php' failed

Search the PHP web site for a function name:

Include of 'lib/plugin/ExternalSearch.php' failed

Enter the name of a PHP function to view the documentation page:

Include of 'lib/plugin/ExternalSearch.php' failed

Enter any existing page name on PhpWiki to jump to that page:

Include of 'lib/plugin/ExternalSearch.php' failed


PhpWikiDocumentation WikiPlugin

The content of this page is Copyright (C) 2000, 2001, 2002 Geoffrey T. Dairiki and the other authors of the content, whoever they may be.
This is free information and you are welcome redistribute it under certain conditions; see http://www.dairiki.org/HammondWiki/opl.html for details.
Absolutely no warrantee is made as to the correctness of the information on this page.