59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen<?xml version="1.0" encoding="UTF-8"?>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen<xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <xsl:output method="html" />
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <xsl:variable name="title" select="/rss/channel/title"/>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <xsl:template match="/">
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <html>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <head>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <title><xsl:value-of select="$title"/></title>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <link rel="icon" href="img/icon.png" type="image/png"/>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <link rel="stylesheet" type="text/css" href="style.css"/>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen </head>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <xsl:apply-templates select="rss/channel"/>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen </html>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen </xsl:template>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <xsl:template match="channel">
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <body>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <div id="page">
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <div id="header"> <!-- CONFIG: Header -->
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <div id="MastheadLogo"> <h1> OpenGrok </h1> </div>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <div id="pagetitle"><b id="filename"><xsl:value-of select="title"/></b><br/>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <xsl:value-of select="description"/>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen </div>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen </div>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <div id="Masthead">
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <tt>RSS Feed <a href="{link}" class="item"><xsl:value-of select="link"/></a></tt>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen </div>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <div id="results">
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <div class="itembox">
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <div class="paditembox">
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <xsl:apply-templates select="item"/>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen </div>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen </div>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen </div>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen<!-- CONFIG: Footer -->
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen<div id="Footer">
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen<p class="Center">
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen</p>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen</div>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen</div>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen </body>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen </xsl:template>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <xsl:template match="item">
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <div id="item">
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <ul>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <li><span class="c"><xsl:value-of select="pubDate"/> - </span>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <xsl:value-of select="title"/>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <br/>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <pre>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <xsl:value-of select="description" />
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen </pre>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen </li>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen </ul>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen </div>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen </xsl:template>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen</xsl:stylesheet>