Fixed image URLs in RSS feeds

This commit is contained in:
Fabio Manganiello 2021-01-26 02:08:16 +01:00
parent c2c609f205
commit 830d558140

View file

@ -133,7 +133,7 @@ def rss_route():
<link>https://blog.platypush.tech{link}</link> <link>https://blog.platypush.tech{link}</link>
<pubDate>{published}</pubDate> <pubDate>{published}</pubDate>
<description><![CDATA[{content}]]></description> <description><![CDATA[{content}]]></description>
<media:content medium="image" url="https://blog.platypush.tech/img{image}" width="200" height="150" /> <media:content medium="image" url="https://blog.platypush.tech{image}" width="200" height="150" />
</item> </item>
'''.format( '''.format(
title=page.get('title', '[No Title]'), title=page.get('title', '[No Title]'),