diff --git a/feedgen/entry.py b/feedgen/entry.py index 66400ba..ba67192 100644 --- a/feedgen/entry.py +++ b/feedgen/entry.py @@ -446,8 +446,7 @@ def link(self, link=None, replace=False, **kwargs): link, set(['href', 'rel', 'type', 'hreflang', 'title', 'length']), set(['href']), - {'rel': ['alternate', 'enclosure', 'related', 'self', 'via']}, - {'rel': 'alternate'}) + defaults={'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':