diff options
-rw-r--r-- | feed.xslt.xml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/feed.xslt.xml b/feed.xslt.xml index f4ff968..96e9e74 100644 --- a/feed.xslt.xml +++ b/feed.xslt.xml @@ -21,13 +21,16 @@ https://nicolas-hoizey.com/feeds/all.xml <head> <meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> - <title><xsl:value-of select="atom:feed/atom:title"/></title> + <title> + Atom Feed | + <xsl:value-of select="/atom:feed/atom: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> <body> <nav class="container"> <p class="about"> - <strong>This is a web feed,</strong> also known as an RSS or Atom feed.<br /><strong>Subscribe</strong> by copying the URL from the address bar into your newsreader. + <strong>This is a web feed,</strong> also known as an Atom feed.<br /><strong>Subscribe</strong> by copying the URL from the address bar into your newsreader. </p> <p class="gray"> Visit <a href="https://aboutfeeds.com">About Feeds</a> to get started with newsreaders and subscribing. It’s free. @@ -59,7 +62,7 @@ https://nicolas-hoizey.com/feeds/all.xml <p>This preview only shows titles, but the actual feed contains the full content.</p> <a> <xsl:attribute name="href"> - <xsl:value-of select="/atom:feed/atom:link[not(@rel)]/@href"/> + <xsl:value-of select="/atom:feed/atom:link[2]/@href"/> </xsl:attribute> Visit Website → </a> |