]> granicus.if.org Git - apache/commitdiff
- new XML and XSLT for our start page
authorAndré Malo <nd@apache.org>
Sun, 6 Apr 2003 18:01:34 +0000 (18:01 +0000)
committerAndré Malo <nd@apache.org>
Sun, 6 Apr 2003 18:01:34 +0000 (18:01 +0000)
- required some changes in DTD, CSS and style/lang/* files

Reviewed by: Astrid Ke�ler, Erik Abele

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99270 13f79535-47bb-0310-9956-ffa450edef68

15 files changed:
docs/manual/index.html.en
docs/manual/index.xml [new file with mode: 0644]
docs/manual/style/common.dtd
docs/manual/style/css/manual-loose-100pc.css
docs/manual/style/css/manual-print.css
docs/manual/style/css/manual.css
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/manualpage.dtd
docs/manual/style/sitemap.dtd
docs/manual/style/xsl/common.xsl
docs/manual/style/xsl/indexpage.xsl [new file with mode: 0644]
docs/manual/style/xsl/sitemap.xsl

index 6ab693e0b6b5b1a6893d9c25d90fe201731b428b..d2013c7173bc451ae519085db7dff8a32837a5fc 100644 (file)
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>
-
-<title>Apache HTTP Server Version 2.1 Documentation</title><link
-href="./style/css/manual.css" rel="stylesheet" media="all"
-type="text/css" title="Main stylesheet" />
-<style type="text/css" media="all">
-<!--
-/* undo move content left */
-div#page-content {
-    margin-right: 2em;
-    padding-right: 0px;
-    margin-left: 2em;
-}
-
-th {
-    background-color: #e5ecf3;
-}
-
-td {
-    padding-top: .4em;
-}
--->
-</style>
-
-<link
-href="./images/favicon.ico" rel="shortcut icon" /></head><body
-id="manual-page"><div id="page-header"><p class="menu"><a
-href="./mod/">Modules</a> | <a
-href="./mod/directives.html">Directives</a> | <a href="./faq/">FAQ</a>
-| <a href="./glossary.html">Glossary</a> | <a
-href="./sitemap.html">Sitemap</a></p><p class="apache">Apache HTTP
-Server Version 2.1</p><img alt="" src="./images/feather.gif"
-/></div><div class="up"><a href="./"><img title="&lt;-" alt="&lt;-"
-src="./images/left.gif" /></a></div><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> &gt; <a
-href="./">Version 2.1</a></div>
-
-<div id="page-content">
-<h1>Apache HTTP Server Version 2.1 Documentation</h1>
-
-
-
-<div align="center"><form method="post" action="http://search.apache.org/">
-              <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" /> <input type="submit"
-              value="Search" />
-            </form></div>
-
-
-<table style="border: 0">
-<tr><td style="width: 33%">
-
-<table style="width: 100%">
-<tr>
-<th>Release Notes</th>
-</tr>
-<tr><td>
-<a href="new_features_2_0.html">New Features in Version 2.0</a></td></tr>
-              
-<tr><td><a href="upgrading.html">Upgrading to Version
-                2.0</a> </td></tr>
-              
-<tr><td><a href="LICENSE">Apache License</a> </td>
-
-</tr>
-<tr><td>&nbsp;</td></tr>
-<tr>
-<th>Reference Manual</th>
-</tr>
-
-                <tr><td><a href="install.html">Compiling and
-                Installing</a> </td></tr>
-              
-                <tr><td><a href="invoking.html">Starting</a> </td></tr>
-              
-                <tr><td><a href="stopping.html">Stopping or
-                Restarting</a> </td></tr>
-              
-                <tr><td><a href="mod/directives.html">Run-time
-                Configuration Directives</a> </td></tr>
-              
-                <tr><td><a href="mod/quickreference.html">Directive
-                Quick-Reference</a></td></tr>
-
-                <tr><td><a href="mod/">Modules</a> </td></tr>
-              
-                <tr><td><a href="mpm.html">Multi-Processing Modules
-                (MPMs)</a> </td></tr>
-              
-                <tr><td><a href="filter.html">Filters</a> </td></tr>
-              
-                <tr><td><a href="handler.html">Handlers</a> </td></tr>
-              
-                <tr><td><a href="programs/">Server and Supporting
-                Programs</a> </td></tr>
-              
-                <tr><td><a href="glossary.html">Glossary</a> </td></tr>
-</table>
-</td>
-
-<td style="width: 33%">
-<table style="width: 100%">
-<tr>
-<th>Users' Guide</th>
-</tr>
-
-                <tr><td><a href="bind.html">Binding</a></td></tr>
-              
-                <tr><td><a href="configuring.html">Configuration
-                Files</a> </td></tr>
-
-                <tr><td><a href="sections.html">Configuration
-                Sections</a></td></tr>
-              
-                <tr><td><a href="content-negotiation.html">Content
-                Negotiation</a> </td></tr>
-              
-                <tr><td><a href="dso.html">Dynamic Shared 
-                Objects (DSO)</a> </td></tr>
-              
-                <tr><td><a href="env.html">Environment Variables</a>
-                </td></tr>
-              
-              
-                <tr><td><a href="logs.html">Log Files</a> </td></tr>
-              
-                <tr><td><a href="urlmapping.html">Mapping URLs to the
-                Filesystem</a> </td></tr>
-              
-                <tr><td><a href="misc/perf-tuning.html">Performance 
-                Tuning</a> </td></tr>
-              
-                <tr><td><a href="misc/security_tips.html">Security
-                Tips</a> </td></tr>
-              
-                <tr><td><a href="server-wide.html">Server-Wide
-                Configuration</a> </td></tr>
-              
-                <tr><td><a href="ssl/">SSL/TLS Encryption</a></td></tr>
-              
-                <tr><td><a href="suexec.html">Suexec Execution
-                for CGI</a> </td></tr>
-              
-                <tr><td><a href="misc/rewriteguide.html">URL Rewriting
-                Guide</a> </td></tr>
-              
-                <tr><td><a href="vhosts/">Virtual Hosts</a> </td></tr>
-
-</table>
-</td>
-<td style="width: 33%">
-<table style="width: 100$">
-<tr>
-<th>How-To / Tutorials</th>
-</tr>
-
-                <tr><td><a href="howto/auth.html">Authentication,
-                Authorization, and Access Control</a></td></tr>
-              
-                <tr><td><a href="howto/cgi.html">CGI: Dynamic 
-                Content</a> </td></tr>
-
-                <tr><td><a
-                href="howto/htaccess.html"><code>.htaccess</code> files</a>
-                </td></tr>
-
-                <tr><td><a href="howto/ssi.html">Server Side
-                Includes (SSI)</a> </td></tr>
-              
-                <tr><td><a href="howto/public_html.html">Per-user Web
-                Directories (<code>public_html</code>)</a> </td></tr>
-
-<tr><td>&nbsp;</td></tr>
-<tr>
-<th>Platform Specific Notes</th>
-</tr>
-                <tr><td><a href="platform/windows.html">Microsoft
-                Windows</a> </td></tr>
-
-                <tr><td><a href="platform/netware.html">Novell NetWare
-                </a> </td></tr>
-
-                <tr><td><a href="platform/ebcdic.html">EBCDIC Port
-                </a> </td></tr>
-
-<tr><td>&nbsp;</td></tr>
-<tr>
-<th>Other Topics</th>
-</tr>
-
-                <tr><td><a href="faq/">Frequently Asked Questions</a>
-                </td></tr>
-              
-                <tr><td><a href="sitemap.html">Sitemap</a>
-                </td></tr>
-              
-                <tr><td><a href="developer/">Documentation for
-                Developers</a> </td></tr>
-              
-                <tr><td><a href="misc/">Other Notes</a> </td></tr>
-</table>
-
-</td></tr></table>
-
-</div>    
-<div id="footer"><p class="apache">Maintained by the <a
-href="http://httpd.apache.org/docs-project/">Apache HTTP Server
-Documentation Project</a></p><p class="menu"><a
-href="./mod/">Modules</a> | <a
-href="./mod/directives.html">Directives</a> | <a href="./faq/">FAQ</a>
-| <a href="./glossary.html">Glossary</a> | <a
-href="./sitemap.html">Sitemap</a></p></div></body></html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
+        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+              This file is generated from xml source: DO NOT EDIT
+        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+      -->
+<title>Apache HTTP Server Version 2.1 Documentation - Apache HTTP Server</title>
+<link href="./style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
+<link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
+<link href="./style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
+<link href="./images/favicon.ico" rel="shortcut icon" /></head>
+<body id="index-page">
+<div id="page-header">
+<p class="menu"><a href="./mod/">Modules</a> | <a href="./mod/directives.html">Directives</a> | <a href="./faq/">FAQ</a> | <a href="./glossary.html">Glossary</a> | <a href="./sitemap.html">Sitemap</a></p>
+<p class="apache">Apache HTTP Server Version 2.1</p>
+<img alt="" src="./images/feather.gif" /></div>
+<div class="up"><a href="http://httpd.apache.org/docs-project/"><img title="&lt;-" alt="&lt;-" src="./images/left.gif" /></a></div>
+<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.1 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>
+<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>
+<li><a href="LICENSE">Apache License</a></li>
+</ul>
+</div><div class="category"><h2><a name="manual" id="manual">Reference Manual</a></h2>
+<ul><li><a href="install.html">Compiling and Installing</a></li>
+<li><a href="invoking.html">Starting</a></li>
+<li><a href="stopping.html">Stopping or Restarting</a></li>
+<li><a href="mod/directives.html">Run-time Configuration Directives</a></li>
+<li><a href="mod/quickreference.html">Directive Quick-Reference</a></li>
+<li><a href="mod/">Modules</a></li>
+<li><a href="mpm.html">Multi-Processing Modules (MPMs)</a></li>
+<li><a href="filter.html">Filters</a></li>
+<li><a href="handler.html">Handlers</a></li>
+<li><a href="programs/">Server and Supporting Programs</a></li>
+<li><a href="glossary.html">Glossary</a></li>
+</ul>
+</div></td><td><div class="category"><h2><a name="usersguide" id="usersguide">Users' Guide</a></h2>
+<ul><li><a href="bind.html">Binding</a></li>
+<li><a href="configuring.html">Configuration Files</a></li>
+<li><a href="sections.html">Configuration Sections</a></li>
+<li><a href="content-negotiation.html">Content Negotiation</a></li>
+<li><a href="dso.html">Dynamic Shared Objects (DSO)</a></li>
+<li><a href="env.html">Environment Variables</a></li>
+<li><a href="logs.html">Log Files</a></li>
+<li><a href="urlmapping.html">Mapping URLs to the Filesystem</a></li>
+<li><a href="misc/perf-tuning.html">Performance Tuning</a></li>
+<li><a href="misc/security_tips.html">Security Tips</a></li>
+<li><a href="server-wide.html">Server-Wide Configuration</a></li>
+<li><a href="ssl/">SSL/TLS Encryption</a></li>
+<li><a href="suexec.html">Suexec Execution for CGI</a></li>
+<li><a href="misc/rewriteguide.html">URL Rewriting Guide</a></li>
+<li><a href="vhosts/">Virtual Hosts</a></li>
+</ul>
+</div></td><td class="col3"><div class="category"><h2><a name="howto" id="howto">How-To / Tutorials</a></h2>
+<ul><li><a href="howto/auth.html">Authentication, Authorization, and Access
+    Control</a></li>
+<li><a href="howto/cgi.html">CGI: Dynamic Content</a></li>
+<li><a href="howto/htaccess.html">.htaccess files</a></li>
+<li><a href="howto/ssi.html">Server Side Includes (SSI)</a></li>
+<li><a href="howto/public_html.html">Per-user Web Directories
+    (public_html)</a></li>
+</ul>
+</div><div class="category"><h2><a name="platform" id="platform">Platform Specific Notes</a></h2>
+<ul><li><a href="platform/windows.html">Microsoft Windows</a></li>
+<li><a href="platform/netware.html">Novell NetWare</a></li>
+<li><a href="platform/ebcdic.html">EBCDIC Port</a></li>
+</ul>
+</div><div class="category"><h2><a name="other" id="other">Other Topics</a></h2>
+<ul><li><a href="faq/">Frequently Asked Questions</a></li>
+<li><a href="sitemap.html">Sitemap</a></li>
+<li><a href="developer/">Documentation for Developers</a></li>
+<li><a href="misc/">Other Notes</a></li>
+</ul>
+</div></td></tr></table></div>
+<div id="footer">
+<p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p>
+<p class="menu"><a href="./mod/">Modules</a> | <a href="./mod/directives.html">Directives</a> | <a href="./faq/">FAQ</a> | <a href="./glossary.html">Glossary</a> | <a href="./sitemap.html">Sitemap</a></p></div>
+</body></html>
\ No newline at end of file
diff --git a/docs/manual/index.xml b/docs/manual/index.xml
new file mode 100644 (file)
index 0000000..f195a92
--- /dev/null
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE indexpage SYSTEM "./style/sitemap.dtd">
+<?xml-stylesheet type="text/xsl" href="./style/manual.en.xsl"?>
+
+<indexpage>
+<relativepath href="."/>
+<parentdocument href="http://httpd.apache.org/docs-project/" />
+
+<title>Apache HTTP Server Version 2.1 Documentation</title>
+
+<category id="release"><title>Release Notes</title>
+    <page href="new_features_2_0.html">New features with Apache 2.0</page>
+    <page href="upgrading.html">Upgrading to 2.0 from 1.3</page>
+    <page href="LICENSE">Apache License</page>
+</category>
+
+<category id="manual"><title>Reference Manual</title>
+    <page href="install.html">Compiling and Installing</page>
+    <page href="invoking.html">Starting</page>
+    <page href="stopping.html">Stopping or Restarting</page>
+    <page href="mod/directives.html">Run-time Configuration Directives</page>
+    <page href="mod/quickreference.html">Directive Quick-Reference</page>
+    <page href="mod/">Modules</page>
+    <page href="mpm.html">Multi-Processing Modules (MPMs)</page>
+    <page href="filter.html">Filters</page>
+    <page href="handler.html">Handlers</page>
+    <page href="programs/">Server and Supporting Programs</page>
+    <page href="glossary.html">Glossary</page>
+</category>    
+
+<category id="usersguide"><title>Users' Guide</title>
+    <page href="bind.html">Binding</page>
+    <page href="configuring.html">Configuration Files</page>
+    <page href="sections.html">Configuration Sections</page>
+    <page href="content-negotiation.html">Content Negotiation</page>
+    <page href="dso.html">Dynamic Shared Objects (DSO)</page>
+    <page href="env.html">Environment Variables</page>
+    <page href="logs.html">Log Files</page>
+    <page href="urlmapping.html">Mapping URLs to the Filesystem</page>
+    <page href="misc/perf-tuning.html">Performance Tuning</page>
+    <page href="misc/security_tips.html">Security Tips</page>
+    <page href="server-wide.html">Server-Wide Configuration</page>
+    <page href="ssl/">SSL/TLS Encryption</page>
+    <page href="suexec.html">Suexec Execution for CGI</page>
+    <page href="misc/rewriteguide.html">URL Rewriting Guide</page>
+    <page href="vhosts/">Virtual Hosts</page>
+</category>
+
+<category id="howto"><title>How-To / Tutorials</title>
+    <page href="howto/auth.html">Authentication, Authorization, and Access
+    Control</page>
+    <page href="howto/cgi.html">CGI: Dynamic Content</page>
+    <page href="howto/htaccess.html">.htaccess files</page>
+    <page href="howto/ssi.html">Server Side Includes (SSI)</page>
+    <page href="howto/public_html.html">Per-user Web Directories
+    (public_html)</page>
+</category>
+
+<category id="platform"><title>Platform Specific Notes</title>
+    <page href="platform/windows.html">Microsoft Windows</page>
+    <page href="platform/netware.html">Novell NetWare</page>
+    <page href="platform/ebcdic.html">EBCDIC Port</page>
+</category>
+
+<category id="other"><title>Other Topics</title>
+    <page href="faq/">Frequently Asked Questions</page>
+    <page href="sitemap.html">Sitemap</page>
+    <page href="developer/">Documentation for Developers</page>
+    <page href="misc/">Other Notes</page>
+</category>
+
+</indexpage>
+
index 6ad4661f248ead0d952d3ab133bd483da63905c6..8ad730438a1d748c95a7411e65bd7ff2c3eb2704 100644 (file)
   width       CDATA   #IMPLIED >
 
 <!ELEMENT blockquote %Block;>
