<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:php="http://php.net/xsl"
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:php="http://php.net/xsl"
<pubDate>
<xsl:variable name="date" select="substring-before(.//div[@class='post-byline'], ',')"/>
<!-- date format is MM.DD.YY -->
<pubDate>
<xsl:variable name="date" select="substring-before(.//div[@class='post-byline'], ',')"/>
<!-- date format is MM.DD.YY -->
<xsl:variable name="day" select="substring($date, 4, 2)"/>
<xsl:variable name="year" select="substring($date, 7, 2)"/>
<xsl:variable name="iso-date" select="concat('20', $year, '-', $month, '-', $day)"/>
<xsl:variable name="day" select="substring($date, 4, 2)"/>
<xsl:variable name="year" select="substring($date, 7, 2)"/>
<xsl:variable name="iso-date" select="concat('20', $year, '-', $month, '-', $day)"/>
<rss version="2.0">
<xsl:attribute name="xml:base"><xsl:value-of select="$BaseURL" /></xsl:attribute>
<channel>
<generator>Tweeper</generator>
<title>
<rss version="2.0">
<xsl:attribute name="xml:base"><xsl:value-of select="$BaseURL" /></xsl:attribute>
<channel>
<generator>Tweeper</generator>
<title>