Merge lionelyoung:patch-1

Signed-off-by: Lars Kiesow <lkiesow@uos.de>
This commit is contained in:
Lars Kiesow 2015-01-03 22:46:44 +01:00
commit a16759c339
No known key found for this signature in database
GPG key ID: 5DAFE8D9C823CE73

View file

@ -142,6 +142,12 @@ To produce a podcast simply load the `podcast` extension::
... ...
>>> fg.podcast.itunes_category('Technology', 'Podcasting') >>> fg.podcast.itunes_category('Technology', 'Podcasting')
... ...
>>> fe = fg.add_entry()
>>> fe.id('http://lernfunk.de/media/654321/1/file.mp3')
>>> fe.title('The First Episode')
>>> fe.description('Enjoy our first episode.')
>>> fe.enclosure('http://lernfunk.de/media/654321/1/file.mp3', 0, 'audio/mpeg')
...
>>> fg.rss_str(pretty=True) >>> fg.rss_str(pretty=True)
>>> fg.rss_file('podcast.xml') >>> fg.rss_file('podcast.xml')