commit 6b908f1d1ffc25501b2c06c9bbb01ecb34ccfac4
parent 82af1457e2ca5c93228d2baf5dc03a0660542d4b
Author: Dan Callaghan <djc@djc.id.au>
Date: Sat, 11 Dec 2010 12:04:31 +1000
sitemap code is dead
Diffstat:
1 file changed, 0 insertions(+), 47 deletions(-)
diff --git a/templates/sitemap.xml b/templates/sitemap.xml
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
- xmlns:xi="http://www.w3.org/2001/XInclude"
- xmlns:py="http://genshi.edgewall.org/">
-
-<xi:include href="_fragments.xml" />
-
-<?python
-W3C_TIME_FORMAT = str('%Y-%m-%dT%H:%M:%S+10:00')
-?>
-
-<url>
- <loc>${abs_uri('')}</loc>
- <lastmod>${index_updated.strftime(W3C_TIME_FORMAT)}</lastmod>
- <changefreq>daily</changefreq>
- <priority>1.0</priority>
-</url>
-<url>
- <loc>${abs_uri('tags', '')}</loc>
- <priority>0.25</priority>
-</url>
-<url py:for="tag, modtime in tags.iteritems()">
- <loc>${abs_uri('tags', tag)}</loc>
- <lastmod>${modtime.strftime(W3C_TIME_FORMAT)}</lastmod>
- <changefreq>weekly</changefreq>
- <priority>0.25</priority>
-</url>
-<url py:if="readinglog_updated is not None">
- <loc>${abs_uri('reading', '')}</loc>
- <lastmod>${readinglog_updated.strftime(W3C_TIME_FORMAT)}</lastmod>
- <changefreq>weekly</changefreq>
- <priority>0.75</priority>
-</url>
-<url>
- <loc>${abs_uri('blog', '')}</loc>
- <lastmod>${blog_index_updated.strftime(W3C_TIME_FORMAT)}</lastmod>
- <changefreq>weekly</changefreq>
- <priority>0.5</priority>
-</url>
-<url py:for="entry in blog_entries">
- <loc>${abs_uri('blog', entry.id)}</loc>
- <lastmod>${entry.modified_date.strftime(W3C_TIME_FORMAT)}</lastmod>
- <changefreq>never</changefreq>
- <priority>1.0</priority>
-</url>
-
-</urlset>