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