Moving site name and image to bottom of folder rss stories. Also adding site title to story title.

This commit is contained in:
Samuel Clay 2016-12-09 14:54:07 -08:00
parent 7ee01bd406
commit 4754cc0bfc
2 changed files with 5 additions and 5 deletions

View file

@ -1091,14 +1091,14 @@ def folder_rss_feed(request, user_id, secret_token, unread_filter, folder_slug):
for story in stories:
feed = Feed.get_by_id(story['story_feed_id'])
story_content = """<img src="//%s/rss_feeds/icon/%s"> %s <br><br> %s""" % (
story_content = """%s<br><br><img src="//%s/rss_feeds/icon/%s" width="16" height="16"> %s""" % (
smart_unicode(story['story_content'],
Site.objects.get_current().domain,
story['story_feed_id'],
feed.feed_title if feed else "",
smart_unicode(story['story_content'])
feed.feed_title if feed else "")
)
story_data = {
'title': story['story_title'],
'title': "%s%s" % (("%s: " % feed.feed_title) if feed else "", story['story_title']),
'link': story['story_permalink'],
'description': story_content,
'categories': story['story_tags'],

View file

@ -85,7 +85,7 @@
<img src="/media/img/logo_512.png" class="logo">
<h1>NewsBlur is in <span class="error404">maintenance mode</span></h1>
<div class="description">
<p>Upgrading to a later version of Mongo, which will further improve loadtimes. This should take about 5 minutes.</p>
<p>We're going to switch out the failing MongoDB server that's causing today's slowdown. Should take no more than 30 seconds to fix.</p>
<p>To pass the time, <a href="http://mlkshk.com/popular">check out what's popular on MLKSHK</a>.</p>
</div>
</div>