doc/share/sgml/templates.newsflash.xsl
Hiroki Sato 35babe0ae5 - Set svn:ketwords and svn:mime-type. Note that application/octet-stream is
set on some files as a workaround for binary check.
- Fix pathname for svn co in the webupdate script.

Approved by:	doceng (implicit)
2012-05-17 19:12:14 +00:00

83 lines
2.4 KiB
XML

<?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 News Flash">
<!ENTITY email "freebsd-www">
<!ENTITY rsslink "rss.xml">
<!ENTITY rsstitle "&title;">
<!ENTITY % navinclude.about "INCLUDE">
<!ENTITY % header.rss "INCLUDE">
]>
<!-- $FreeBSD$ -->
<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:param name="news.project.xml-master" select="'none'" />
<xsl:param name="news.project.xml" select="'none'" />
<xsl:output type="html" encoding="&xml.encoding;"/>
<xsl:template match="news">
<html>
&header1;
<body>
<div id="CONTAINERWRAP">
<div id="CONTAINER">
&header2;
<div id="CONTENT">
<div id="SIDEWRAP">
&nav;
<div id="FEEDLINKS">
<ul>
<li>
<a href="rss.xml" title="FreeBSD RSS 2.0 Feed">
RSS 2.0 Feed
</a>
</li>
<li>
<a href="news.rdf" title="FreeBSD RDF/RSS 0.9 Feed">
RSS 0.9 Feed
</a>
</li>
</ul>
</div> <!-- FEEDLINKS -->
</div> <!-- SIDEWRAP -->
<div id="CONTENTWRAP">
&header3;
<xsl:call-template name="html-news-list-newsflash-preface" />
<xsl:call-template name="html-news-list-newsflash">
<xsl:with-param name="news.project.xml-master" select="$news.project.xml-master" />
<xsl:with-param name="news.project.xml" select="$news.project.xml" />
</xsl:call-template>
<xsl:call-template name="html-news-make-olditems-list" />
<xsl:call-template name="html-news-list-newsflash-homelink" />
</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>