For anyone looking for the most basic "static" sitemap you could use:

Views.....
def dlsitemap(request):
    sitemap_data = open('path/to/templates/sitemap.xml',).read()
    return HttpResponse(sitemap_data, mimetype="text/xml")

URLS....
    (r'^sitemap\.xml$', 'dlsitemap'),

All the examples I found where for dynamic sitemaps.
(Please correct any errors)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to