Adding upstream version 1.0.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
5cd8ebe7c9
commit
70c11d34fc
55 changed files with 6853 additions and 0 deletions
21
feedgen/ext/geo.py
Normal file
21
feedgen/ext/geo.py
Normal file
|
@ -0,0 +1,21 @@
|
|||
# -*- 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.
|
||||
'''
|
||||
|
||||
from feedgen.ext.base import BaseExtension
|
||||
|
||||
|
||||
class GeoExtension(BaseExtension):
|
||||
'''FeedGenerator extension for Simple GeoRSS.
|
||||
'''
|
||||
|
||||
def extend_ns(self):
|
||||
return {'georss': 'http://www.georss.org/georss'}
|
Loading…
Add table
Add a link
Reference in a new issue