2017-09-12 21:50:05 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
'''
|
|
|
|
feedgen.ext.geo
|
|
|
|
~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
Extends the FeedGenerator to produce Simple GeoRSS feeds.
|
|
|
|
|
|
|
|
:copyright: 2017, Bob Breznak <bob.breznak@gmail.com>
|
|
|
|
|
|
|
|
:license: FreeBSD and LGPL, see license.* for more details.
|
|
|
|
'''
|
|
|
|
|
2017-09-12 16:50:26 +02:00
|
|
|
from feedgen.ext.base import BaseExtension
|
|
|
|
|
|
|
|
class GeoExtension(BaseExtension):
|
2017-09-12 21:50:05 +02:00
|
|
|
'''FeedGenerator extension for Simple GeoRSS.
|
|
|
|
'''
|
2017-09-12 16:50:26 +02:00
|
|
|
|
|
|
|
def extend_ns(self):
|
|
|
|
return { 'georss' : 'http://www.georss.org/georss' }
|