From dc254d64746e5219765c65049cee8404f879ca8c Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sat, 5 Sep 2020 01:39:16 +0200 Subject: [PATCH] Also include the link in an RSS feed digest --- platypush/backend/http/request/rss/__init__.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/platypush/backend/http/request/rss/__init__.py b/platypush/backend/http/request/rss/__init__.py index 0f805b50..e69365ab 100644 --- a/platypush/backend/http/request/rss/__init__.py +++ b/platypush/backend/http/request/rss/__init__.py @@ -140,8 +140,11 @@ class RssUpdates(HttpRequest): else: entry.content = None - content += u'''

{}

-
{}
'''.format(entry.title, entry.content) + content += u''' +

+ {} +

+
{}
'''.format(entry.title, entry.link, entry.content) e = { 'entry_id': entry.id, @@ -183,7 +186,7 @@ class RssUpdates(HttpRequest): {title} - {{content}} + {content} '''.format(title=self.title, style=style, content=content)