Show
Ignore:
Timestamp:
01/14/12 19:10:26 (12 years ago)
Author:
František Kučera <franta-hg@…>
Branch:
default
Message:

Lepší odsazení, tabulátory.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • šablona/rss.xsl

    r61 r87  
    2525        exclude-result-prefixes="fn j a"> 
    2626        <xsl:output     method="xml" indent="yes" encoding="UTF-8"/> 
    27          
    28         <xsl:template match="/">                 
     27 
     28        <xsl:template match="/"> 
    2929                <rss version="2.0"> 
    3030                        <channel> 
     
    3232                                <title><xsl:value-of select="a:feed/a:title"/></title> 
    3333                                <link><xsl:value-of select="$url"/></link> 
    34                                 <description><xsl:value-of select="a:feed/a:subtitle"/></description>                            
     34                                <description><xsl:value-of select="a:feed/a:subtitle"/></description> 
    3535                                <atom:link rel="self" href="{$url}rss.xml"/> 
    3636                                <xsl:apply-templates select="a:feed/a:entry"/> 
    3737                        </channel> 
    38                 </rss>           
     38                </rss> 
    3939        </xsl:template> 
    40          
     40 
    4141        <xsl:template match="a:entry"> 
    42                 <item>           
     42                <item> 
    4343                        <title><xsl:value-of select="a:title"/></title> 
    4444                        <link><xsl:value-of select="a:link/@href"/></link> 
     
    4646                        <guid><xsl:value-of select="a:id"/></guid> 
    4747                        <pubDate><xsl:value-of select="format-dateTime(a:updated, 
    48                 '[FNn,*-3], [D01] [MNn,*-3] [Y0001] [H01]:[m01]:[s01] [Z]', 
    49                 'en', 
    50                 'ISO', 
    51                 'US')"/></pubDate>               
     48                                '[FNn,*-3], [D01] [MNn,*-3] [Y0001] [H01]:[m01]:[s01] [Z]', 
     49                                'en', 
     50                                'ISO', 
     51                                'US')"/></pubDate> 
    5252                </item> 
    5353        </xsl:template> 
    54          
     54 
    5555</xsl:stylesheet> 
     56