diff --git a/feedgen/entry.py b/feedgen/entry.py index 699f885..1d1a156 100644 --- a/feedgen/entry.py +++ b/feedgen/entry.py @@ -405,7 +405,8 @@ class FeedEntry(object): self.__atom_link += ensure_format( link, set(['href', 'rel', 'type', 'hreflang', 'title', 'length']), set(['href']), - {'rel':['alternate', 'enclosure', 'related', 'self', 'via']} ) + {'rel':['alternate', 'enclosure', 'related', 'self', 'via']}, + {'rel': 'alternate'} ) # RSS only needs one URL. We use the first link for RSS: for l in self.__atom_link: if l.get('rel') == 'alternate':