-<!ATTLIST blockquote cite CDATA #IMPLIED >
\ No newline at end of file
+<!ATTLIST blockquote cite CDATA #IMPLIED >
+
+<!-- The path to the root of the documentation from the current doc -->
+<!ELEMENT relativepath EMPTY>
+<!ATTLIST relativepath href CDATA #REQUIRED >
+
+<!-- The path and title of the parent document -->
+<!ELEMENT parentdocument (#PCDATA)>
+<!ATTLIST parentdocument href CDATA #REQUIRED >
index 493e39d9a5331f929a11ca3ad838ab398942c063..56877371203525e0bec428c739a115a3b3748ac0 100644 (file)
@@ -38,6 +38,10 @@ h2 {
     font-size: 1.2em;
 }
 
+.category h2 {
+    font-size: 1em;
+}
+
 h3 {
     font-size: 1.1em;
 }
index bffd210f8e0afafd5df08cd1187758f7bfe705d5..54c299f9b6c6f9d0a0bc1a9d600d904e392728e6 100644 (file)
@@ -129,7 +129,8 @@ h2 {
 }
 
 .section h2,
-.directive-section h2 {
+.directive-section h2,
+.category h2 {
     background-color: #fff;
     color: #000;
 }
@@ -675,6 +676,10 @@ p.indent {
     margin-top: 1em;
 }
 
+#index-page form {
+    display: none;
+}
+
 p.figure {
     margin-left: 2em;
     font-style: italic;
index 66ebc39dedf486259b6db887bd33fb5f39ef90a9..3085be20cc236e7cebc76e980d198a9e23f2613a 100644 (file)
@@ -191,6 +191,12 @@ h2 {
     color: #fff;
 }
 
+.category h2 {
+    background-color: #e5ecf3;
+    color: #405871;
+    font-size: 14px;
+}
+
 /* take care of <a name>s inside */
 h2 a,
 h2 a:hover,
@@ -363,6 +369,38 @@ table table.bordered th {
     border: 1px solid #aaa;
 }
 
+/* index page layout table */
+/* ======================= */
+body#index-page div#page-content {
+    width: 100%; /* IE fun */
+}
+
+body[id]#index-page div#page-content {
+    width: auto; /* reasonable browsers. */
+}
+
+table#indextable {
+    width: 100%;
+    border-collapse: collapse;
+    border: 0 none;
+}
+
+table#indextable td {
+    width: 33.3%;
+    border-left: 1px solid #aaa;
+    padding-top: 0;
+    padding-bottom: 0;
+}
+
+table#indextable td.col1 {
+    border-left: 0 none;
+    padding-left: 0;
+}
+
+table#indextable td.col3 {
+    padding-right: 0;
+}
+
 /* mod/dir. overview table and quick reference  */
 /* ============================================ */
 table.module th,
