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