# HG changeset patch # User Paul Boddie # Date 1368225587 -7200 # Node ID 97257310c06b4a4ffed89c5e092dedb6f9c3f97a # Parent ef2a98e8bc9ac36e64bf1b82f7366c01ca7cea44 Fixed the URL provided for each of the different feeds. diff -r ef2a98e8bc9a -r 97257310c06b macros/SharedContent.py --- a/macros/SharedContent.py Sat May 11 00:35:03 2013 +0200 +++ b/macros/SharedContent.py Sat May 11 00:39:47 2013 +0200 @@ -218,7 +218,7 @@ try: feed_info, feed_updates = getUpdates(request, feed_url, max_entries) updates += feed_updates - feeds.append(feed_info) + feeds.append((feed_url, feed_info)) except FeedMissingError: missing.append(feed_url) except FeedContentTypeError: @@ -272,7 +272,7 @@ # Show the feeds. - for feed_type, channel_title, channel_link in feeds: + for feed_url, (feed_type, channel_title, channel_link) in feeds: if channel_title and channel_link: append(fmt.paragraph(on=1, css_class="moinshare-feed")) append(fmt.url(on=1, href=channel_link))