From 145a539627693244650383357a2d395ec8b44625 Mon Sep 17 00:00:00 2001 From: zPlus Date: Sat, 15 Dec 2018 12:16:56 +0100 Subject: [PATCH] Fix #79: Links to Freepost disappeared from RSS feed? --- freepost/__init__.py | 1 - freepost/templates/rss.xml | 6 ++++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/freepost/__init__.py b/freepost/__init__.py index 10d290f8..fd88c53c 100755 --- a/freepost/__init__.py +++ b/freepost/__init__.py @@ -821,7 +821,6 @@ def rss_default (): return redirect (application.get_url ('rss', sorting='hot')) -# TODO check if is correctly displayed in RSS aggregators @get ('/rss/', name='rss') def rss (sorting): """ diff --git a/freepost/templates/rss.xml b/freepost/templates/rss.xml index 04eb6829..ffa3afac 100644 --- a/freepost/templates/rss.xml +++ b/freepost/templates/rss.xml @@ -14,8 +14,10 @@ {{ post.hashId }} {{ post.title }} -

by {{ post.username }} — {{ post.vote }} votes, {{ post.commentsCount ~ ' comments' if post.commentsCount > 0 else 'discuss' }}

-

{{ post.text }}

+ {{ post.text }}

+

{{ post.vote }} votes,