cvs commit: de-www Makefile community.sgml community.xsl

From: Johann Kois <jkois(at)doc.bsdgroup.de>
Date: Sun, 27 Apr 2008 18:03:21 GMT

jkois 2008-04-27 18:03:21 UTC

  FreeBSD German Documentation Repository

  Modified files:
    . Makefile
  Added files:
    . community.xsl
  Removed files:
    . community.sgml
  Log:
  www/de/community.html nach XML konvertieren. Die HTML-Datei löschen. Das
  Makefile patchen, damit die neue Datei auch mitgebaut wird.
  
  Revision Changes Path
  1.49 +3 -2 de-www/Makefile
  1.4 +0 -37 de-www/community.sgml (dead)
  1.1 +95 -0 de-www/community.xsl (new)
  
  Index: community.xsl
  ====================================================================
  <?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 "Die FreeBSD-Gemeinde">
  <!ENTITY email "freebsd-www">
  <!ENTITY % navinclude.community "INCLUDE">
  ]>
  
  <!-- $FreeBSD$ -->
  <!-- $FreeBSDde: de-www/community.xsl,v 1.1 2008/04/27 18:03:21 jkois Exp $ -->
  <!-- basiert auf: 1.3 -->
  
  <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;
  
                <p>FreeBSD wird von einer aktiven Gemeinschaft
                  unterst&uuml;tzt.</p>
  
                <p>Es gibt mehr als 100 <a
                  href="&base;/community/mailinglists.html">
                  Mailinglisten</a> sowie diverse <a
                  href="&base;/community/newsgroups.html">Newsgroups</a>.
                  Dazu kommen mehr als 91 <!-- <xsl:value-of
                  select="count(document($usergroups.xml)//entry)"
                  /><xsl:text> </xsl:text>--> <a
                  href="&enbase;/usergroups.html">User Groups</a> in
                  37 L&#228;ndern. <!--<xsl:value-of
                  select="count(document($usergroups.xml)//country)" />-->
                  Zus&#228;tzlich existiert eine aktive <a
                  href="&base;/community/irc.html">IRC</a>-Gemeinde.
                  Viele Entwickler betreiben auch <a
                  href="http://planet.freebsdish.org">Blogs</a>, in denen
                  sie &#252;ber ihre Arbeit an FreeBSD berichten.</p>
  
                <p>Letztes Jahr gab es insgesamt 22 <!-- <xsl:value-of
                  select="count(event[number(enddate/year) =
                  (number($curdate.year) -1)])" />-->
                  FreeBSD-Veranstaltungen in 11 <!--<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]))])" />--> verschiedenen L&#228;ndern.
                  Ein Kalender sowie
                  ein RSS Feed zu
                  bevorstehenden FreeBSD-spezifischen Veranstaltungen sind
                  auf der Seite <a
                  href="&enbase;/events/events.html">Veranstaltungen</a>
                  verf&#252;gbar.</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>
  
  Index: Makefile
  ===================================================================
  RCS file: /home/cvs/de-www/Makefile,v
  retrieving revision 1.48
  retrieving revision 1.49
  diff -u -I$FreeBSDde.*$ -r1.48 -r1.49
  --- Makefile 23 Nov 2007 02:40:40 -0000 1.48
  +++ Makefile 27 Apr 2008 18:03:21 -0000 1.49
  @@ -1,8 +1,8 @@
   # The FreeBSD Documentation Project
   # The FreeBSD German Documentation Project
   # $FreeBSD$
  -# $FreeBSDde: de-www/Makefile,v 1.48 2007/11/23 02:40:40 as Exp $
  -# basiert auf: 1.139
  +# $FreeBSDde: de-www/Makefile,v 1.49 2008/04/27 18:03:21 jkois Exp $
  +# basiert auf: 1.145
   
   .if exists(Makefile.conf)
   .include "Makefile.conf"
  @@ -18,7 +18,6 @@
   DOCS+= applications.sgml
   DOCS+= availability.sgml
   DOCS+= art.sgml
  -DOCS+= community.sgml
   DOCS+= docs.sgml
   DOCS+= features.sgml
   DOCS+= internet.sgml
  @@ -73,4 +72,6 @@
   DEPENDSET.index=transtable mirrors news press events \
                   advisories notices
   
  +XMLDOCS+= community::${XML_EVENTS_EVENTS}:
  +
   .include "${WEB_PREFIX}/share/mk/web.site.mk"
  

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-cvs-doc" in the body of the message
Received on Sun 27 Apr 2008 - 20:03:40 CEST

search this site