My static website generator using poole https://www.xythobuz.de
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xsl:stylesheet version="3.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  3. xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"
  4. xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">
  5. <xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes" />
  6. <xsl:template match="/">
  7. <html lang="en">
  8. <head>
  9. <meta charset="utf-8" />
  10. <title>RSS Feed - xythobuz.de</title>
  11. <meta name="description">
  12. <xsl:attribute name="content">
  13. <xsl:value-of select="/rss/channel/description" />
  14. </xsl:attribute>
  15. </meta>
  16. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  17. <link rel="author" href="xythobuz@xythobuz.de" />
  18. <link rel="shortcut icon" href="img/favicon.ico" />
  19. <link type="text/css" rel="stylesheet" href="css/style.css" />
  20. </head>
  21. <body>
  22. <div id="wrap"><div id="nav">
  23. <a>
  24. <xsl:attribute name="href">
  25. <xsl:value-of select="/rss/channel/link" />
  26. </xsl:attribute>
  27. <h1>
  28. <xsl:value-of select="/rss/channel/title" />
  29. - RSS Feed
  30. <img src="img/rss.png" />
  31. </h1>
  32. </a>
  33. </div></div>
  34. <div id="content">
  35. <p>
  36. This is the RSS feed for my blog.
  37. You can use it to get notified about new posts automatically.
  38. </p>
  39. <p>
  40. If you're already used to this and wondering why this looks strange, this is a styled RSS feed.
  41. Just copy the URL into your newsreader.
  42. </p>
  43. <p>
  44. If you don't know what RSS is check out <a href="https://aboutfeeds.com">About Feeds</a> to get started.
  45. </p>
  46. <h1>Recent Blog Posts</h1>
  47. <ul>
  48. <xsl:for-each select="/rss/channel/item">
  49. <li>
  50. <a>
  51. <xsl:attribute name="href">
  52. <xsl:value-of select="link" />
  53. </xsl:attribute>
  54. <xsl:value-of select="title" />
  55. </a>
  56. <br />
  57. <span class="listdesc">
  58. Published: <xsl:value-of select="substring(pubDate, 1, string-length(pubDate) - 15)" />
  59. </span>
  60. <br />
  61. <span class="listdesc">
  62. Updated: <xsl:value-of select="substring(atom:updated, 1, string-length(atom:updated) - 15)" />
  63. </span>
  64. </li>
  65. </xsl:for-each>
  66. </ul>
  67. <p>
  68. Last rebuild at: <xsl:value-of select="substring(/rss/channel/lastBuildDate, 1, string-length(/rss/channel/lastBuildDate) - 6)" />
  69. </p>
  70. <p>
  71. Styled RSS feed inspired by <a href="https://darekkay.com/blog/rss-styling/">Darek Kay</a> and <a href="https://github.com/genmon/aboutfeeds/blob/main/tools/pretty-feed-v3.xsl">pretty-feed-v3</a>.
  72. </p>
  73. </div>
  74. </body>
  75. </html>
  76. </xsl:template>
  77. </xsl:stylesheet>