From 2caade8f7ca1f2791f76cbe5c14c6b70b8f1c315 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Fri, 20 Jun 2014 22:09:30 +0300 Subject: [PATCH] RSS: make more sense to default config * Change default separator to `|` as used by Topic plugin. * Show links with manual calling and automatic announcement. * In most of cases we want to know where does new RSS feed title point to... --- plugins/RSS/config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/RSS/config.py b/plugins/RSS/config.py index a87fd7e3e..0d4c824a0 100644 --- a/plugins/RSS/config.py +++ b/plugins/RSS/config.py @@ -54,7 +54,7 @@ conf.registerChannelValue(RSS, 'bold', registry.Boolean( True, _("""Determines whether the bot will bold the title of the feed when it announces news."""))) conf.registerChannelValue(RSS, 'headlineSeparator', - registry.StringSurroundedBySpaces(' || ', _("""Determines what string is + registry.StringSurroundedBySpaces('|', _("""Determines what string is used to separate headlines in new feeds."""))) conf.registerChannelValue(RSS, 'announcementPrefix', registry.StringWithSpaceOnRight(_('News from '), _("""Determines what @@ -83,7 +83,7 @@ conf.registerGlobalValue(RSS, 'feeds', FeedNames([], _("""Determines what feeds should be accessible as commands."""))) conf.registerChannelValue(RSS, 'showLinks', - registry.Boolean(False, _("""Determines whether the bot will list the link + registry.Boolean(True, _("""Determines whether the bot will list the link along with the title of the feed when the rss command is called. supybot.plugins.RSS.announce.showLinks affects whether links will be listed when a feed is automatically announced."""))) @@ -110,7 +110,7 @@ conf.registerChannelValue(RSS, 'keywordBlacklist', conf.registerGroup(RSS, 'announce') conf.registerChannelValue(RSS.announce, 'showLinks', - registry.Boolean(False, _("""Determines whether the bot will list the link + registry.Boolean(True, _("""Determines whether the bot will list the link along with the title of the feed when a feed is automatically announced.""")))