Package zinnia :: Module sitemaps :: Class CategorySitemap
[hide private]

Class CategorySitemap

source code


Sitemap for categories

Instance Methods [hide private]
 
cache(self, categories)
Cache categorie's entries percent on total entries
source code
 
items(self)
Return all categories with coeff
source code
 
lastmod(self, obj)
Return last modification of a category
source code
 
priority(self, obj)
Compute priority with cached coeffs
source code

Inherited from django.contrib.sitemaps.Sitemap: get_urls, location

Inherited from django.contrib.sitemaps.Sitemap (private): _get_paginator

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  changefreq = 'monthly'

Inherited from django.contrib.sitemaps.Sitemap: limit

Properties [hide private]

Inherited from django.contrib.sitemaps.Sitemap: paginator

Inherited from object: __class__

Method Details [hide private]

items(self)

source code 

Return all categories with coeff

Overrides: django.contrib.sitemaps.Sitemap.items