summary refs log tree commit diff
path: root/feed.xslt.xml
diff options
context:
space:
mode:
Diffstat (limited to 'feed.xslt.xml')
-rw-r--r--feed.xslt.xml19
1 files changed, 18 insertions, 1 deletions
diff --git a/feed.xslt.xml b/feed.xslt.xml
index 96e9e74..58e3109 100644
--- a/feed.xslt.xml
+++ b/feed.xslt.xml
@@ -59,7 +59,7 @@ https://nicolas-hoizey.com/feeds/all.xml
             </h1>
             <h2><xsl:value-of select="atom:feed/atom:title"/></h2>
             <p><xsl:value-of select="atom:feed/atom:description"/></p>
-            <p>This preview only shows titles, but the actual feed contains the full content.</p>
+            <p>This preview only shows titles and summaries, but the actual feed(Atom) contains the full content.</p>
             <a>
               <xsl:attribute name="href">
                 <xsl:value-of select="/atom:feed/atom:link[2]/@href"/>
@@ -69,6 +69,7 @@ https://nicolas-hoizey.com/feeds/all.xml
           </header>
           <h2>Recent Items</h2>
           <xsl:apply-templates select="atom:feed/atom:entry" />
+          <xsl:apply-templates select="/rss/channel/item" />
           <footer>
               <small><p>Made with ❤ by Mayx</p></small>
           </footer>
@@ -92,4 +93,20 @@ https://nicolas-hoizey.com/feeds/all.xml
       <p><xsl:value-of select="atom:summary"/></p>
     </div>
   </xsl:template>
+  <xsl:template match="/rss/channel/item">
+    <div class="item">
+      <h3>
+        <a>
+          <xsl:attribute name="href">
+            <xsl:value-of select="link"/>
+          </xsl:attribute>
+          <xsl:value-of select="title"/>
+        </a>
+      </h3>
+      <small class="gray">
+        Published at <xsl:value-of select="pubDate" />
+      </small>
+      <p><xsl:value-of select="description"/></p>
+    </div>
+  </xsl:template>
 </xsl:stylesheet>
\ No newline at end of file