@@ -530,6 +568,18 @@ div#directive-list ul {
     padding: 0;
 }
 
+/* indextable */
+/* ========== */
+table#indextable td ul {
+    list-style-type: none;
+    margin: 0 0 1em 0.5em;
+    padding: 0 0 0 0;
+}
+
+table#indextable td ul li {
+    margin-top: 0.3em;
+}
+
 /* sidebar                */
 /* ====================== */
 div#quickview li {
@@ -679,6 +729,14 @@ div#page-content {
     padding-right: 30px;
 }
 
+/* unsqueeze on some pages... */
+body#index-page div#page-content {
+    margin-left: 30px;
+    margin-right: 0;
+    padding-right: 0;
+    padding-bottom: 1em;
+}
+
 /* in general */
 p {
     line-height: 1.3em;
@@ -790,7 +848,7 @@ table div.warning {
 }
 
 /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- * quotations, indented paragraphs and figures
+ * quotations, indented paragraphs, forms and figures
  * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
 p.letters {
     margin: 1em 0 0 0;
@@ -838,6 +896,18 @@ span.indent {
     display: block;
 }
 
+#index-page form {
+    text-align: center;
+}
+
+#index-page form p {
+    line-height: 1.1em;
+}
+
+#index-page form input {
+    font-size: 1em;
+}
+
 p.figure {
     margin-left: 2em;
     font-style: italic;
index fd5a0660a304bab5c30e6cac2bb900a729ab337e..c852a91ef55f7d32814680b426959b2c345fd976 100644 (file)
@@ -66,6 +66,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="index">Index</message> <!-- deprecated -->
  <message name="home">Startseite</message> <!-- deprecated -->
 
index 57677dcf08d41b0294afe349091d7c12fe2d7e3c..1e34fe0ffe7cd4f924f4d16b6fed2a6e8024b259 100644 (file)
@@ -63,6 +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="index">Index</message> <!-- deprecated -->
  <message name="home">Home</message> <!-- deprecated -->
 
index 97465ee2a7130730520bf5d73394f3864ed56777..7fb10f6722622b0b70840ef8640ac63ca14d5383 100644 (file)
@@ -58,6 +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.1</message>
  <message name="apachedocalt">[APACHE DOCUMENTATION]</message>
+ <message name="search">Search</message> <!-- search button -->
  <message name="index">\e$B:w0z\e(B</message> <!-- deprecated -->
  <message name="home">\e$B%[!<%`\e(B</message> <!-- deprecated -->
 
index 53943823cd9acef8bebc58a34ebf986376dfd64e..d3d755ff584c3e93c459f58d1b771c319226b7ef 100644 (file)
@@ -52,6 +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="index">ïÇÌÁ×ÌÅÎÉÅ</message> <!-- deprecated -->
  <message name="home">îÁ ÇÌÁ×ÎÕÀ ÓÔÒÁÎÉÃÕ</message> <!-- deprecated -->
 
index 2bdb498e7a4630a8034a14fedfd76209032df741..a0ef109ee978a5c176fce5c9109aecbdbd67e635 100644 (file)
@@ -6,11 +6,3 @@
 <!-- <manualpage> is the root element -->
 <!ELEMENT manualpage (relativepath, parentdocument?, title, summary?,
 seealso*, section*)>
-
-<!-- The path to the root of the documentation from the current doc -->
-<!ELEMENT relativepath EMPTY>
-<!ATTLIST relativepath href CDATA #REQUIRED >
-
-<!-- The path and title of the parent document -->
-<!ELEMENT parentdocument (#PCDATA)>
-<!ATTLIST parentdocument href CDATA #REQUIRED >
index 89808e796459a48550cb7ed3160cce05804883e5..e326afdbd9bf7376fa0f5ccb7960947c97cfc4c0 100644 (file)
@@ -6,6 +6,9 @@
 <!-- <sitemap> is the root element -->
 <!ELEMENT sitemap (relativepath, title, summary?, seealso*, category*)>
 
+<!-- <indexpage> is another root element -->
+<!ELEMENT indexpage (relativepath, parentdocument, title, category*)>
+
 <!ELEMENT category (title, page*, modulefilelist? )>
 <!ATTLIST category id ID #IMPLIED>
 
@@ -15,8 +18,3 @@
 
 <!ELEMENT modulefilelist (modulefile*) >
 <!ELEMENT modulefile (#PCDATA) >
-
-<!-- The path to the root of the documentation from the current doc -->
-<!ELEMENT relativepath EMPTY>
-<!ATTLIST relativepath href CDATA #REQUIRED >
-
index 0fed1753da1212bc4155a47a378b98a3dc4cf752..12b88d500863c7136651fd070647b01f259044cc 100644 (file)
@@ -39,6 +39,7 @@
   <xsl:include href="manualpage.xsl"/>
   <xsl:include href="synopsis.xsl"/>
   <xsl:include href="sitemap.xsl"/>
+  <xsl:include href="indexpage.xsl"/>
   <xsl:include href="quickreference.xsl"/>
 
   <!-- make sure, we set relative anchors
       <a href="http://httpd.apache.org/docs-project/">
         <xsl:value-of select="$messages/message[@name='documentation']"/>
       </a>
-      <xsl:text> &gt; </xsl:text>
-      <a href="{$path}/">
-        <xsl:value-of select="$messages/message[@name='version']"/>
-      </a>
+      <xsl:if test="not(../indexpage)">
+        <xsl:text> &gt; </xsl:text>
+        <a href="{$path}/">
+          <xsl:value-of select="$messages/message[@name='version']"/>
+        </a>
+      </xsl:if>
       <xsl:if test="../modulesynopsis or ../directiveindex or ../quickreference">
         <xsl:text> &gt; </xsl:text>
         <a href="./">
diff --git a/docs/manual/style/xsl/indexpage.xsl b/docs/manual/style/xsl/indexpage.xsl
new file mode 100644 (file)
index 0000000..fb2dc0e
--- /dev/null
@@ -0,0 +1,159 @@
+<?xml version="1.0"?>
+<!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp "&#160;"> ]>
+<xsl:stylesheet version="1.0"
+              xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                  xmlns="http://www.w3.org/1999/xhtml">
+
+  <!-- three columns, select were the particular categories shall be
+       placed in. (order is irrelevant, they're placed in document order) -->
+
+  <xsl:variable name="indexpage-column1" select="'
+    release
+    manual
+  '"/>
+
+  <xsl:variable name="indexpage-column2" select="'
+    usersguide
+  '"/>
+
+  <xsl:variable name="indexpage-column3" select="'
+    howto
+    platform
+    other
+  '"/>
+
+  <!--                                                    -->
+  <!-- <indexpage>                                        -->
+  <!-- Process an entire document into an HTML page       -->
+  <!--                                                    -->
+  <xsl:template match="/indexpage">
+    <html xml:lang="{$messages/@lang}" lang="{$messages/@lang}">
+      <xsl:call-template name="head"/>
+
+<xsl:text>
+</xsl:text> <!-- insert line break -->
+
+      <body id="index-page">
+
+<xsl:text>
+</xsl:text> <!-- insert line break -->
+
+        <xsl:call-template name="top"/>          
+
+<xsl:text>
+</xsl:text> <!-- insert line break -->
+
+        <div id="page-content">
+          <h1>
+            <xsl:value-of select="title"/>
+          </h1>
+
+<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']}" />
+          </p></form>
+
+<xsl:text>
+</xsl:text> <!-- insert line break -->
+
+          <table id="indextable">
+            <tr>
+              <td class="col1">
+                <xsl:apply-templates
+                    select="category[contains($indexpage-column1, @id)]"/>
+              </td>
+              <td>
+                <xsl:apply-templates
+                    select="category[contains($indexpage-column2, @id)]"/>
+              </td>
+              <td class="col3">
+                <xsl:apply-templates
+                    select="category[contains($indexpage-column3, @id)]"/>
+              </td>
+            </tr>
+          </table>
+        </div> <!-- /page-content -->
+
+<xsl:text>
+</xsl:text> <!-- insert line break -->
+
+        <xsl:call-template name="bottom"/>
+
+<xsl:text>
+</xsl:text> <!-- insert line break -->
+
+      </body>
+    </html>
+  </xsl:template>
+  
+
+  <!--                                                    -->
+  <!-- category/page                                      -->
+  <!--                                                    -->
+  <xsl:template match="indexpage/category/page">
+    <li>
+      <xsl:if test="@separate='yes'">
+        <xsl:attribute name="class">separate</xsl:attribute>
+      </xsl:if>
+
+      <xsl:if test="@href">
+        <a href="{@href}">
+          <xsl:value-of select="."/>
+        </a>
+      </xsl:if>
+      <xsl:if test="not(@href)">
+        <xsl:value-of select="."/>
+      </xsl:if>
+    </li>
+
+<xsl:text>
+</xsl:text> <!-- insert line break -->
+
+  </xsl:template>
+  <!-- /category/page -->
+
+
+  <!--                                                            -->
+  <!-- Process a sitemap category                                 -->
+  <!--                                                            -->
+  <xsl:template match="indexpage/category">
+
+    <div class="category">
+
+      <!-- Section heading -->
+      <h2>
+        <xsl:if test="@id">
+          <a id="{@id}" name="{@id}">
+            <xsl:apply-templates select="title" mode="print"/>
+          </a>
+        </xsl:if>
+
+        <xsl:if test="not(@id)">
+          <xsl:apply-templates select="title" mode="print"/>
+        </xsl:if>
+      </h2>
+
+<xsl:text>
+</xsl:text> <!-- insert line break -->
+
+      <!-- category body -->
+      <ul>
+        <xsl:apply-templates select="page"/>
+      </ul>
+      
+<xsl:text>
+</xsl:text> <!-- insert line break -->
+
+    </div> <!-- /.section -->
+  </xsl:template>
+  <!-- /category -->
+
+</xsl:stylesheet>
+
index 1436b829b6931497d6f4b7f67a3983d89518d8a1..c01ffe4d10afe14b61289830cee8b1455f6c0702 100644 (file)
   <!--                                                    -->
   <!-- category/page                                      -->
   <!--                                                    -->
-  <xsl:template match="category/page">
+  <xsl:template match="sitemap/category/page">
     <li>
       <xsl:if test="@separate='yes'">
         <xsl:attribute name="class">separate</xsl:attribute>
   <!--                                                            -->
   <!-- Process a sitemap category                                 -->
   <!--                                                            -->
-  <xsl:template match="category">
+  <xsl:template match="sitemap/category">
 
     <xsl:call-template name="toplink"/>
 
   <!-- category/modulefilelist                            -->
   <!-- insert module list into sitemap                    -->
   <!--                                                    -->
-  <xsl:template match="category/modulefilelist">
+  <xsl:template match="sitemap/category/modulefilelist">
 
     <!-- create our own translation list first -->
     <xsl:variable name="translist">