mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
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...
This commit is contained in:
parent
aad0f0c88c
commit
2caade8f7c
@ -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.""")))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user