~ubuntu-branches/ubuntu/jaunty/python-django/jaunty-backports

« back to all changes in this revision

Viewing changes to django/contrib/sitemaps/templates/sitemap.xml

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2008-11-15 19:15:33 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20081115191533-xbt1ut2xf4fvwtvc
Tags: 1.0.1-0ubuntu1
* New upstream release:
  - Bug fixes.

* The tests/ sub-directory appaers to have been dropped upstream, so pull
  our patch to workaround the tests and modify the rules.

Show diffs side-by-side

added added

removed removed

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