From 31c47098800cabf0c559a5b51a9b368229c84303 Mon Sep 17 00:00:00 2001 From: Murray Stokely Date: Sun, 20 Apr 2008 03:22:44 +0000 Subject: [PATCH] Convert the community page to XSLT from SGML so we can pull in various XML files and use them to generate dynamic content. For now, just use this to mention the number of freebsd related events and the number of unique countries in which they were held in the last year according to events.xml. We could also list some high level statistics about usergroups here since that content is also maintained in XML. --- en/Makefile | 5 +-- en/community.sgml | 37 ------------------- en/community.xsl | 90 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 93 insertions(+), 39 deletions(-) delete mode 100644 en/community.sgml create mode 100644 en/community.xsl diff --git a/en/Makefile b/en/Makefile index a4976a8e37..8f11563b66 100644 --- a/en/Makefile +++ b/en/Makefile @@ -1,4 +1,4 @@ -# $FreeBSD: www/en/Makefile,v 1.142 2007/05/15 23:11:04 keramida Exp $ +# $FreeBSD: www/en/Makefile,v 1.143 2008/02/10 09:41:24 keramida Exp $ .if exists(Makefile.conf) .include "Makefile.conf" @@ -14,7 +14,6 @@ DOCS+= administration.sgml DOCS+= applications.sgml DOCS+= art.sgml DOCS+= availability.sgml -DOCS+= community.sgml DOCS+= docs.sgml DOCS+= features.sgml DOCS+= internet.sgml @@ -35,6 +34,8 @@ XMLDOCS+= usergroups:${XSL_USERGROUPS}:${XML_USERGROUPS}: DEPENDSET.usergroups=transtable usergroups PARAMS.usergroups= --param pagename "'FreeBSD User Groups'" +XMLDOCS+= community::${XML_EVENTS_EVENTS}: + # These will be directly installed. DATA= favicon.ico diff --git a/en/community.sgml b/en/community.sgml deleted file mode 100644 index 7fb0b8e07b..0000000000 --- a/en/community.sgml +++ /dev/null @@ -1,37 +0,0 @@ - - - -]> - - - &header; - -

FreeBSD is well supported by its active community.

- -

There are more than one hundred mailing lists - and several newsgroups available. - There are a number of FreeBSD User Groups around the world, - and there is also an active IRC community. Many - developers also maintain blogs about their FreeBSD - work.

- -

Each year there are dozens of FreeBSD events in countries - all over the world. A calendar and RSS feed of upcoming - FreeBSD-related events are maintained on our events page.

- - &footer; - - - - diff --git a/en/community.xsl b/en/community.xsl new file mode 100644 index 0000000000..75916efabe --- /dev/null +++ b/en/community.xsl @@ -0,0 +1,90 @@ + + + + + +]> + + + + + + + + + + + + + + + + + + + &header1; + + +
+
+ &header2; + +
+
+ &nav; +
+ +
+ &header3; + +

FreeBSD is well supported by its active + community.

+ +

There are more than one hundred mailing + lists and several newsgroups + available. There are a number of FreeBSD User Groups around + the world, and there is also an active IRC community. Many + developers also maintain blogs about + their FreeBSD work.

+ +

Last year there were FreeBSD events in + different countries + around the world. A calendar and + RSS feed of + upcoming FreeBSD-related events are maintained on our + events + page.

+ +
+
+
+ + +
+
+ + + +
+