Mercurial > hg > index.fcgi > www > www-1
changeset 29:e92b8e5b8fd7
myrss/step1.xsl: fix bug with Digg feeds
author | paulo@thepaulopc |
---|---|
date | Sun, 04 Sep 2011 13:13:03 -0700 |
parents | 28221b9bb370 |
children | 339e5cf37b5f |
files | myrss/step1.xsl |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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>