History
   Show Presentation
 
 
 rssfeed.xsl
Home • Plugins • Plugins Repository • Pre4.0RWD • RWDRSS • rssfeed.xsl
 

<?xml version="1.0" encoding="<X-FC-CHARSET>" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/rss">
        <html>
        <head>
                <link href="/.Templates/RSS/rssfeedxsl.css" rel="stylesheet" type="text/css" />
                <style type="text/css">
                        body {
                                font-size:0.83em;
                        }
                </style>
        </head>
        <body>
                <div id="logo">
                        <xsl:element name="a">
                                <xsl:attribute name="href">
                                        <xsl:value-of select="channel/link" />
                                </xsl:attribute>
                                <xsl:value-of select="channel/title" />
                        </xsl:element>
                </div>
                <div class="Snippet" style="border-width:0; background-color:#ffffff; margin:1em">
                        <div class="titleWithLine">
                                <xsl:value-of select="channel/description" />
                        </div>
                        <dl style="padding-right:1em">
                                <xsl:for-each select="channel/item">
                                        <dd>
                                                <xsl:element name="a">
                                                        <xsl:attribute name="href">
                                                                <xsl:value-of select="link"/>
                                                        </xsl:attribute>
                                                        <xsl:value-of select="title"/>
                                                </xsl:element>
                                        </dd>
                                        <dt>
                                                <xsl:value-of select="description" /><br />
                                                <span class="comments">author: <xsl:value-of select="author" /><br /></span>
                                                <span class="comments"><xsl:value-of select="pubDate" /></span>
                                        </dt>
                                </xsl:for-each>
                        </dl>
                </div>

        </body>
        </html>
</xsl:template>
</xsl:stylesheet>