]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/Help%2FExternalSearchPlugin
Wikicreole syntax for links
[SourceForge/phpwiki.git] / pgsrc / Help%2FExternalSearchPlugin
1 Date: Sat, 24 Jan 2009 20:18:24 +0100
2 Mime-Version: 1.0 (Produced by PhpWiki 1.3.14-20080124)
3 X-Rcs-Id: $Id$
4 Content-Type: application/x-phpwiki;
5   pagename=Help%2FExternalSearchPlugin;
6   flags=PAGE_LOCKED;
7   markup=2;
8   charset=iso-8859-1
9 Content-Transfer-Encoding: binary
10
11 The *~ExternalSearch* [[Help:WikiPlugin|plugin]] creates a form to query InterWiki~s or other
12 internet sites.
13
14 == Usage
15
16 <verbatim>
17 <?plugin ExternalSearch
18          url="InterWiki or URL"
19          name="button text"
20 ?>
21 </verbatim>
22
23 == Arguments
24
25 __url__:
26   Specify a wiki from the InterWikiMap or a url. Any text entered by
27   the user will be appended to the search url. The string placeholder
28   '__=%s=__' can be used to insert a search query into the url rather
29   than appending it.
30
31 __name__:
32   Text to display in the submit button. For InterWiki sites the
33   default is the wiki name, for other urls the default is the text
34   "External Search".
35
36 __formsize__:
37   Specify the input area size. (default: 30 characters)
38
39 __debug__:
40   Don't really redirect to the external site, just print out the url
41   that would be redirected to.
42
43 == Examples
44
45 <verbatim>
46   url="http://sunir.org/apps/meta.pl?"       name="Metawiki Search"
47   url="http://www.usemod.com/cgi-bin/mb.pl?" name="MeatBall Search"
48   url=php-lookup
49   url=php-function
50   url=PhpWiki
51 </verbatim>
52
53 Perform a full-text search on multiple wiki's:
54 <?plugin ExternalSearch url="http://sunir.org/apps/meta.pl?" name="Metawiki Search" ?>
55
56 Perform a full-text search on [MeatBall|MeatBall:SiteSearch] wiki:
57 <?plugin ExternalSearch url="http://www.usemod.com/cgi-bin/mb.pl?" name="MeatBall Search" ?>
58
59 Search the PHP web site for a function name:
60 <?plugin ExternalSearch url=php-lookup name="PHP Lookup" ?>
61
62 Enter the name of a PHP function to view the documentation page:%%%
63 <?plugin ExternalSearch url=php-function ?>
64
65 Enter any existing page name on PhpWiki to jump to that page:
66 <?plugin ExternalSearch url=PhpWiki ?>
67
68 ----
69 [[PhpWikiDocumentation]] [[CategoryWikiPlugin]]