From c46c823aff3ad63fbc62c2281ac4fddb0bcb1e21 Mon Sep 17 00:00:00 2001 From: Lucas Nussbaum Date: Tue, 30 Nov 2010 22:03:03 +0100 Subject: Add a reupload_if_updated option (default: true) Following a discussion on feed2imap-devel, add a reupload_if_updated option. When set to false, if an item is updated, but was previously removed from the IMAP server, it is no longer re-uploaded. Also fix some config file parsing bugs for the disable-ssl-verification and include-images options. I should really switch to another way to describe F2I config... --- data/doc/feed2imap/examples/feed2imaprc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'data') diff --git a/data/doc/feed2imap/examples/feed2imaprc b/data/doc/feed2imap/examples/feed2imaprc index 4fd8797..4bda33f 100644 --- a/data/doc/feed2imap/examples/feed2imaprc +++ b/data/doc/feed2imap/examples/feed2imaprc @@ -7,6 +7,8 @@ # debug-updated: (for debugging purposes) if true, display a lot of information # about the "updated-items" algorithm. # include-images: download images and include them in the mail? (true/false) +# reupload-if-updated: when an item is updated, and was previously deleted, +# reupload it? (true/false, default true) # default-email: default email address in the format foo@example.com # disable-ssl-verification: disable SSL certification when connecting # to IMAPS accounts (true/false) @@ -20,6 +22,8 @@ # feed will be fetched # disable: if set to something, the feed will be ignored # include-images: download images and include them in the mail? (true/false) +# reupload-if-updated: when an item is updated, and was previously deleted, +# reupload it? (true/false, default true) # always-new: feed2imap tries to use a clever algorithm to determine whether # an item is new or has been updated. It doesn't work well with some web apps # like mediawiki. When this flag is enabled, all items which don't match -- cgit v1.2.3