From fdfb00337a3777f306277a162d91e49117c22aff Mon Sep 17 00:00:00 2001 From: Martin Dosch Date: Fri, 31 May 2019 11:32:13 +0200 Subject: [PATCH] Updated documentation for the new config option . --- README.md | 8 ++++++-- config.json.example | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4bdcde9..6dd77c3 100644 --- a/README.md +++ b/README.md @@ -47,12 +47,16 @@ If the flag `-config` is not used the configuration is expected at "MaxArticles": 5, "RefreshTime": 30, "NoExcerpt": false, +"Filter": [ "submitted by", "[link]" ], "Feeds": [ "https://www.debian.org/News/news", - "https://www.debian.org/security/dsa-long" ] + "https://www.debian.org/security/dsa-long", + "https://www.reddit.com/r/FDroidUpdates/new.rss" ] } ``` `MaxArticles` is the maximum number of articles that are sent per feed and query. If `NoExcerpt` is set to *true* no excerpt will be posted. `RefreshTime` defines the intervall for checking the feeds -in seconds. \ No newline at end of file +in seconds. +With `Filter` you can specify strings for filtering out lines +beginning with those strings. \ No newline at end of file diff --git a/config.json.example b/config.json.example index e2644e3..bd74bee 100644 --- a/config.json.example +++ b/config.json.example @@ -7,6 +7,7 @@ "MaxArticles": 5, "RefreshTime": 30, "NoExcerpt": false, +"Filter": [ "submitted by", "[link]" ], "Feeds": [ "https://www.debian.org/News/news", "https://www.debian.org/security/dsa-long" ] }