šablona/sitemap.xsl
changeset 101 024ee27ce4fa
parent 61 9503eb8377f1
child 136 d5feb9d8ebc3
     1.1 --- a/šablona/sitemap.xsl	Sat Jan 07 12:43:30 2012 +0100
     1.2 +++ b/šablona/sitemap.xsl	Sat Jun 23 21:10:21 2012 +0200
     1.3 @@ -24,18 +24,19 @@
     1.4  	xmlns:fn="http://www.w3.org/2005/xpath-functions"
     1.5  	exclude-result-prefixes="fn j a">
     1.6  	<xsl:output	method="xml" indent="yes" encoding="UTF-8"/>
     1.7 -	
     1.8 +
     1.9  	<xsl:template match="/">
    1.10  		<urlset>
    1.11  			<xsl:apply-templates select="a:feed/a:entry"/>
    1.12  		</urlset>
    1.13  	</xsl:template>
    1.14 -	
    1.15 +
    1.16  	<xsl:template match="a:entry">
    1.17  		<url>
    1.18  			<loc><xsl:value-of select="a:link/@href"/></loc>
    1.19  			<lastmod><xsl:value-of select="a:updated"/></lastmod>
    1.20  		</url>
    1.21  	</xsl:template>
    1.22 -	
    1.23 +
    1.24  </xsl:stylesheet>
    1.25 +