1b154c67ae638bca0391d6e82975f0d77c4f30c4
[exim-website.git] / templates / web / docs.xsl
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
4         
5         <!-- WRAPPER -->
6                 <xsl:import href="../wrapper.xsl"/>
7                 <xsl:template match="/"> <xsl:apply-imports/> </xsl:template>
8                 
9                 <xsl:variable name="docroot" select="'.'"/>
10
11         <!-- Title -->
12                 <xsl:variable name="html.head.title" select="'Documentation for Exim'"/>
13
14                 
15         <xsl:variable name="html.head.append">
16
17                 <!-- Canonical -->
18                         <link rel="canonical" href="http://www.exim.org/docs.html"/>
19
20                 <!-- CSS -->
21                         <link rel="stylesheet" type="text/css" href="docs.css"/>
22         </xsl:variable>
23
24         <!-- JavaScript -->
25                 <xsl:variable name="html.body.append">
26                         <script type="text/javascript" src="docs.js"/>
27                 </xsl:variable>
28
29         <!-- CONTENT -->
30                 <xsl:template name="content">
31
32                         <!-- Title -->
33                                 <h2>
34                                         <xsl:value-of select="$html.head.title"/>
35                                 </h2>
36
37                         <!-- General Doc Info -->
38                                 <p>Exim has a set of documentation released with it. A text file of the main documentation is released as part of the Exim tar archive. Additionally, postscript and texinfo forms of the documentation are available in separate tar archives on the ftp sites. There is also a <a href="http://www.uit.co.uk/exim-book/">book</a>.</p>
39
40                                 <p>New user documentation can be found at the <a href="http://www.exim-new-users.co.uk/">Exim New Users site</a></p>
41
42                                 <p>User supported documentation, FAQs and hints can be found in the <a href="http://wiki.exim.org/">wiki</a>.</p>
43
44                                 <p>There are 3 main sets of documentation for Exim, all of which are also available below in html form.</p>
45
46                                 <p>The main user and configuration manual is the specification document</p>
47
48                                 <p class="manual_info">
49                                         <a href="{$docroot}/exim-html-current/doc/html/spec_html/index.html">
50                                                 <xsl:text>The Exim Specification - Version </xsl:text>
51                                                 <xsl:value-of select="/content/current_version"/>
52                                                 <xsl:text> (HTML)</xsl:text>
53                                         </a>
54                                         <xsl:text> </xsl:text>
55                                         <a href="{$docroot}/exim-pdf-current/doc/spec.pdf">(PDF)</a>
56
57                                         <xsl:text> - The master documentation for Exim containing all required detail to install, configure and use Exim. </xsl:text>
58                                         <span class="changed">Changes to the documentation (normally reflecting changes to the functionality of Exim) are shown on a green background like this segment.</span>
59                                         <br/><select name="spec_old_version">
60                                                 <option value="">View Older Versions</option>
61                                                 <xsl:for-each select="/content/old_versions">
62                                                         <option value="{text()}"><xsl:value-of select="text()"/></option>
63                                                 </xsl:for-each>
64                                         </select>
65                                 </p>
66
67                                 <p class="manual_info">
68                                         <a href="{$docroot}/exim-html-current/doc/html/spec_html/filter.html">
69                                                 <xsl:text>The Exim Filter Specification - Version </xsl:text>
70                                                 <xsl:value-of select="/content/current_version"/>
71                                                 <xsl:text> (HTML)</xsl:text>
72                                         </a>
73                                         <xsl:text> </xsl:text>
74                                         <a href="{$docroot}/exim-pdf-current/doc/filter.pdf">(PDF)</a>
75                                         <xsl:text> - Additional information on the Exim filter language.</xsl:text>
76                                         <br/><select name="filter_old_version">
77                                                 <option value="">View Older Versions</option>
78                                                 <xsl:for-each select="/content/old_versions">
79                                                         <option value="{text()}"><xsl:value-of select="text()"/></option>
80                                                 </xsl:for-each>
81                                         </select>
82                                 </p>
83
84                         <!-- HOWTOs -->
85                                 <h3>HOWTO Documentation</h3>
86                                 <ul id="howto_list">
87                                         <li>
88                                                 <a href="{$docroot}/howto/rbl.html">Using DNS Block Lists</a>
89                                         </li>
90                                         <li>
91                                                 <a href="{$docroot}/howto/mailman21.html">Using mailman 2.1 lists with Exim4</a>
92                                         </li>
93                                 </ul>
94
95                         <!-- FAQS -->
96                                 <h3>Frequently Asked Questions - FAQ</h3>
97                                 <p>
98                                         <xsl:text>The wikified </xsl:text>
99                                         <a href="http://wiki.exim.org/FAQ">FAQ for Exim 4</a>
100                                         <xsl:text> can be found </xsl:text>
101                                         <a href="http://wiki.exim.org/FAQ">here</a>
102                                         <xsl:text>. The FAQ for the obsolete Exim 3 releases can be found on the </xsl:text>
103                                         <a href="{$docroot}/ftp/exim3/">FTP site</a>
104                                         <xsl:text> - see the </xsl:text>
105                                         <a href="{$docroot}/mirrors.html">download</a>
106                                         <xsl:text> pages.</xsl:text>
107                                 </p>    
108
109                         <!-- Copies -->
110                                 <h3>Copies of Documentation</h3>
111                                 <p>Copies of the main Exim documentation in HTML format as used on this site in a compressed tar file are available from the main ftp site and mirrors (see file exim-html-*).</p>
112
113                 </xsl:template>
114
115 </xsl:stylesheet>