]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
use google search.
authorAndré Malo <nd@apache.org>
Wed, 9 Apr 2003 12:55:58 +0000 (12:55 +0000)
committerAndré Malo <nd@apache.org>
Wed, 9 Apr 2003 12:55:58 +0000 (12:55 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@99305 13f79535-47bb-0310-9956-ffa450edef68

12 files changed:
docs/manual/index.html.de
docs/manual/index.html.en
docs/manual/style/lang/de.xml
docs/manual/style/lang/en.xml
docs/manual/style/lang/ja.xml
docs/manual/style/lang/ru.xml
docs/manual/style/manual.de.xsl
docs/manual/style/manual.en.xsl
docs/manual/style/manual.ja.xsl
docs/manual/style/manual.pt-br.xsl
docs/manual/style/manual.ru.xsl
docs/manual/style/xsl/indexpage.xsl

index f8423db4aae144f0faf351667ae9222d3c7f7db1..c6b3429d0367e38de56b472460bd6ebab0fb2afe 100644 (file)
@@ -19,7 +19,7 @@
 <div id="path">
 <a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">HTTP-Server</a> &gt; <a href="http://httpd.apache.org/docs-project/">Dokumentation</a></div>
 <div id="page-content"><h1>Dokumentation zum Apache HTTP Server Version 2.0</h1>
-<form action="http://search.apache.org/" method="post"><p><input value="httpd.apache.org" name="what" type="hidden" /><input value="20" name="results" type="hidden" /><input value="2" name="version" type="hidden" /><input size="20" name="keyword" type="text" /> <input value="Suchen" type="submit" /></p></form>
+<form method="get" action="http://www.google.com/search"><p><input name="as_q" value="" type="text" /> <input value="Google-Suche" type="submit" /><input value="10" name="num" type="hidden" /><input value="de" name="hl" type="hidden" /><input value="ISO-8859-1" name="ie" type="hidden" /><input value="Google Search" name="btnG" type="hidden" /><input name="as_epq" value="Apache 2.0" type="hidden" /><input name="as_oq" value="" type="hidden" /><input name="as_eq" value="&quot;List-Post&quot;" type="hidden" /><input value="" name="lr" type="hidden" /><input value="i" name="as_ft" type="hidden" /><input value="" name="as_filetype" type="hidden" /><input value="all" name="as_qdr" type="hidden" /><input value="any" name="as_occt" type="hidden" /><input value="i" name="as_dt" type="hidden" /><input value="httpd.apache.org" name="as_sitesearch" type="hidden" /><input value="off" name="safe" type="hidden" /></p></form>
 <table id="indextable"><tr><td class="col1"><div class="category"><h2><a name="release" id="release">Hinweise zur Version</a></h2>
 <ul><li><a href="new_features_2_0.html">Neue Funktionen in Version 2.0</a></li>
 <li><a href="upgrading.html">Upgrade auf Version 2.0</a></li>
index 72b834171b8adfbeb717d45213eb6a90219b66c6..6134e0af739357a0c6aa2f32bfb6c9f34aad619a 100644 (file)
@@ -19,7 +19,7 @@
 <div id="path">
 <a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">HTTP Server</a> &gt; <a href="http://httpd.apache.org/docs-project/">Documentation</a></div>
 <div id="page-content"><h1>Apache HTTP Server Version 2.0 Documentation</h1>
-<form action="http://search.apache.org/" method="post"><p><input value="httpd.apache.org" name="what" type="hidden" /><input value="20" name="results" type="hidden" /><input value="2" name="version" type="hidden" /><input size="20" name="keyword" type="text" /> <input value="Search" type="submit" /></p></form>
+<form method="get" action="http://www.google.com/search"><p><input name="as_q" value="" type="text" /> <input value="Google Search" type="submit" /><input value="10" name="num" type="hidden" /><input value="en" name="hl" type="hidden" /><input value="ISO-8859-1" name="ie" type="hidden" /><input value="Google Search" name="btnG" type="hidden" /><input name="as_epq" value="Apache 2.0" type="hidden" /><input name="as_oq" value="" type="hidden" /><input name="as_eq" value="&quot;List-Post&quot;" type="hidden" /><input value="" name="lr" type="hidden" /><input value="i" name="as_ft" type="hidden" /><input value="" name="as_filetype" type="hidden" /><input value="all" name="as_qdr" type="hidden" /><input value="any" name="as_occt" type="hidden" /><input value="i" name="as_dt" type="hidden" /><input value="httpd.apache.org" name="as_sitesearch" type="hidden" /><input value="off" name="safe" type="hidden" /></p></form>
 <table id="indextable"><tr><td class="col1"><div class="category"><h2><a name="release" id="release">Release Notes</a></h2>
 <ul><li><a href="new_features_2_0.html">New features with Apache 2.0</a></li>
 <li><a href="upgrading.html">Upgrading to 2.0 from 1.3</a></li>
index fe22d4ca0dc3ce12d3c7a920e907126d938010b5..5c69b47fbfe9933ebc0279344cd3ebbbf6092c8a 100644 (file)
@@ -67,7 +67,7 @@
  <message name="apachetitle">- Apache HTTP Server</message>
  <message name="apachehttpserver">Apache HTTP Server Version 2.0</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 -->
 
index 5fd50ce498fbefc58fbd8836a6418f995dfca527..8dea36a873137c55b48557d08d80f056c4104077 100644 (file)
@@ -63,7 +63,7 @@
  <message name="apachetitle">- Apache HTTP Server</message>
  <message name="apachehttpserver">Apache HTTP Server Version 2.0</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 -->
 
index 79a16c8cc6e9e189bbb56e41e4f45de7baf61930..9f314005a4e65b276889f74e6fa176f48f45d304 100644 (file)
@@ -58,7 +58,7 @@
  <message name="apachetitle">- Apache HTTP \e$B%5!<%P\e(B</message>
  <message name="apachehttpserver">Apache HTTP \e$B%5!<%P\e(B \e$B%P!<%8%g%s\e(B 2.0</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">\e$B:w0z\e(B</message> <!-- deprecated -->
  <message name="home">\e$B%[!<%`\e(B</message> <!-- deprecated -->
 
index 8e529076d99a2f33d89e6b2a62676acbb522b1dd..64ef02e7381c2fa13dd71edb0a879176edac3c34 100644 (file)
@@ -52,7 +52,7 @@
  <message name="apachetitle">- HTTP ÓÅÒ×ÅÒ Apache</message>
  <message name="apachehttpserver">HTTP ÓÅÒ×ÅÒ Apache ÷ÅÒÓÉÑ 2.0</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 -->
 
index f2fbabeb5e3b9e67ea3c40230260f659b69daa98..e5fa1b0ce7cb0695f9dd536e7d76cacc34c05149 100644 (file)
@@ -12,8 +12,9 @@
 
 <!-- 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"/>
 
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>
index 1446d5f81c54d51802ed86183fe87b0d9ccb9db6..41428d10324411a6ca7786d6298814519a9f9344 100644 (file)
@@ -12,8 +12,9 @@
 
 <!-- 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"/>
 
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>
index 66e6bd4773a4f6d97370b5ffcdda5cd54425075c..8711c48dd1cd6f504465202f1a71ae4cbf90b316 100644 (file)
@@ -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"/>
index c2b1a213ddaf9b6656ee5ed5facc8c74fe28e019..a5c8c8653b92fd0e8eae081e9851f0d69b388382 100644 (file)
@@ -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"/>
index f9cc992e1f6ea2148ff059c446f8f6d80a872b57..0331ccd8a85823edc1654591ad2c7d2461ac5c87 100644 (file)
@@ -12,8 +12,9 @@
 
 <!-- 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"/>
 
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>
index fb2dc0ef00d0737958d76a4494dac8f7fcb32256..dd9d105f86c718a85a379dded04583fe1a054615 100644 (file)
 <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="&quot;List-Post&quot;" 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>