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

Improve "Add Feed Entries" example #63

Closed slavkoja closed 6 years ago

slavkoja commented 7 years ago

Using your example to add entry is not enough to generate atom_str, because it lacks link/content item:

ValueError: Entry must contain an alternate link or a content element.

Please mention it to example, eg.:

fe.link(href="http://example.org/somepath")