doc/en/index.xsl
Nik Clayton 4eddb3af01 XSL equivalent to the current index.sgml.
In addition, it knows how to parse entries in news/news.xml, and can include
the last four news entries, with links, on the main page.
2001-08-06 07:04:31 +00:00

425 lines
16 KiB
XML

<!-- $FreeBSD$ -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:import href="includes.xsl"/>
<xsl:import href="news/includes.xsl"/>
<xsl:variable name="base" select="'.'"/>
<xsl:variable name="date" select="'$FreeBSD$'"/>
<xsl:variable name="title" select="'The FreeBSD Project'"/>
<xsl:output type="html" encoding="iso-8859-1"/>
<xsl:template match="/">
<html>
<head>
<title><xsl:value-of select="$title"/></title>
<meta name="description" content="The FreeBSD Project"/>
<meta name="keywords" content="FreeBSD, BSD, UNIX, Support, Gallery,
Release, Application, Software, Handbook, FAQ, Tutorials, Bugs,
CVS, CVSup, News, Commercial Vendors, homepage, CTM, Unix"/>
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#840084"
alink="#0000FF">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="http://www.FreeBSD.org/index.html">
<img src="gifs/freebsd_1.gif" height="94" width="306"
alt="FreeBSD: The Power to Serve" border="0"/></a></td>
<td align="right" valign="bottom" width="300">
<form action="http://www.FreeBSD.org/cgi/mirror.cgi"
method="GET">
<br/>
<font color="#990000"><b>Select a server near you:</b></font>
<br/>
<select name="goto">
<!-- Only list TRUE mirrrors here! Native language pages
which are not mirrored should be listed in
support.sgml. -->
<option value="http://www.jp.FreeBSD.org/www.FreeBSD.org/">6Bone(IPv6)</option>
<option value="http://www.au.FreeBSD.org/">Australia/1</option>
<option value="http://www.br.FreeBSD.org/www.freebsd.org/">Brazil/1</option>
<option value="http://www2.br.FreeBSD.org/www.freebsd.org/">Brazil/2</option>
<option value="http://www3.br.FreeBSD.org/">Brazil/3</option>
<option value="http://www.bg.FreeBSD.org/">Bulgaria</option>
<option value="http://www.ca.FreeBSD.org/">Canada/1</option>
<option value="http://www.cn.FreeBSD.org/">China</option>
<option value="http://www.cz.FreeBSD.org/">Czech Republic</option>
<option value="http://www.dk.FreeBSD.org/">Denmark</option>
<option value="http://www.ee.FreeBSD.org/">Estonia</option>
<option value="http://www.fi.FreeBSD.org/">Finland</option>
<option value="http://www.fr.FreeBSD.org/">France</option>
<option value="http://www.de.FreeBSD.org/">Germany/1</option>
<option value="http://www1.de.FreeBSD.org/">Germany/2</option>
<option value="http://www2.de.FreeBSD.org/">Germany/3</option>
<option value="http://www.gr.FreeBSD.org/">Greece</option>
<option value="http://www.hu.FreeBSD.org/">Hungary</option>
<option value="http://www.ie.FreeBSD.org/">Ireland</option>
<option value="http://www.it.FreeBSD.org/">Italy/1</option>
<option value="http://www.gufi.org/mirrors/www.freebsd.org/data/">Italy/2</option>
<option value="http://www.jp.FreeBSD.org/www.FreeBSD.org/">Japan</option>
<option value="http://www.kr.FreeBSD.org/">Korea</option>
<option value="http://www2.kr.FreeBSD.org/">Korea/2</option>
<option value="http://www.lv.FreeBSD.org/">Latvia</option>
<option value="http://www.nl.FreeBSD.org/">Netherlands</option>
<option value="http://www2.nl.FreeBSD.org/">Netherlands/2</option>
<option value="http://www.nz.FreeBSD.org/">New Zealand</option>
<option value="http://www.no.FreeBSD.org/">Norway</option>
<option value="http://www.pl.FreeBSD.org/">Poland/1</option>
<option value="http://www2.pl.FreeBSD.org/">Poland/2</option>
<option value="http://www.pt.FreeBSD.org/">Portugal/1</option>
<option value="http://www2.pt.FreeBSD.org/">Portugal/2</option>
<option value="http://www.ro.FreeBSD.org/">Romania</option>
<option value="http://www.ru.FreeBSD.org/">Russia/1</option>
<option value="http://www2.ru.FreeBSD.org/">Russia/2</option>
<option value="http://www3.ru.FreeBSD.org/">Russia/3</option>
<option value="http://www4.ru.FreeBSD.org/">Russia/4</option>
<option value="http://www.sg.FreeBSD.org/">Singapore</option>
<option value="http://www.sk.FreeBSD.org/">Slovak Republic</option>
<option value="http://www.si.FreeBSD.org/">Slovenia</option>
<option value="http://www.es.FreeBSD.org/">Spain</option>
<option value="http://www.za.FreeBSD.org/">South Africa/1</option>
<option value="http://www2.za.FreeBSD.org/">South Africa/2</option>
<option value="http://www.se.FreeBSD.org/">Sweden</option>
<option value="http://www.ch.FreeBSD.org/">Switzerland</option>
<option value="http://www.tw.FreeBSD.org/www.freebsd.org/data/">Taiwan</option>
<option value="http://www.tr.FreeBSD.org/">Turkey</option>
<option value="http://www.enderunix.org/freebsd/">Turkey/2</option>
<option value="http://www.ua.FreeBSD.org/">Ukraine/1</option>
<option value="http://www2.ua.FreeBSD.org/">Ukraine/2</option>
<option value="http://www4.ua.FreeBSD.org/">Ukraine/Crimea</option>
<option value="http://www.uk.FreeBSD.org/">United Kingdom/1</option>
<option value="http://www2.uk.FreeBSD.org/">United Kingdom/2</option>
<option value="http://www3.uk.FreeBSD.org/">United Kingdom/3</option>
<option value="http://www.FreeBSD.org/">USA/California</option>
</select>
<input type="submit" value=" Go "/>
<br/>
<font color="#990000"><b>Language:</b></font>
<a href="ja/">Japanese</a>,
<a href="es/index.html">Spanish</a>,
<a href="ru/index.html">Russian</a>,
<a href="support.html#web">Other</a>
</form>
</td>
</tr>
</table>
<br/>
<!-- Security alert -->
<table width="100%" bgcolor="#990000"
cellpadding="4" cellspacing="0" border="0">
<tr>
<td>
<h2 align="center">
<font color="#FFFFFF">IMPORTANT</font></h2>
<p><font color="#FFFFFF">Please be aware that the telnet
daemon shipping in FreeBSD prior to July 23, 2001
contains a remotely exploitable security problem. See the
<a href="ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-01:49.telnetd.v1.1.asc">
security advisory</a> for more details.</font></p></td>
</tr>
</table>
<hr size="1" noshade="noshade"/>
<!-- Main layout table -->
<table border="0" cellspacing="0" cellpadding="2">
<tr>
<!-- Red strip down left hand of sidebar -->
<td bgcolor="#990000">&#xa0;</td>
<td bgcolor="#ffcc66">&#xa0;</td>
<td></td>
<!-- Main body column -->
<td rowspan="2" align="left" valign="top">
<!-- News / release info table -->
<table border="0" cellspacing="0" cellpadding="1"
bgcolor="#000000" width="100%">
<tr>
<td>
<table cellpadding="4" cellspacing="0" border="0"
bgcolor="#ffcc66" width="100%">
<tr>
<td valign="top"><b>Headlines</b><br/>
<font size="-1">
<!-- Code to pull in the most recent four news
items -->
<xsl:for-each select="descendant::event[position() &lt;= 4]">
>> <a>
<xsl:attribute name="href">
news/newsflash.html#<xsl:call-template name="generate-event-anchor"/>
</xsl:attribute>
<xsl:choose>
<xsl:when test="count(child::title)">
<xsl:value-of select="title"/><br/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="p"/><br/>
</xsl:otherwise>
</xsl:choose>
</a>
</xsl:for-each>
</font>
</td>
<td valign="top"><b>Current Release:
<xsl:value-of select="$rel.current"/></b><br/>
<small>>> <a href="{$u.rel.announce}">Announcement</a><br/>
>> <a href="{$base}/doc/en_US.ISO8859-1/books/handbook/install.html">Installation Guide</a><br/>
>> <a href="{$u.rel.notes}">Release Notes</a><br/>
>> <a href="{$u.rel.errata}">Errata</a></small></td>
</tr>
</table>
</td>
</tr>
</table>
<h2><font color="#990000">What is FreeBSD?</font></h2>
<p>FreeBSD is an advanced BSD UNIX operating system for the
Intel compatible (x86), DEC Alpha, and PC-98 architectures.
It is developed and maintained by
<a href="{$base}/handbook/staff.html">a large team of
individuals</a>. Additional
<a href="{$base}/platforms/index.html">platforms</a> are in
various stages of development.</p>
<h2><font color="#990000">Cutting edge features</font></h2>
<p>FreeBSD offers advanced networking, performance, security
and compatibility
<a href="{$base}/features.html">features</a>
today which are still missing in other operating systems,
even some of the best commercial ones.</p>
<h2><font color="#990000">Powerful Internet solutions</font></h2>
<p>FreeBSD makes an ideal
<a href="{$base}/internet.html">Internet or Intranet</a>
server. It provides robust network services,
even under the heaviest of loads, and uses memory efficiently
to maintain good response times for hundreds, or even
thousands, of simultaneous user processes. Visit our
<a href="gallery/gallery.html">gallery</a> for examples of
FreeBSD powered applications and services.</p>
<h2><font color="#990000">Run a huge variety of
applications</font></h2>
<p>The quality of FreeBSD combined with today's low-cost,
high-speed PC hardware makes FreeBSD a very economical
alternative to commercial UNIX workstations. It is well-suited
for a great number of both desktop and server
<a href="{$base}/applications.html">applications</a>.</p>
<h2><font color="#990000">Easy to install</font></h2>
<p>FreeBSD can be installed from a variety of media including
CD-ROM, floppy disk, magnetic tape, an MS-DOS partition, or if
you have a network connection, you can install it
<i>directly</i> over anonymous FTP or NFS. All you need is a
pair of blank, 1.44MB floppies and
<a href="{$base}/handbook/install.html">these
directions</a>.</p>
<h2><font color="#990000">FreeBSD is <i>free</i></font></h2>
<a href="copyright/daemon.html"><img src="gifs/dae_up3.gif"
alt=""
height="81" width="72"
align="right"
border="0"/></a>
<p>While you might expect an operating system with these
features to sell for a high price, FreeBSD is available
<a href="{$base}/copyright/index.html">free of charge</a>
and comes with full source code. If you would like to try it
out,
<a
href="{$base}/doc/en_US.ISO8859-1/books/handbook/mirrors.html">more
information is available</a>.</p>
<h2><font color="#990000">Contributing to FreeBSD</font></h2>
<p>It is easy to contribute to FreeBSD. All you need to do
is find a part of FreeBSD which you think could be
improved and make those changes (carefully and cleanly)
and submit that back to the Project by means of send-pr
or a committer, if you know one. This could be anything
from documentation to artwork to source code. See the
<a href="http://www.FreeBSD.org/handbook/contrib.html">Contributing
to FreeBSD</a> section in the FreeBSD Handbook.</p>
<br/>
<table border="3" cellspacing="0" cellpadding="5">
<tr>
<td>To learn more about FreeBSD, visit our gallery of
FreeBSD related
<a href="{$base}/publish.html">publications</a> or
<a href="news/press.html">FreeBSD in the press</a>, and
browse through this website!</td>
</tr>
</table>
</td>
</tr>
<!-- New row for the strip of links that normally runs down the
left hand side. This is set up this way so that if you are
viewing the site in a browser that does not support tables
the main body copy will appear first, with the list of links
at the end. It's not perfect, but it works. -->
<tr>
<td bgcolor="#990000">&#xa0;</td>
<td align="left" valign="top" bgcolor="#ffcc66">
<p><big><font color="#990000"><b>News</b></font></big>
<small><br/>
&#xa0;&#xa0;<a href="news/newsflash.html">Announcements</a><br/>
&#xa0;&#xa0;<a href="news/press.html">In the Press</a><br/>
&#xa0;&#xa0;<a href="news/index.html">More ...</a>
</small></p>
<p><big><font color="#990000"><b>Software</b></font></big>
<small><br/>
&#xa0;&#xa0;<a href="{$base}/doc/en_US.ISO8859-1/books/handbook/mirrors.html">Getting FreeBSD</a><br/>
&#xa0;&#xa0;<a href="releases/index.html">Release Information</a><br/>
&#xa0;&#xa0;<a href="{$base}/ports/index.html">Ported Applications</a><br/>
</small></p>
<p><big><font color="#990000"><b>Documentation</b></font></big>
<small><br/>
&#xa0;&#xa0;<a href="projects/newbies.html">For Newbies</a><br/>
&#xa0;&#xa0;<a href="{$base}/handbook/index.html">Handbook</a><br/>
&#xa0;&#xa0;<a href="{$base}/FAQ/index.html">FAQ</a><br/>
&#xa0;&#xa0;<a href="{$base}/docproj/index.html">Doc. Project</a><br/>
&#xa0;&#xa0;<a href="docs.html">More...</a><br/>
</small></p>
<p><big><font color="#990000"><b>Support</b></font></big>
<small><br/>
&#xa0;&#xa0;<a href="{$base}/support.html#mailing-list">Mailing lists</a><br/>
&#xa0;&#xa0;<a href="{$base}/support.html#newsgroups">Newsgroups</a><br/>
&#xa0;&#xa0;<a href="{$base}/support.html#user">User Groups</a><br/>
&#xa0;&#xa0;<a href="{$base}/support.html#web">Web Resources</a><br/>
&#xa0;&#xa0;<a href="security/index.html">Security</a><br/>
&#xa0;&#xa0;<a href="{$base}/support.html">More...</a>
</small></p>
<p><big><font color="#990000"><b>Development</b></font></big>
<small><br/>
&#xa0;&#xa0;<a href="projects/index.html">Projects</a><br/>
&#xa0;&#xa0;<a href="{$base}/support.html#gnats">Bug Reports</a><br/>
&#xa0;&#xa0;<a href="{$base}/support.html#cvs">CVS Repository</a><br/>
</small></p>
<p><big><font color="#990000"><b>Vendors</b></font></big>
<small><br/>
&#xa0;&#xa0;<a href="{$base}/commercial/software_bycat.html">Software</a><br/>
&#xa0;&#xa0;<a href="{$base}/commercial/hardware.html">Hardware</a><br/>
&#xa0;&#xa0;<a href="{$base}/commercial/consulting_bycat.html">Consulting</a><br/>
&#xa0;&#xa0;<a href="{$base}/commercial/misc.html">Misc</a><br/>
</small></p>
<p><big><font color="#990000"><b>This Site</b></font></big>
<small><br/>
&#xa0;&#xa0;<a href="{$base}/search/index-site.html">Site Map</a><br/>
&#xa0;&#xa0;<a href="{$base}/search/search.html">Search</a><br/>
&#xa0;&#xa0;<a href="internal/index.html">More ...</a><br/>
</small></p>
<form action="http://www.FreeBSD.org/cgi/search.cgi" method="get">
<small>&#xa0;&#xa0;Search for:<br/>
<input type="text" name="words" size="10"/>
<input type="hidden" name="max" value="25"/>
<input type="hidden" name="source" value="www"/>
<input type="submit" value="Go"/></small>
</form>
</td>
</tr>
</table>
<hr/>
<table border="0" cellspacing="0" cellpadding="3">
<tr>
<td><a href="http://www.freebsdmall.com/"><img
src="gifs/mall_title_medium.gif" alt="[FreeBSD Mall]"
height="65" width="165" border="0"/></a></td>
<td><a href="http://www.ugu.com/"><img src="gifs/ugu_icon.gif"
alt="[Sponsor of Unix Guru Universe]"
height="64" width="76"
border="0"/></a></td>
<td><a href="http://www.daemonnews.org/"><img src="gifs/darbylogo.gif"
alt="[Daemon News]" height="45" width="130"
border="0"/></a></td>
<td><a href="{$base}/copyright/daemon.html"><img
src="gifs/powerlogo.gif"
alt="[Powered by FreeBSD]"
height="64"
width="160"
border="0"/></a></td>
</tr>
</table>
<p><small>Changes to the web site go live at 0800 and 2000 UTC every
day.</small></p>
<hr/>
<table width="100%" cellpadding="0" border="0" cellspacing="0">
<tr>
<td align="left"
valign="top"><small><a href="{$base}/mailto.html">Contact
us</a><br/>
<xsl:value-of select="$date"/></small></td>
<td align="right"
valign="top"><small><a href="copyright/index.html">Copyright</a> (c) 1995-2001
The FreeBSD Project.<br/>
All rights reserved.</small></td>
</tr>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
<!--
Local Variables:
mode: xml
sgml-indent-data: t
sgml-omittag: nil
sgml-always-quote-attributes: t
End:
-->