summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2020-05-15 18:31:12 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2020-05-15 18:31:12 +0200
commit704564418139fdaa3b98b164faa1f40394dbb352 (patch)
tree646fa0b2138132c723ea96d5f0770ac31e661ce5 /README
parent414b896c2de449718169fab200b39e0851c2742a (diff)
README: fix indentation for fdm.conf examples
No functional difference, but it should improve readability.
Diffstat (limited to 'README')
-rw-r--r--README38
1 files changed, 19 insertions, 19 deletions
diff --git a/README b/README
index b36e107..4ae7a2d 100644
--- a/README
+++ b/README
@@ -419,21 +419,21 @@ fdm config file (~/.sfeed/fdm.conf):
}
continue
- # If it is in the cache, stop.
- match matched and in-cache "${cachepath}" key "%[msgid]"
+ # If it is in the cache, stop.
+ match matched and in-cache "${cachepath}" key "%[msgid]"
action {
keep
}
# Not in the cache, process it and add to cache.
match case "^X-Feedname: (.*)" in headers
- action {
- # Store to local maildir.
- maildir "${maildir}%1"
+ action {
+ # Store to local maildir.
+ maildir "${maildir}%1"
- add-to-cache "${cachepath}" key "%[msgid]"
- keep
- }
+ add-to-cache "${cachepath}" key "%[msgid]"
+ keep
+ }
Now run:
@@ -463,23 +463,23 @@ fdm config file (~/.sfeed/fdm.conf):
}
continue
- # If it is in the cache, stop.
- match matched and in-cache "${cachepath}" key "%[msgid]"
+ # If it is in the cache, stop.
+ match matched and in-cache "${cachepath}" key "%[msgid]"
action {
keep
}
# Not in the cache, process it and add to cache.
match case "^X-Feedname: (.*)" in headers
- action {
- # Connect to a SMTP server and attempt to deliver the
- # mail to it.
- # Of course change the server and e-mail below.
- smtp server "codemadness.org" to "hiltjo@codemadness.org"
-
- add-to-cache "${cachepath}" key "%[msgid]"
- keep
- }
+ action {
+ # Connect to a SMTP server and attempt to deliver the
+ # mail to it.
+ # Of course change the server and e-mail below.
+ smtp server "codemadness.org" to "hiltjo@codemadness.org"
+
+ add-to-cache "${cachepath}" key "%[msgid]"
+ keep
+ }
Now run: