title: Django Sitemap Framework. Accepting query parameters
body: <p>I'm using the <a href="https://docs.djangoproject.com/en/1.10/ref/contrib/sitemaps/" rel="nofollow noreferrer">Django Sitemap Framework</a></p>
  
  <p>I've no problem retrieving a list of articles from my DB.</p>
  
  <pre><code>class ArticleSitemap(Sitemap):
      def items(self):
          return articles.objects.filter(tagid=1399).order_by('-publisheddate')
  </code></pre>
  
  <p>I now want to accept a query parameter to filter by an inputted tag id ie: </p>
  
  <p>sitemap.xml?tagid=1000 </p>
  
  <p>I have yet to find an example in the docs or on stack.</p>