~ubuntu-branches/ubuntu/saucy/python-django/saucy-updates

« back to all changes in this revision

Viewing changes to django/contrib/gis/templates/gis/sitemaps/geo_sitemap.xml

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2008-11-15 19:15:33 UTC
  • mto: This revision was merged to the branch mainline in revision 17.
  • Revision ID: james.westby@ubuntu.com-20081115191533-84v2zyjbmp1074ni
Tags: upstream-1.0.1
ImportĀ upstreamĀ versionĀ 1.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
{% autoescape off %}<?xml version="1.0" encoding="UTF-8"?>
2
 
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:geo="http://www.google.com/geo/schemas/sitemap/1.0">
3
 
{% spaceless %}
4
 
{% for url in urlset %}
5
 
  <url>
6
 
    <loc>{{ url.location|escape }}</loc>
7
 
    {% if url.lastmod %}<lastmod>{{ url.lastmod|date:"Y-m-d" }}</lastmod>{% endif %}
8
 
    {% if url.changefreq %}<changefreq>{{ url.changefreq }}</changefreq>{% endif %}
9
 
    {% if url.priority %}<priority>{{ url.priority }}</priority>{% endif %}
10
 
    {% if url.geo_format %}<geo:geo>
11
 
      <geo:format>{{ url.geo_format }}</geo:format>
12
 
    </geo:geo>{% endif %}
13
 
   </url>
14
 
{% endfor %}
15
 
{% endspaceless %}
16
 
</urlset>
17
 
{% endautoescape %}