summaryrefslogtreecommitdiff
path: root/feed.xslt.xml
diff options
context:
space:
mode:
authormayx <mayx@outlook.com>2025-04-28 08:04:28 +0200
committermayx <mayx@outlook.com>2025-04-28 08:04:28 +0200
commit29c6d57faa42212febb76c612d4d193a10f9d8bf (patch)
tree6f51a932aa70399aab083be2393f94352fa6e7cc /feed.xslt.xml
parentd01d9119def9ba4b5991272284b81d6077d018a0 (diff)
Update 3 files
- /feed.xslt.xml - /rss.xml - /feed.json
Diffstat (limited to 'feed.xslt.xml')
-rw-r--r--feed.xslt.xml13
1 files changed, 5 insertions, 8 deletions
diff --git a/feed.xslt.xml b/feed.xslt.xml
index 58e3109..db7e02e 100644
--- a/feed.xslt.xml
+++ b/feed.xslt.xml
@@ -22,8 +22,8 @@ https://nicolas-hoizey.com/feeds/all.xml
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>
- Atom Feed |
- <xsl:value-of select="/atom:feed/atom:title"/>
+ Web Feed |
+ <xsl:value-of select="/atom:feed/atom:title"/><xsl:value-of select="/rss/channel/title"/>
</title>
<style type="text/css">*{box-sizing:border-box}body{background-color:#fff;color:#24292e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";line-height:1.5}a{color:#0366d6;text-decoration:none}a:hover{text-decoration:underline}.container{max-width:40rem;margin:1rem auto;padding:1rem}nav{margin-top:2rem;margin-bottom:2rem}p{margin-top:0;margin-bottom:1rem}h1,h2,h3{margin-top:0;margin-bottom:1rem;font-weight:600;line-height:1.25}h1{padding-bottom:.3em;font-size:2em}h1 svg{padding-right:.25rem;vertical-align:text-bottom;width:1.2em;height:1.2em}h2{margin-top:1.5rem;padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid #eaecef}h3{font-size:1.25em;margin-bottom:0}.about{background-color:#fff5b1;margin:.25rem -.25rem;padding:.25rem}header{padding-top:2rem;padding-bottom:2rem}.item{padding-bottom:2rem}.gray{color:#586069}</style>
</head>
@@ -57,13 +57,10 @@ https://nicolas-hoizey.com/feeds/all.xml
</svg>
Web Feed Preview
</h1>
- <h2><xsl:value-of select="atom:feed/atom:title"/></h2>
- <p><xsl:value-of select="atom:feed/atom:description"/></p>
+ <h2><xsl:value-of select="atom:feed/atom:title"/><xsl:value-of select="/rss/channel/title"/></h2>
+ <p><xsl:value-of select="atom:feed/atom:description"/><xsl:value-of select="/rss/channel/description"/></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"/>
- </xsl:attribute>
+ <a href="/">
Visit Website &#x2192;
</a>
</header>