this repo has no description
1<?xml version="1.0" encoding="utf-8"?>
2<xsl:stylesheet version="3.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">
3 <xsl:output method="html" encoding="UTF-8" />
4 <xsl:template match="/atom:feed">
5 <html lang="en" dir="ltr">
6 <head>
7 <title><xsl:value-of select="atom:title"/> - RSS Feed</title>
8 <meta charset="UTF-8" />
9 <meta http-equiv="x-ua-compatible" content="IE=edge,chrome=1" />
10 <meta http-equiv="content-language" content="en_US" />
11 <meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1,shrink-to-fit=no" />
12 <meta name="referrer" content="none" />
13
14 <!-- FAVICONS CAN GO HERE -->
15 <link href="/feed.css" rel="stylesheet" />
16 </head>
17 <body>
18 <div class="container">
19 <div class="item">
20 <header>
21 <h1>RSS Feed</h1>
22 <h2>
23 <xsl:value-of select="atom:title"/>
24 </h2>
25 <p>
26 <xsl:value-of select="atom:subtitle"/>
27 </p>
28 <a hreflang="en" target="_blank">
29 <xsl:attribute name="href">
30 <xsl:value-of select="atom:link[@rel='related']/@href"/>
31 </xsl:attribute>
32 Visit Website →
33 </a>
34 </header>
35 <main>
36 <h2>Recent Posts</h2>
37 <xsl:for-each select="atom:entry">
38 <article>
39 <h3>
40 <a hreflang="en" target="_blank">
41 <xsl:attribute name="href">
42 <xsl:value-of select="atom:link/@href"/>
43 </xsl:attribute>
44 <xsl:value-of select="atom:title"/>
45 </a>
46 </h3>
47 <p>
48 <xsl:value-of select="atom:summary"/>
49 </p>
50 </article>
51 </xsl:for-each>
52 </main>
53 </div>
54 </div>
55 </body>
56 </html>
57 </xsl:template>
58</xsl:stylesheet>