From 8a65719dc4b330b6d3e59facbe392ef2acadea45 Mon Sep 17 00:00:00 2001 From: Lars Kiesow Date: Sat, 14 Oct 2017 19:33:14 +0200 Subject: [PATCH] Add Link To Entry Example This improves the feed entry example so that it will generate a valid feed entry. This fixes #63 --- readme.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/readme.rst b/readme.rst index 85600c9..2abbf03 100644 --- a/readme.rst +++ b/readme.rst @@ -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