The Django documentation is very minimal and I can't seem to get this to work.
Currently I have 3 individual sitemaps, and I would like to create a sitemap index for them:
(r'^sitemap1\.xml$', 'django.contrib.sitemaps.views.sitemap', {'sitemaps':sitemap1}),
(r'^sitemap2\.xml$', 'django.contrib.sitemaps.views.sitemap', {'sitemaps':sitemap2}),
(r'^sitemap3\.xml$', 'django.contrib.sitemaps.views.sitemap', {'sitemaps':sitemap3}),
The Django documentation mentions adding something along the lines of:
url(r'^sitemap-(?P<section>.+)\.xml$', views.sitemap, {'sitemaps': sitemaps},name='django.contrib.sitemaps.views.sitemap'),
What is "section" in this case? And how do I access this index file? Is it downloadable or is it accessible via a url?
Any help is greatly appreciated!
Edit Basically I would like to accomplish this in Django: https://support.google.com/webmasters/answer/75712