diff options
author | randomdan <randomdan@localhost> | 2012-03-17 01:38:54 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2012-03-17 01:38:54 +0000 |
commit | 8f8dfe639c0d9fc3b0c6abe34ad58d71239d788a (patch) | |
tree | e28f6a688b61dd6cbdf2bf02d199ae821b699477 | |
parent | Add a sitemap (diff) | |
download | gentoobrowse-8f8dfe639c0d9fc3b0c6abe34ad58d71239d788a.tar.bz2 gentoobrowse-8f8dfe639c0d9fc3b0c6abe34ad58d71239d788a.tar.xz gentoobrowse-8f8dfe639c0d9fc3b0c6abe34ad58d71239d788a.zip |
Fix date format
-rw-r--r-- | gentoobrowse/xslt/sitemap.xslt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gentoobrowse/xslt/sitemap.xslt b/gentoobrowse/xslt/sitemap.xslt index a90e150..28cbc70 100644 --- a/gentoobrowse/xslt/sitemap.xslt +++ b/gentoobrowse/xslt/sitemap.xslt @@ -19,14 +19,14 @@ <xsl:for-each select="packages/package"> <url> <loc>http://gentoobrowse.randomdan.homeip.net/package/<xsl:value-of select="catname" />/<xsl:value-of select="pkgname" /></loc> - <lastmod><xsl:value-of select="moddate" /></lastmod> + <lastmod><xsl:value-of select="moddate/@date" /></lastmod> <changefreq>weekly</changefreq> </url> </xsl:for-each> <xsl:for-each select="categories/category"> <url> <loc>http://gentoobrowse.randomdan.homeip.net/category/<xsl:value-of select="catname" /></loc> - <lastmod><xsl:value-of select="pkgfirstseen" /></lastmod> + <lastmod><xsl:value-of select="pkgfirstseen/@date" /></lastmod> <changefreq>daily</changefreq> </url> </xsl:for-each> |