View | Details | Raw Unified | Return to bug 53674 | Differences between
and this patch

Collapse All | Expand All

(-)en/index.xsl (-2 / +26 lines)
Lines 444-451 Link Here
444
			      </xsl:for-each>
444
			      </xsl:for-each>
445
			      <a href="news/newsflash.html">More...</a>
445
			      <a href="news/newsflash.html">More...</a>
446
			    </font></p>
446
			    </font></p>
447
			  
447
			
448
			  <p><font size="+1" color="#990000"><b>FreeBSD Press</b></font><br/>
448
			<p><font size="+1" color="#990000"><b>FreeBSD Events</b></font><br/>			  
449
				<font size="-1">
450
				Latest update:
451
				<xsl:value-of 
452
				  select="document('news/events.xml')/descendant::month[position() = 1]/name"/>
453
				<xsl:text> </xsl:text>
454
				<xsl:value-of
455
				select="document('news/events.xml')/descendant::year[position() = 1]/name"/>
456
                              <br/>
457
                              <!-- Pull in the 10 most recent press items -->
458
                              <xsl:for-each
459
				select="document('news/events.xml')/descendant::story[position() &lt;10]">
460
				&#183; <a>
461
                                  <xsl:attribute name="href">
462
                                    news/events.html#<xsl:call-template name="generate-story-anchor"/>
463
                                  </xsl:attribute>
464
                                  <xsl:value-of select="name"/>
465
                                </a><br/>
466
                              </xsl:for-each>
467
                              <a href="news/events.html">More...</a>
468
                            </font>
469
                          </p>  
470
			
471
472
			<p><font size="+1" color="#990000"><b>FreeBSD Press</b></font><br/>
449
473
450
			    <font size="-1">
474
			    <font size="-1">
451
			      Latest update: 
475
			      Latest update: 
