diff myrss/step2.xsl @ 9:fbd8c30c465c

add more RSS feeds; normalize-space in step2.xsl and "a hrefs"; myrss_update.sh now outputs a more complete HTML document to stdout
author paulo@twcdns.fastsearch.net
date Sun, 12 Sep 2010 23:36:32 -0700
parents 4d7f45e51e8e
children
line diff
     1.1 --- a/myrss/step2.xsl	Sat Sep 11 04:20:41 2010 -0700
     1.2 +++ b/myrss/step2.xsl	Sun Sep 12 23:36:32 2010 -0700
     1.3 @@ -1,12 +1,14 @@
     1.4  <?xml version="1.0" encoding="ISO-8859-1"?>
     1.5 -<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pba="http://www.pauloang.com/">
     1.6 +<xsl:stylesheet version="1.0"
     1.7 +	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     1.8 +	xmlns:pba="http://www.pauloang.com/">
     1.9  <xsl:output method="html"/>
    1.10  
    1.11  <xsl:template match="pba:site">
    1.12 -<H2><A HREF="{pba:link}"><xsl:value-of select="pba:title"/></A></H2>
    1.13 +<H2><A HREF="{normalize-space(pba:link)}"><xsl:value-of select="pba:title"/></A></H2>
    1.14  <P>
    1.15  <xsl:for-each select="pba:headline">
    1.16 -	<A HREF="{pba:link}"><xsl:value-of select="pba:title"/></A> -
    1.17 +	<A HREF="{normalize-space(pba:link)}"><xsl:value-of select="pba:title"/></A> -
    1.18  </xsl:for-each>
    1.19  </P>
    1.20  </xsl:template>