lkiesow / python-feedgen

Python module to generate ATOM feeds, RSS feeds and Podcasts.
https://feedgen.kiesow.be/
BSD 2-Clause "Simplified" License
723 stars 123 forks source link

[Bug?] "Missing description" error when generating RSS feed #41

Closed MasterGroosha closed 8 years ago

MasterGroosha commented 8 years ago

Hello. This code works fine:

fg = FeedGenerator()
fg.id('http://example.com/')
fg.link(href='https://example.com', rel='self')
fg.title('My title')
fg.subtitle('My subtitle')

However when I remove subtitle, I get the following error: ValueError: Required fields not set (description)

MasterGroosha commented 8 years ago

Oh, I'm so sorry, I missed this field

impredicative commented 5 years ago

Equivalently, fg.description("My feed's description") also works.