Update 4 files

- /feed.json
- /_layouts/default.html
- /rss.xml
- /feed.xslt.xml
This commit is contained in:
mayx
2025-04-28 05:33:18 +00:00
parent d0ce029b94
commit d01d9119de
4 changed files with 156 additions and 2 deletions

View File

@@ -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>