Ticket #3033: django-sitemaps.org-2.patch
File django-sitemaps.org-2.patch, 866 bytes (added by , 18 years ago) |
---|
-
sitemap.xml
1 1 <?xml version="1.0" encoding="UTF-8"?> 2 <urlset xmlns="http://www. google.com/schemas/sitemap/0.84">2 <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> 3 3 {% spaceless %} 4 4 {% for url in urlset %} 5 5 <url> -
sitemap_index.xml
1 1 <?xml version="1.0" encoding="UTF-8"?> 2 <sitemapindex xmlns="http://www. google.com/schemas/sitemap/0.84">2 <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemapindex/0.9"> 3 3 {% for location in sitemaps %}<sitemap><loc>{{ location|escape }}</loc></sitemap>{% endfor %} 4 4 </sitemapindex>