<?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="3.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:atom="http://www.w3.org/2005/Atom"> <xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/> <xsl:template match="/"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <head> <title> RSS Feed | <xsl:value-of select="/atom:feed/atom:title"/> </title> <link rel="stylesheet" href="../css/index.css"/> </head> <body> <p> This is an RSS feed. Subscribe by copying the URL from the address bar into your newsreader. Don't have a newsreader? Visit <a href="https://aboutfeeds.com">About Feeds</a> to learn more and get started. It’s free. </p> <h1>RSS Feed Preview</h1> <h2>Recent blog posts</h2> <xsl:for-each select="/atom:feed/atom:entry"> <h3><a> <xsl:attribute name="href"> <xsl:value-of select="atom:link/@href"/> </xsl:attribute> <xsl:value-of select="atom:title"/> </a></h3> Last updated: <xsl:value-of select="substring(atom:updated, 0, 11)" /> </xsl:for-each> </body> </html> </xsl:template> </xsl:stylesheet>