app/django/contrib/gis/tests/geoapp/sitemaps.py
author Lennard de Rijk <ljvderijk@gmail.com>
Fri, 30 Jan 2009 10:36:23 +0000
changeset 1079 be1aacb33b0f
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Changed clean_link_id to be in a wrapper form as well. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed

from django.contrib.gis.sitemaps import GeoRSSSitemap, KMLSitemap, KMZSitemap
from models import City, Country
from feeds import feed_dict

sitemaps = {'kml' : KMLSitemap([City, Country]),
            'kmz' : KMZSitemap([City, Country]),
            'georss' : GeoRSSSitemap(feed_dict),
            }