(-)en/news/Makefile (-2 / +7 lines)
Lines 35-42 Link Here
35
SUBDIR+= 	2001
35
SUBDIR+= 	2001
36
SUBDIR+=	status
36
SUBDIR+=	status
37
37
38
DATA=		newsflash.html news.rdf press.html
38
DATA=		newsflash.html news.rdf press.html events.html
39
CLEANFILES+=	newsflash.html news.rdf press.html
39
CLEANFILES+=	newsflash.html news.rdf press.html evnets.html
40
40
41
newsflash.html: newsflash.xsl news.xml includes.xsl ../includes.xsl
41
newsflash.html: newsflash.xsl news.xml includes.xsl ../includes.xsl
42
	${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \
42
	${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \
Lines 52-57 Link Here
52
press.html: press.xsl press.xml includes.xsl ../includes.xsl
52
press.html: press.xsl press.xml includes.xsl ../includes.xsl
53
	${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \
53
	${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \
54
		${.CURDIR}/press.xsl ${.CURDIR}/press.xml
54
		${.CURDIR}/press.xsl ${.CURDIR}/press.xml
55
56
events.html: events.xsl events.xml includes.xsl ../includes.xsl
57
	${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \
58
		${.CURDIR}/events.xsl ${.CURDIR}/events.xml
59
55
.if !defined(NO_TIDY)
60
.if !defined(NO_TIDY)
56
	-${TIDY} ${TIDYOPTS} ${.TARGET}
61
	-${TIDY} ${TIDYOPTS} ${.TARGET}
57
.endif
62
.endif
(-)en/news/events.xml (+71 lines)
Line 0 Link Here
1
<?xml version="1.0"?>
2
<press>
3
  <cvs:keywords xmlns:cvs="http://www.FreeBSD.org/XML/CVS" version="1.0">
4
    <cvs:keyword name="freebsd">
5
      $FreeBSD: www/en/news/press.xml,v 1.72 2003/06/23 12:49:49 jkoshy Exp
6
$
7
    </cvs:keyword>
8
  </cvs:keywords>
9
                                                                                                                      
10
  <year>
11
    <name>2003</name>
12
                                                                                                                      
13
    <month>
14
      <name>September</name>
15
                                                                                                                      
16
      <story>
17
        <name>BSDCon '03, San Mateo, California</name>
18
        <url>http://www.usenix.org/events/bsdcon03/</url>
19
        <site-name>http://www.usenix.org/events/bsdcon03/</site-name>
20
        <site-url>http://www.usenix.org/events/bsdcon03/</site-url>
21
        <date>8.-12. September 2003</date>
22
        <p>
23
	For the fourth time, the main BSD Event, BSDCon is happening - where
24
	you can mean the people behind the projects. Two days of tutorials will precede two and a half days
25
	of technical sessions. An opportunity for people of all experience levels to learn from BSD
26
	experts, professionals with real world experience, and industry leaders.
27
	</p>
28
      </story>
29
	</month>
30
	
31
	<month>
32
      <name>July</name>
33
34
	<story>
35
        <name>Linuxtag 2003, Karlsruhe, Germany</name>
36
        <url>http://www.linuxtag.org</url>
37
        <site-name>http://www.linuxtag.org</site-name>
38
        <site-url>http://www.linuxtag.org</site-url>
39
        <date>10.-13. July 2003</date>
40
        <p>
41
		 On upcoming Linuxtag, Europe's biggest Linuxexhibition and
42
		Conference, there will be some BSD Support. People from FreeBSD,
43
		NetBSD and OpenBSD, but also OpenDarwin people will staff the booth
44
		There will also be speeches. Felix Kronlage does an
45
		introducing speech about OpenDarwin, and Josef El-Rayes
46
		tells about FreeBSD and the FreeBSD Project. 
47
        </p>
48
      </story>
49
    </month>
50
51
	<month>
52
      <name>May</name>
53
                                                                                                                      
54
        <story>
55
        <name>BSDay 2003, Warszawa, Poland</name>
56
        <url>http://www.avet.com.pl/en/conferences/bsday/bsday.php</url>
57
        <site-name>http://www.avet.com.pl/en/conferences/bsday/bsday.php</site-name>
58
        <site-url>http://www.avet.com.pl/en/conferences/bsday/bsday.php</site-url>
59
        <date>21 May 2003</date>
60
        <p>
61
		Polands first BSD event, BSDay is a one-day conference dedicated to BSD systems and
62
		sponsored by O'Reilly. The events goal is to create an environment for polish 
63
		IT experts to meet and exchange their knowledge and
64
		share it with conference attendants. 
65
        </p>
66
      </story>
67
    </month>
68
69
70
</year>
71
</press>
(-)en/news/events.xsl (+73 lines)
Line 0 Link Here
1
<?xml version="1.0" encoding="ISO-8859-1" ?>
2
3
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
4
  xmlns:cvs="http://www.FreeBSD.org/XML/CVS">
5
6
  <xsl:import href="../includes.xsl"/>
7
  <xsl:import href="includes.xsl"/>
8
9
10
  <xsl:variable name="base" select="'..'"/>
11
  <xsl:variable name="title" select="'FreeBSD Events'"/>
12
  <xsl:variable name="date">
13
    <xsl:value-of select="//cvs:keyword[@name='freebsd']"/>
14
  </xsl:variable>
15
  
16
  <xsl:output type="html" encoding="iso-8859-1"/>
17
18
  <xsl:template match="press">
19
    <html>
20
      
21
      <xsl:copy-of select="$header1"/>
22
23
      <body xsl:use-attribute-sets="att.body">
24
25
	<xsl:copy-of select="$header2"/>
26
27
	<p>If you know of any FreeBSD related events - or events that are of
28
interest for FreeBSD that we have not listed here, please send details to 
29
	  <a href="mailto:doc@freebsd.org">doc@FreeBSD.org</a> so that we can
30
	  include them.</p>
31
32
	<xsl:apply-templates select="//month"/>
33
	
34
	<xsl:copy-of select="$newshome"/>
35
	<xsl:copy-of select="$footer"/>
36
      </body>
37
    </html>
38
  </xsl:template>
39
40
  <!-- Everything that follows are templates for the rest of the content -->
41
  
42
  <xsl:template match="month">
43
    <h1><xsl:value-of select="name"/>
44
      <xsl:text> </xsl:text>
45
      <xsl:value-of select="ancestor::year/name"/></h1>
46
47
    <ul>
48
      <xsl:apply-templates select="descendant::story"/>
49
    </ul>
50
  </xsl:template>
51
52
  <xsl:template match="story">
53
    <xsl:variable name="url"><xsl:value-of select="url"/></xsl:variable>
54
    <xsl:variable name="site-url"><xsl:value-of
55
    select="site-url"/></xsl:variable>
56
57
    <li>
58
      <a>
59
	<xsl:attribute name="name">
60
	  <xsl:call-template name="generate-story-anchor"/>
61
	</xsl:attribute>
62
      </a>
63
64
      <p><a href="{$url}"><b><xsl:value-of
65
      select="name"/></b></a><br/>
66
	  
67
	<a href="{$site-url}"><xsl:value-of
68
	select="site-name"/></a>, <xsl:value-of select="author"/><br/>
69
	<xsl:copy-of select="p/child::node()"/>
70
      </p>
71
    </li>
72
  </xsl:template>
73
</xsl:stylesheet>

Return to bug 53674