forked from platypush/platypush
Also include the link in an RSS feed digest
This commit is contained in:
parent
8a1f49a906
commit
dc254d6474
1 changed files with 6 additions and 3 deletions
|
@ -140,8 +140,11 @@ class RssUpdates(HttpRequest):
|
||||||
else:
|
else:
|
||||||
entry.content = None
|
entry.content = None
|
||||||
|
|
||||||
content += u'''<h1 style="page-break-before: always">{}</h1>
|
content += u'''
|
||||||
<div class="_parsed-content">{}</div>'''.format(entry.title, entry.content)
|
<h1 style="page-break-before: always">
|
||||||
|
<a href="{}" target="_blank">{}</a>
|
||||||
|
</h1>
|
||||||
|
<div class="_parsed-content">{}</div>'''.format(entry.title, entry.link, entry.content)
|
||||||
|
|
||||||
e = {
|
e = {
|
||||||
'entry_id': entry.id,
|
'entry_id': entry.id,
|
||||||
|
@ -183,7 +186,7 @@ class RssUpdates(HttpRequest):
|
||||||
<title>{title}</title>
|
<title>{title}</title>
|
||||||
<style>{style}</style>
|
<style>{style}</style>
|
||||||
</head>
|
</head>
|
||||||
<body>{{content}}</body>
|
<body>{content}</body>
|
||||||
</html>
|
</html>
|
||||||
'''.format(title=self.title, style=style, content=content)
|
'''.format(title=self.title, style=style, content=content)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue