<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:atom="http://www.w3.org/2005/Atom">
  <xsl:template match="/">
    <xsl:apply-templates select="atom:feed" />
  </xsl:template>
  
  <xsl:template match="atom:feed">
    <h1>
      <xsl:value-of select="atom:title" />
    </h1>
    <p>
      <xsl:value-of select="atom:subtitle" />
    </p>
    <h3>This blog is hosted on BlogSpot.com:
		<a href="http://cubicle-h.blogspot.com/" target="_blank">cubicle-h.blogspot.com</a> </h3>
    
    <h2>Recent Posts:</h2>
      <xsl:for-each select="atom:entry">
  		<h3>
  		[<xsl:value-of select="substring(atom:published,0,11)" />]
        <xsl:element name="a">
          <xsl:attribute name="href">
            <xsl:value-of select="atom:link[@rel='alternate']/@href"/>
          </xsl:attribute>
          <xsl:attribute name="target">_blank</xsl:attribute>
          <xsl:value-of select="atom:title"/>
        </xsl:element>
  		</h3>
  		<p><xsl:value-of select="atom:summary" disable-output-escaping="yes"/> ...</p> 
      </xsl:for-each>
  </xsl:template>
</xsl:stylesheet>