2011-03-23 22:39:01 +00:00
<?xml version="1.0" encoding="utf-8"?>
2015-06-14 00:03:20 +00:00
<xsl:stylesheet version= "1.0" xmlns:xsl= "http://www.w3.org/1999/XSL/Transform" xmlns:content= "http://purl.org/rss/1.0/modules/content/" xmlns:atom= "http://www.w3.org/2005/Atom" >
2011-03-23 22:39:01 +00:00
<xsl:output method= "html" />
2015-06-14 00:03:20 +00:00
<xsl:variable name= "title" select= "/rss/channel/title" />
<xsl:variable name= "subscribe" select= "/rss/channel/atom:link[@rel='related']/@href" />
2011-03-23 22:39:01 +00:00
<xsl:template match= "/" >
<html >
<head >
<title > <xsl:value-of select= "$title" /> (full-text feed)</title>
2014-09-15 20:24:06 +00:00
<link rel= "stylesheet" type= "text/css" href= "css/feed.css" />
2011-03-23 22:39:01 +00:00
</head>
<body >
2019-04-04 21:23:27 +00:00
<div id= "explanation" dir= "auto" >
2011-03-23 22:39:01 +00:00
<h1 > <xsl:value-of select= "$title" /> <span class= "small" > (full-text feed)</span> </h1>
2015-06-14 00:03:20 +00:00
<p > You are viewing an auto-generated full-text <acronym title= "Really Simple Syndication" > RSS</acronym> feed. RSS feeds allow you to stay up to date with the latest news and features you want from websites.<br /> <a href= "{$subscribe}" > Subscribe to this feed.</a> </p>
2011-03-23 22:39:01 +00:00
<p > Below is the latest content available from this feed.</p>
</div>
2019-04-04 21:23:27 +00:00
<div id= "content" dir= "auto" >
2011-03-23 22:39:01 +00:00
<ul >
<xsl:for-each select= "rss/channel/item" >
<div class= "article" >
<li > <a href= "{link}" rel= "bookmark" > <xsl:value-of disable-output-escaping= "yes" select= "title" /> </a>
2014-05-15 21:03:31 +00:00
<div >
<xsl:choose >
<xsl:when test= "content:encoded" > <xsl:value-of disable-output-escaping= "yes" select= "content:encoded" /> </xsl:when>
<xsl:when test= "description" > <xsl:value-of disable-output-escaping= "yes" select= "description" /> </xsl:when>
</xsl:choose>
</div>
2011-03-23 22:39:01 +00:00
</li>
</div>
</xsl:for-each>
</ul>
</div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>