rss.xsl.xml revision bb191b4db2657326cea4ebb7a8d0508b6ab84929
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:output method="html" />
<xsl:template match="/">
<html>
<head>
<title><xsl:value-of select="$title"/></title>
</head>
</html>
</xsl:template>
<xsl:template match="channel">
<body>
<div id="page">
<div id="header"> <!-- CONFIG: Header -->
<div id="MastheadLogo"> <h1> OpenGrok </h1> </div>
<div id="pagetitle"><b id="filename"><xsl:value-of select="title"/></b><br/>
<xsl:value-of select="description"/>
</div>
</div>
<div id="Masthead">
<tt>RSS Feed <a href="{link}" class="item"><xsl:value-of select="link"/></a></tt>
</div>
<div id="results">
<div class="itembox">
<div class="paditembox">
<xsl:apply-templates select="item"/>
</div>
</div>
</div>
<!-- CONFIG: Footer -->
<div id="Footer">
<p class="Center">
</p>
</div>
</div>
</body>
</xsl:template>
<xsl:template match="item">
<div id="item">
<ul>
<li><span class="c"><xsl:value-of select="pubDate"/> - </span>
<xsl:value-of select="title"/>
<br/>
<pre>
<xsl:value-of select="description" />
</pre>
</li>
</ul>
</div>
</xsl:template>
</xsl:stylesheet>