diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-07-31 21:54:36 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-07-31 21:54:36 +0200 |
commit | a1d56564fdf8aa700468fb9feebe9cb05e4ab584 (patch) | |
tree | 2999b932bb321f34f1723805f8e6e6f3ca085c82 /fdm.conf.example | |
parent | 356e7d79925f91b9b703ee63e3680694c53a59a4 (diff) |
update and improve documentation (WIP)
Diffstat (limited to 'fdm.conf.example')
-rw-r--r-- | fdm.conf.example | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/fdm.conf.example b/fdm.conf.example deleted file mode 100644 index 94a6c10..0000000 --- a/fdm.conf.example +++ /dev/null @@ -1,31 +0,0 @@ -# Convert mbox to separate maildirs per feed and filter duplicate messages. -# Usage: -# $ sfeed_mbox ~/.sfeed/feeds/* > ~/.sfeed/mbox -# $ fdm -f thisconfig fetch - -set unmatched-mail keep - -account "sfeed" mbox "%[home]/.sfeed/mbox" - $cachepath = "%[home]/.sfeed/mbox.cache" - cache "${cachepath}" - $feedsdir = "%[home]/feeds/" - - # check if in cache by message-id. - match case "^Message-ID: (.*)" in headers - action { - tag "msgid" value "%1" - } - continue - # if in cache, stop. - match matched and in-cache "${cachepath}" key "%[msgid]" - action { - keep - } - - # not in cache, process it and add to cache. - match case "^X-Feedname: (.*)" in headers - action { - maildir "${feedsdir}%1" - add-to-cache "${cachepath}" key "%[msgid]" - keep - } |