I have different sitemaps for different app and i want index files for each and also sitemaps should be compressed. For this am using django app "django-static-sitemaps 1.5.1". The problem is, it generates only one index file for all sitemaps but i want to make individual index files for each sitemap. Is there any other app or any other way to do this ?
In sitemaps.py, i have : sitemaps = { 'movie': MovieSitemap,'news': NewsSitemap,} class MovieSitemap(Sitemap): changefreq = "daily" priority = 0.9 def items(self): return Movie.active.all() def lastmod(self, obj): return obj.modified_date class NewsSitemap(Sitemap): changefreq = "daily" priority = 0.9 def items(self): return News.active.all().order_by('-created_date') def lastmod(self, obj): return obj.modified_date Now I would like one index file for sitemap-movie.xml and one for sitemap-news.xml -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.