impredicative / irc-rss-feed-bot

Dockerized IRC bot to post RSS/Atom and scraped HTML/JSON/CSV feeds to channels
https://hub.docker.com/r/ascensive/irc-rss-feed-bot
GNU Affero General Public License v3.0
28 stars 4 forks source link

Allow customizing message config #45

Closed impredicative closed 4 years ago

impredicative commented 4 years ago

Intended config:

message:
    summary: true
MESSAGE_FORMAT: Final = "[{feed}] {title} → {url}"
MESSAGE_FORMAT: Final = "[{feed}] {title} ➤ {summary} → {url}"

If channel has a style and if summary is enabled, then title is to be underlined.

Replace in all places in config where {summary} is explicitly specified.