summaryrefslogtreecommitdiff
path: root/data/doc/feed2imap/examples/feed2imaprc
blob: 508b79b9ded51c31d59dd080170a68711f9dc24b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Global options:
# max-failures: maximum number of failures allowed before they are reported in
#   normal mode (default 10). By default, failures are only visible in verbose
#   mode. Most feeds tend to suffer from temporary failures.
# dumpdir: (for debugging purposes) directory where all fetched feeds will be
#   dumped.
# 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)
# 
# Per-feed options:
# name: name of the feed (must be unique)
# url: HTTP[S] address where the feed has to be fetched
# target: the IMAP URI where to put emails. Should start with imap:// for IMAP
#   and imaps:// for IMAPS.
# min-frequency: (in HOURS) is the minimum frequency with which this particular
#   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)
# 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
#   exactly a previously downloaded item are considered as new items.
# ignore-hash: Some feeds change the content of their items all the time, so
#   feed2imap detects that they have been updated at each run. When this flag
#   is enabled, feed2imap ignores the content of an item when determining
#   whether the item is already known.
# dumpdir: (for debugging purposes) directory where all fetched feeds will be
#   dumped.
# Snownews/Liferea scripts support :
#   execurl: Command to execute that will display the RSS/Atom feed on stdout
#   filter: Command to execute which will receive the RSS/Atom feed on stdin,
#    modify it, and output it on stdout.
#   For more information: http://kiza.kcore.de/software/snownews/snowscripts/
#
#
# If your login contains an @ character, replace it with %40. Other reserved
# characters can be escaped in the same way (see man ascii to get their code)
feeds: 
  - name: feed2imap
    url: http://home.gna.org/feed2imap/feed2imap.rss
    target: imap://luser:password@imap.apinc.org/INBOX.Feeds.Feed2Imap
  - name: lucas
    url: http://www.lucas-nussbaum.net/blog/?feed=rss2
    target: imap://luser:password@imap.apinc.org/INBOX.Feeds.Lucas
  - name: JabberFrWiki
    url: http://wiki.jabberfr.org/index.php?title=Special:Recentchanges&feed=rss
    target: imaps://luser:password@imap.apinc.org/INBOX.Feeds.JabberFR
    always-new: true
  - name: LeMonde
    execurl: "wget -q -O /dev/stdout http://www.lemonde.fr/rss/sequence/0,2-3208,1-0,0.xml"
    filter: "/home/lucas/lemonde_getbody"
    target: imap://luser:password@imap.apinc.org/INBOX.Feeds.LeMonde