'alternate' for 'rel' and value under the 'link' key of self.feed dictionary for 'href'. if value under the 'feed_url' key of the self.feed dictionary is not None,
if self . feed [ 'feed_url' ] is not None :