doc/en/community.xsl

101 lines
3.3 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE xsl:stylesheet PUBLIC "-//FreeBSD//DTD FreeBSD XSLT 1.0 DTD//EN"
"http://www.FreeBSD.org/XML/www/share/sgml/xslt10-freebsd.dtd" [
<!ENTITY title "FreeBSD Community">
<!ENTITY email "freebsd-www">
<!ENTITY % navinclude.community "INCLUDE">
]>
<!-- $FreeBSD: www/en/community.xsl,v 1.4 2008/06/20 21:19:24 danger Exp $ -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:cvs="http://www.FreeBSD.org/XML/CVS">
<xsl:import href="http://www.FreeBSD.org/XML/www/lang/share/sgml/libcommon.xsl"/>
<xsl:variable name="date">
<xsl:value-of select="//cvs:keyword[@name='freebsd']"/>
</xsl:variable>
<xsl:output method="xml" encoding="&xml.encoding;"
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"/>
<xsl:key name="last-year-event-by-country" match="event[number(enddate/year) = (number($curdate.year) - 1)]"
use="location/country" />
<xsl:key name="event-by-year" match="event" use="enddate/year" />
<xsl:template match="events">
<html>
&header1;
<body>
<div id="CONTAINERWRAP">
<div id="CONTAINER">
&header2;
<div id="CONTENT">
<div id="SIDEWRAP">
&nav;
</div> <!-- SIDEWRAP -->
<div id="CONTENTWRAP">
&header3;
2008-06-20 23:19:24 +02:00
<p>&os; is well supported by its active
community.</p>
<p>There are more than one hundred <a
href="&base;/community/mailinglists.html">mailing
lists</a> and several <a
href="&base;/community/newsgroups.html">newsgroups</a>
available. There are over <xsl:value-of
select="count(document($usergroups.xml)//entry)"
/><xsl:text> </xsl:text><a
href="&base;/usergroups.html">user groups</a> in
<xsl:value-of
select="count(document($usergroups.xml)//country)" />
unique countries around the world. There is also an
active <a href="&base;/community/irc.html">IRC</a>
community. Many developers also maintain <a
href="http://planet.freebsdish.org">blogs</a> about
their &os; work. Developers and key contributors
also maintain a <a
2008-06-20 23:19:24 +02:00
href="http://wiki.FreeBSD.org/">wiki</a>, which
contains information about &os; development
and related projects. You can also find &os; represented
on a variety of different <a
href="&base;/community/social.html">social
networking</a> sites.</p>
<p>Last year there were <xsl:value-of
select="count(event[number(enddate/year) =
2008-06-20 23:19:24 +02:00
(number($curdate.year) -1)])" /> &os; events in
<xsl:value-of
select="count(event[(number(enddate/year) =
(number($curdate.year) -1)) and (generate-id() =
generate-id(key('last-year-event-by-country',
location/country)[1]))])" /> different countries
around the world. A <a
href="&base;/events/events.ics">calendar</a> and
<a href="&base;/events/rss.xml">RSS feed</a> of
2008-06-20 23:19:24 +02:00
upcoming &os;-related events are maintained on our
<a href="&base;/events/events.html">events
page</a>.</p>
</div> <!-- CONTENTWRAP -->
<br class="clearboth" />
</div> <!-- CONTENT -->
<div id="FOOTER">
&copyright;<br />
&date;
</div> <!-- FOOTER -->
</div> <!-- CONTAINER -->
</div> <!-- CONTAINERWRAP -->
</body>
</html>
</xsl:template>
</xsl:stylesheet>