]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/Help%2FExternalSearchPlugin
Update PHP Doc
[SourceForge/phpwiki.git] / pgsrc / Help%2FExternalSearchPlugin
1 Date: Tue,  4 Jan 2011 12:30:30 +0000
2 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0)
3 Content-Type: application/x-phpwiki;
4   pagename=Help%2FExternalSearchPlugin;
5   flags=PAGE_LOCKED%2CEXTERNAL_PAGE;
6   charset=UTF-8
7 Content-Transfer-Encoding: binary
8
9 The **~ExternalSearch** [[Help:WikiPlugin|plugin]] creates a form to query [[Help:InterWiki|InterWikis]] or other internet sites.
10
11 == Usage ==
12
13 {{{
14 <<ExternalSearch
15          url="InterWiki or URL"
16          name="button text"
17 >>
18 }}}
19
20 == Arguments ==
21
22 {| class="bordered"
23 |-
24 ! Argument
25 ! Description
26 ! Default value
27 |-
28 | **url**
29 | Specify a wiki from the InterWikiMap or a url. Any text entered by
30 the user will be appended to the search url. The string placeholder
31 '##**%s**##' can be used to insert a search query into the url rather
32 than appending it.
33 |
34 |-
35 | **name**
36 | Text to display in the submit button.
37 | For ~InterWiki sites the default is the wiki name, for other urls the default is the text "External Search".
38 |-
39 | **formsize**
40 | Specify the input area size.
41 | 30 characters
42 |-
43 | **debug**
44 | Don't really redirect to the external site, just print out the url that would be redirected to.
45 |
46 |}
47
48 == Examples ==
49
50 {{{
51   url="http://sunir.org/apps/meta.pl?"       name="Metawiki Search"
52   url="http://www.usemod.com/cgi-bin/mb.pl?" name="MeatBall Search"
53   url=php-lookup
54   url=php-function
55   url=PhpWiki
56 }}}
57
58 Perform a full-text search on multiple wiki's:
59 <<ExternalSearch url="http://sunir.org/apps/meta.pl?" name="Metawiki Search">>
60
61 Perform a full-text search on [[MeatBall:SiteSearch|MeatBall]] wiki:
62 <<ExternalSearch url="http://www.usemod.com/cgi-bin/mb.pl?" name="MeatBall Search">>
63
64 Search the PHP web site for a function name:
65 <<ExternalSearch url=php-lookup name="PHP Lookup">>
66
67 Enter the name of a PHP function to view the documentation page:%%%
68 <<ExternalSearch url=php-function>>
69
70 Enter any existing page name on ~PhpWiki to jump to that page:
71 <<ExternalSearch url=PhpWiki>>
72
73 == See Also ==
74 * [[Help:TitleSearchPlugin]]
75 * [[Help:FullTextSearchPlugin]]
76 * [[Help:ExternalSearchPlugin]]
77 * [[Help:InterWikiSearchPlugin]]
78
79 <noinclude>
80 ----
81 [[PhpWikiDocumentation]] [[CategoryWikiPlugin]]
82 </noinclude>