diff myrss/step1.xsl @ 29:e92b8e5b8fd7

myrss/step1.xsl: fix bug with Digg feeds
author paulo@thepaulopc
date Sun, 04 Sep 2011 13:13:03 -0700
parents ab0455f2a832
children
line diff
     1.1 --- a/myrss/step1.xsl	Thu Jun 23 00:41:19 2011 -0700
     1.2 +++ b/myrss/step1.xsl	Sun Sep 04 13:13:03 2011 -0700
     1.3 @@ -10,11 +10,11 @@
     1.4  <xsl:template match="/a:feed">
     1.5  <site>
     1.6  <title><xsl:value-of select="a:title"/></title>
     1.7 -<link><xsl:value-of select="a:link[@rel='alternate']/@href"/></link>
     1.8 +<link><xsl:value-of select="a:link/@href"/></link>
     1.9  <xsl:for-each select="a:entry">
    1.10  	<headline>
    1.11  	<title><xsl:value-of select="a:title"/></title>
    1.12 -	<link><xsl:value-of select="a:link[@rel='alternate']/@href"/></link>
    1.13 +	<link><xsl:value-of select="a:link/@href"/></link>
    1.14  	</headline>
    1.15  </xsl:for-each>
    1.16  </site>