Add Link To Entry Example

This improves the feed entry example so that it will generate a valid
feed entry.

This fixes #63
This commit is contained in:
Lars Kiesow 2017-10-14 19:33:14 +02:00
parent 4a0a2663e9
commit 8a65719dc4
No known key found for this signature in database
GPG key ID: 5DAFE8D9C823CE73

View file

@ -107,6 +107,7 @@ FeedEntry object::
>>> fe = fg.add_entry()
>>> fe.id('http://lernfunk.de/media/654321/1')
>>> fe.title('The First Episode')
>>> fe.link(href="http://lernfunk.de/feed")
The FeedGenerators method `add_entry(...)` without argument provides will
automatically generate a new FeedEntry object, append it to the feeds internal