Django

Code

Changeset 3869

Show
Ignore:
Timestamp:
09/26/06 11:27:24 (2 years ago)
Author:
adrian
Message:

Fixed #2805 -- Removed some whitespace from the two sitemap XML templates.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/contrib/sitemaps/templates/sitemap_index.xml

    r3694 r3869  
    11<?xml version="1.0" encoding="UTF-8"?> 
    22<sitemapindex xmlns="http://www.google.com/schemas/sitemap/0.84"> 
    3 {% for location in sitemaps %} 
    4         <sitemap> 
    5                 <loc>{{ location|escape }}</loc> 
    6         </sitemap> 
    7 {% endfor %} 
     3{% for location in sitemaps %}<sitemap><loc>{{ location|escape }}</loc></sitemap>{% endfor %} 
    84</sitemapindex> 
  • django/trunk/django/contrib/sitemaps/templates/sitemap.xml

    r3694 r3869  
    11<?xml version="1.0" encoding="UTF-8"?> 
    22<urlset xmlns="http://www.google.com/schemas/sitemap/0.84"> 
     3{% spaceless %} 
    34{% for url in urlset %} 
    45  <url> 
     
    910   </url> 
    1011{% endfor %} 
     12{% endspaceless %} 
    1113</urlset>