Re: django.contrib.sitemaps Additions and Tweaks

2009-01-15 Thread Russell Keith-Magee
On Thu, Jan 15, 2009 at 2:51 AM, David Cramer wrote: > > Actually before I get a "wtf" response, I should note that the two > generators do not quite match. One is rendering a template, the other > is simply yielding XML. The latter approach is what I prefer, but I > was rushing to finish the ind

Re: django.contrib.sitemaps Additions and Tweaks

2009-01-14 Thread David Cramer
Actually before I get a "wtf" response, I should note that the two generators do not quite match. One is rendering a template, the other is simply yielding XML. The latter approach is what I prefer, but I was rushing to finish the index generator :) On Jan 14, 11:49 am, David Cramer wrote: > Whi

[Proposal] django.contrib.sitemaps Additions and Tweaks

2009-01-14 Thread David Cramer
While the Sitemaps framework in Django is fairly complete, there's a few things it's lacking, namely the ability to specify attributes for a Sitemap index file. We ended up rewriting our sitemaps, but I wanted to throw our code up here for an example of what we came up. Keep in mind that we are wr