diff options
author | André Malo <nd@apache.org> | 2003-04-09 14:21:21 +0200 |
---|---|---|
committer | André Malo <nd@apache.org> | 2003-04-09 14:21:21 +0200 |
commit | f9b67df04bb97ee48addfee14301b4674ea0f396 (patch) | |
tree | 81754aa6227a0778a0fe76e9cfa049e4d03f748a /docs | |
parent | Clarify some wording. (diff) | |
download | apache2-f9b67df04bb97ee48addfee14301b4674ea0f396.tar.xz apache2-f9b67df04bb97ee48addfee14301b4674ea0f396.zip |
use Google Search.
We may have to experimt a bit to get best results. This is a first
attempt.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99303 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs')
-rw-r--r-- | docs/manual/style/lang/de.xml | 2 | ||||
-rw-r--r-- | docs/manual/style/lang/en.xml | 2 | ||||
-rw-r--r-- | docs/manual/style/lang/ja.xml | 2 | ||||
-rw-r--r-- | docs/manual/style/lang/ru.xml | 2 | ||||
-rw-r--r-- | docs/manual/style/manual.de.xsl | 1 | ||||
-rw-r--r-- | docs/manual/style/manual.en.xsl | 1 | ||||
-rw-r--r-- | docs/manual/style/manual.ja.xsl | 1 | ||||
-rw-r--r-- | docs/manual/style/manual.pt-br.xsl | 1 | ||||
-rw-r--r-- | docs/manual/style/manual.ru.xsl | 1 | ||||
-rw-r--r-- | docs/manual/style/xsl/indexpage.xsl | 54 |
10 files changed, 56 insertions, 11 deletions
diff --git a/docs/manual/style/lang/de.xml b/docs/manual/style/lang/de.xml index 0e5d1a3d5f..14f1629115 100644 --- a/docs/manual/style/lang/de.xml +++ b/docs/manual/style/lang/de.xml @@ -67,7 +67,7 @@ <message name="apachetitle">- Apache HTTP Server</message> <message name="apachehttpserver">Apache HTTP Server Version 2.1</message> <message name="apachedocalt">[APACHE DOCUMENTATION]</message> - <message name="search">Suchen</message> <!-- search button --> + <message name="search">Google-Suche</message> <!-- search button --> <message name="index">Index</message> <!-- deprecated --> <message name="home">Startseite</message> <!-- deprecated --> diff --git a/docs/manual/style/lang/en.xml b/docs/manual/style/lang/en.xml index 1e34fe0ffe..09b893074c 100644 --- a/docs/manual/style/lang/en.xml +++ b/docs/manual/style/lang/en.xml @@ -63,7 +63,7 @@ <message name="apachetitle">- Apache HTTP Server</message> <message name="apachehttpserver">Apache HTTP Server Version 2.1</message> <message name="apachedocalt">[APACHE DOCUMENTATION]</message> - <message name="search">Search</message> <!-- search button --> + <message name="search">Google Search</message> <!-- search button --> <message name="index">Index</message> <!-- deprecated --> <message name="home">Home</message> <!-- deprecated --> diff --git a/docs/manual/style/lang/ja.xml b/docs/manual/style/lang/ja.xml index 7fb10f6722..f2ff89d9cf 100644 --- a/docs/manual/style/lang/ja.xml +++ b/docs/manual/style/lang/ja.xml @@ -58,7 +58,7 @@ <message name="apachetitle">- Apache HTTP $B%5!<%P(B</message> <message name="apachehttpserver">Apache HTTP $B%5!<%P(B $B%P!<%8%g%s(B 2.1</message> <message name="apachedocalt">[APACHE DOCUMENTATION]</message> - <message name="search">Search</message> <!-- search button --> + <message name="search">Google Search</message> <!-- search button --> <message name="index">$B:w0z(B</message> <!-- deprecated --> <message name="home">$B%[!<%`(B</message> <!-- deprecated --> diff --git a/docs/manual/style/lang/ru.xml b/docs/manual/style/lang/ru.xml index d3d755ff58..12d2b0af04 100644 --- a/docs/manual/style/lang/ru.xml +++ b/docs/manual/style/lang/ru.xml @@ -52,7 +52,7 @@ <message name="apachetitle">- HTTP ÓÅÒ×ÅÒ Apache</message> <message name="apachehttpserver">HTTP ÓÅÒ×ÅÒ Apache ÷ÅÒÓÉÑ 2.1</message> <message name="apachedocalt">[äïëõíåîôáãéñ APACHE]</message> - <message name="search">Search</message> <!-- search button --> + <message name="search">Google Search</message> <!-- search button --> <message name="index">ïÇÌÁ×ÌÅÎÉÅ</message> <!-- deprecated --> <message name="home">îÁ ÇÌÁ×ÎÕÀ ÓÔÒÁÎÉÃÕ</message> <!-- deprecated --> diff --git a/docs/manual/style/manual.de.xsl b/docs/manual/style/manual.de.xsl index f2fbabeb5e..fd41fba3fe 100644 --- a/docs/manual/style/manual.de.xsl +++ b/docs/manual/style/manual.de.xsl @@ -12,6 +12,7 @@ <!-- Read the localized messages from the specified language file --> <xsl:variable name="messages" select="document('lang/de.xml')/messages"/> +<xsl:variable name="output-encoding" select="'ISO-8859-1'" /> <!-- Now get the real guts of the stylesheet --> <xsl:include href="xsl/common.xsl"/> diff --git a/docs/manual/style/manual.en.xsl b/docs/manual/style/manual.en.xsl index 1446d5f81c..cce29d7fea 100644 --- a/docs/manual/style/manual.en.xsl +++ b/docs/manual/style/manual.en.xsl @@ -12,6 +12,7 @@ <!-- Read the localized messages from the specified language file --> <xsl:variable name="messages" select="document('lang/en.xml')/messages"/> +<xsl:variable name="output-encoding" select="'ISO-8859-1'" /> <!-- Now get the real guts of the stylesheet --> <xsl:include href="xsl/common.xsl"/> diff --git a/docs/manual/style/manual.ja.xsl b/docs/manual/style/manual.ja.xsl index 66e6bd4773..8711c48dd1 100644 --- a/docs/manual/style/manual.ja.xsl +++ b/docs/manual/style/manual.ja.xsl @@ -12,6 +12,7 @@ <!-- Read the localized messages from the specified language file --> <xsl:variable name="messages" select="document('lang/ja.xml')/messages"/> +<xsl:variable name="output-encoding" select="'iso-2022-jp'" /> <!-- Now get the real guts of the stylesheet --> <xsl:include href="xsl/common.xsl"/> diff --git a/docs/manual/style/manual.pt-br.xsl b/docs/manual/style/manual.pt-br.xsl index c2b1a213dd..a5c8c8653b 100644 --- a/docs/manual/style/manual.pt-br.xsl +++ b/docs/manual/style/manual.pt-br.xsl @@ -12,6 +12,7 @@ <!-- Read the localized messages from the specified language file --> <xsl:variable name="messages" select="document('lang/pt-br.xml')/messages"/> +<xsl:variable name="output-encoding" select="'ISO-8859-1'" /> <!-- Now get the real guts of the stylesheet --> <xsl:include href="xsl/common.xsl"/> diff --git a/docs/manual/style/manual.ru.xsl b/docs/manual/style/manual.ru.xsl index f9cc992e1f..0b3130161a 100644 --- a/docs/manual/style/manual.ru.xsl +++ b/docs/manual/style/manual.ru.xsl @@ -12,6 +12,7 @@ <!-- Read the localized messages from the specified language file --> <xsl:variable name="messages" select="document('lang/ru.xml')/messages"/> +<xsl:variable name="output-encoding" select="'KOI8-R'" /> <!-- Now get the real guts of the stylesheet --> <xsl:include href="xsl/common.xsl"/> diff --git a/docs/manual/style/xsl/indexpage.xsl b/docs/manual/style/xsl/indexpage.xsl index fb2dc0ef00..dd9d105f86 100644 --- a/docs/manual/style/xsl/indexpage.xsl +++ b/docs/manual/style/xsl/indexpage.xsl @@ -51,13 +51,53 @@ <xsl:text> </xsl:text> <!-- insert line break --> - <form method="post" action="http://search.apache.org/"><p> - <input type="hidden" name="what" value="httpd.apache.org" /> - <input type="hidden" name="results" value="20" /> - <input type="hidden" name="version" value="2" /> - <input type="text" name="keyword" size="20" /> - <xsl:text> </xsl:text> - <input type="submit" value="{$messages/message[@name='search']}" /> + <form action="http://www.google.com/search" method="get"><p> + <!-- search google: --> + <!-- with all of the words --> + <input type="text" value="" name="as_q" /> + <xsl:text> </xsl:text> + <input type="submit" value="{$messages/message[@name='search']}" /> + + <!-- the specified number of results --> + <input type="hidden" name="num" value="10" /> + + <!-- the current displayed language --> + <input type="hidden" name="hl" value="{$messages/@lang}" /> + + <!-- the current document encoding for input (?) --> + <input type="hidden" name="ie" value="{$output-encoding}" /> + + <!-- (submit the original button and name) --> + <input type="hidden" name="btnG" value="Google Search" /> + + <!-- including the exact phrase "Apache 2.0" --> + <input type="hidden" value="Apache 2.0" name="as_epq" /> + + <!-- with at least one of the words (none) --> + <input type="hidden" value="" name="as_oq" /> + + <!-- without the phrase "List-Post" (to exclude the mail archives) --> + <input type="hidden" value=""List-Post"" name="as_eq" /> + + <!-- return results written in (any) language --> + <input type="hidden" name="lr" value="" /> + + <!-- and any format --> + <input type="hidden" name="as_ft" value="i" /> + <input type="hidden" name="as_filetype" value="" /> + + <!-- updated anytime --> + <input type="hidden" name="as_qdr" value="all" /> + + <!-- where the result appears anywhere in the document --> + <input type="hidden" name="as_occt" value="any" /> + + <!-- only from httpd.apache.org --> + <input type="hidden" name="as_dt" value="i" /> + <input type="hidden" name="as_sitesearch" value="httpd.apache.org" /> + + <!-- turn off "safe" mode --> + <input type="hidden" name="safe" value="off" /> </p></form> <xsl:text> |