comparison myrss/step1.xsl @ 142:2ed8cf5f36bf

myrss2: fix handling of null feed title or links; miscellaneous URL updates
author paulo
date Mon, 18 Dec 2023 20:10:27 +0000
parents ab0455f2a832
children
comparison
equal deleted inserted replaced
2:6c6cacb81f62 3:400eae7e5d37
8 8
9 <!-- Atom --> 9 <!-- Atom -->
10 <xsl:template match="/a:feed"> 10 <xsl:template match="/a:feed">
11 <site> 11 <site>
12 <title><xsl:value-of select="a:title"/></title> 12 <title><xsl:value-of select="a:title"/></title>
13 <link><xsl:value-of select="a:link[@rel='alternate']/@href"/></link> 13 <link><xsl:value-of select="a:link/@href"/></link>
14 <xsl:for-each select="a:entry"> 14 <xsl:for-each select="a:entry">
15 <headline> 15 <headline>
16 <title><xsl:value-of select="a:title"/></title> 16 <title><xsl:value-of select="a:title"/></title>
17 <link><xsl:value-of select="a:link[@rel='alternate']/@href"/></link> 17 <link><xsl:value-of select="a:link/@href"/></link>
18 </headline> 18 </headline>
19 </xsl:for-each> 19 </xsl:for-each>
20 </site> 20 </site>
21 </xsl:template> 21 </xsl:template>
22 22