aboutsummaryrefslogtreecommitdiff
path: root/config.yml.example
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2020-08-22 16:05:29 +0200
committerRené 'Necoro' Neumann <necoro@necoro.eu>2020-08-22 16:05:29 +0200
commit89746a2a3b719a6836587497af90dc548d2192ba (patch)
tree8414c8bee2a6b64eccfbdf717de329ece81e240d /config.yml.example
parentaf957a67eb34430d5788bf1d2cb8e1aa1e46f3ff (diff)
downloadfeed2imap-go-89746a2a3b719a6836587497af90dc548d2192ba.tar.gz
feed2imap-go-89746a2a3b719a6836587497af90dc548d2192ba.tar.bz2
feed2imap-go-89746a2a3b719a6836587497af90dc548d2192ba.zip
#26 Update config.yml.example
Diffstat (limited to '')
-rw-r--r--config.yml.example11
1 files changed, 11 insertions, 0 deletions
diff --git a/config.yml.example b/config.yml.example
index 1213189..747ccc2 100644
--- a/config.yml.example
+++ b/config.yml.example
@@ -32,6 +32,10 @@ parts: ["text", "html"]
# Email-Address to use in 'From' and 'To' when not specified in feed.
# Default uses 'current user'@hostname
default-email: username@hostname
+# Whether the target folder determination for each feed shall fallback on the feed's/group's name.
+# When `true`, omitting a target is identical to specifying the name as the target.
+# When `false`, omitting a target is identical to specifying `null` or `""` as the target.
+auto-target: true
## Per-Feed Options
# Defaults for options per feed, overridable in each feed and group
@@ -77,12 +81,19 @@ options:
## Feeds
# 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.
+# This behavior can be changed by toggling the global option `auto-target` (see above).
# Groups can be used to build a hierarchy, with arbitrary nesting.
feeds:
- name: XKCD
url: http://xkcd.com/rss.xml
# specify any per feed option to overwrite it for this feed
min-frequency: 12
+ # No target has been defined, so it falls back onto the feed's name.
+ # Combined with the global `target`, the final folder will be:
+ # INBOX/Feeds/XKCD
+ # Would the global option `auto-target` been set to `false`, this fallback would not occur,
+ # and the final folder would be:
+ # INBOX/Feeds
# Groups can be used for, well, grouping.
- group: Linux
# You can specify options on group level that are then used for all feeds contained
ertions'>+5 2021-02-21Update changelogRené 'Necoro' Neumann1-0/+2 2021-02-21#39 Ignore mails marked as deleted when looking for existing mails, as to not...René 'Necoro' Neumann1-0/+1 2021-02-21go mod tidyRené 'Necoro' Neumann1-8/+0 2021-02-18Import 'embed' packageRené 'Necoro' Neumann1-0/+1 2021-02-16Fix goreleaser setup regarding dockerRené 'Necoro' Neumann1-3/+1 2021-02-16Prepare v0.6.0v0.6.0René 'Necoro' Neumann3-3/+8 2021-02-16Fix CRLF endingRené 'Necoro' Neumann1-57/+57 2021-02-16Increment go-version to 1.16René 'Necoro' Neumann3-5/+5 2021-02-16Use go-embed for templates instead of inline strings.René 'Necoro' Neumann6-74/+79 2021-02-16Issue #46: Fix semantics of `n` resultRené 'Necoro' Neumann2-9/+15 2021-02-16Issue #46: Move and rename writer; add commentsRené 'Necoro' Neumann3-12/+21 2021-02-15Issue #46: Improvements; add testsRené 'Necoro' Neumann2-1/+48 2021-02-15Bump github.com/google/uuid from 1.1.4 to 1.2.0dependabot[bot]2-3/+3 2021-02-15Issue #46: Make the resulting email body not to include single \r or \n. This...René 'Necoro' Neumann2-2/+66 2021-01-20Bump github.com/PuerkitoBio/goquery from 1.6.0 to 1.6.1dependabot[bot]2-3/+3 2021-01-09Bump github.com/google/uuid from 1.1.2 to 1.1.4dependabot[bot]2-3/+3 2021-01-09Bump github.com/emersion/go-message from 0.14.0 to 0.14.1 (#42)dependabot[bot]2-3/+3 2020-11-28Bump github.com/emersion/go-message from 0.13.0 to 0.14.0 (#38)dependabot[bot]2-3/+9 2020-11-28Bump github.com/google/go-cmp from 0.5.2 to 0.5.4 (#37)dependabot[bot]2-3/+3 2020-11-23Fix release.ymlv0.5.2René 'Necoro' Neumann1-3/+10 2020-11-23Prepare v0.5.2René 'Necoro' Neumann3-3/+8 2020-11-20Bump github.com/gabriel-vasile/mimetype from 1.1.1 to 1.1.2dependabot[bot]2-3/+3 2020-11-04Clean dependabot.ymlRené 'Necoro' Neumann1-4/+0