Indexed django sitemaps with file caching

This application is usefull when you need to build sitemap for a huge set of data or if dynamic sitemap generation is too slow.

Used with django 1.0.2.

Check out with Subversion:

svn co http://django.org.ua/svn/plesonet_sitemap/trunk/ plesonet_sitemap

Usage example:

sitemaps = generate_sitemaps()
url(r'^sitemap.xml$', index, {'sitemaps': sitemaps}),
url(r'^sitemap-(?P<section>.+)\.xml$', sitemap, {'sitemaps': sitemaps}, name="sitemap"),

File cache created in dir:

path = getattr(settings, "SITEMAP_CACHE_DIR", 'sitemap_cache')