2008-08-24 03:22:23 +08:00
|
|
|
from django.contrib.gis.sitemaps import GeoRSSSitemap, KMLSitemap, KMZSitemap
|
2011-10-18 02:45:22 +08:00
|
|
|
|
|
|
|
from .feeds import feed_dict
|
|
|
|
from .models import City, Country
|
|
|
|
|
2008-08-24 03:22:23 +08:00
|
|
|
|
|
|
|
sitemaps = {'kml' : KMLSitemap([City, Country]),
|
|
|
|
'kmz' : KMZSitemap([City, Country]),
|
|
|
|
'georss' : GeoRSSSitemap(feed_dict),
|
|
|
|
}
|