aboutsummaryrefslogtreecommitdiff
path: root/config.yml.example
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2020-05-25 22:01:43 +0200
committerRené 'Necoro' Neumann <necoro@necoro.eu>2020-05-25 22:01:43 +0200
commite90c190999a9c1bf5c90cfbedb7d25ae0f800694 (patch)
tree24ea8e34228099c48c95441a803709360b73be03 /config.yml.example
parent5834d93e1d1fbddde7d5be2ebaabca254ab8bba4 (diff)
downloadfeed2imap-go-e90c190999a9c1bf5c90cfbedb7d25ae0f800694.tar.gz
feed2imap-go-e90c190999a9c1bf5c90cfbedb7d25ae0f800694.tar.bz2
feed2imap-go-e90c190999a9c1bf5c90cfbedb7d25ae0f800694.zip
Documentation
Diffstat (limited to 'config.yml.example')
-rw-r--r--config.yml.example9
1 files changed, 7 insertions, 2 deletions
diff --git a/config.yml.example b/config.yml.example
index 0e0e304..1213189 100644
--- a/config.yml.example
+++ b/config.yml.example
@@ -70,9 +70,12 @@ options:
# If an item is updated, but has been deleted on the server already, it is re-uploaded when this option is true.
# Else it is ignored.
reupload-if-updated: false
+ # Items of a feed may be filtered. In general there is no real use in specifying this globally.
+ # For full information about this feature, visit https://github.com/Necoro/feed2imap-go/wiki/Detailed-Options.
+ item-filter: 'Author.Name != "Weirdo"'
## Feeds
-# Each feed must have a name and a URL. The name must be unique.
+# Each feed must have a name, and a URL or Exec argument. The name must be unique.
# The name also determines the folder to use for that feed, which can be overwritten with an explicit target.
# Groups can be used to build a hierarchy, with arbitrary nesting.
feeds:
@@ -91,7 +94,9 @@ feeds:
# Considering the global `target` the final folder will be:
# INBOX/Feeds/Linux/Arch
target: Arch
- url: https://www.archlinux.org/feeds/news/
+ # Use `exec` instead of `url` when fetching is not enough and script magic is needed.
+ # See https://github.com/Necoro/feed2imap-go/wiki/Detailed-Options for details.
+ exec: ["wget", "https://www.archlinux.org/feeds/news/", "-O", "-"]
# Groups can be nested...
- group: Gentoo
# and also specify a target (which is superfluous here, because it is identical to the group name)