Mercurial > hg > index.fcgi > www > www-1
annotate myrss/step2.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 | 4d7f45e51e8e |
children |
rev | line source |
---|---|
paulo@6 | 1 <?xml version="1.0" encoding="ISO-8859-1"?> |
paulo@9 | 2 <xsl:stylesheet version="1.0" |
paulo@9 | 3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
paulo@9 | 4 xmlns:pba="http://www.pauloang.com/"> |
paulo@7 | 5 <xsl:output method="html"/> |
paulo@6 | 6 |
paulo@7 | 7 <xsl:template match="pba:site"> |
paulo@9 | 8 <H2><A HREF="{normalize-space(pba:link)}"><xsl:value-of select="pba:title"/></A></H2> |
paulo@7 | 9 <P> |
paulo@7 | 10 <xsl:for-each select="pba:headline"> |
paulo@9 | 11 <A HREF="{normalize-space(pba:link)}"><xsl:value-of select="pba:title"/></A> - |
paulo@6 | 12 </xsl:for-each> |
paulo@7 | 13 </P> |
paulo@6 | 14 </xsl:template> |
paulo@6 | 15 |
paulo@6 | 16 </xsl:stylesheet> |