Convert feeds to maildirs
Project description
Read RSS/Atom feeds in your favourite, maildir-compatible email client.
Requirements
Python 2.7+ / 3.2+
feedparser
python-dateutil
Usage
Just run feed2maildir, which should be placed in your $PATH by setup.py. You will need a JSON configuration file at $HOME/.f2mrc that looks like this:
{
"db": "~/.f2mdb",
"maildir": "~/mail/feeds",
"feeds": {
"Coding Horror": "http://feeds.feedburner.com/codinghorror/",
"Commit Strip": "http://www.commitstrip.com/en/feed/",
"XKCD": "http://xkcd.com/rss.xml",
"What If?": "http://what-if.xkcd.com/feed.atom",
"Dilbert": "http://feed.dilbert.com/dilbert/daily_strip?format=xml",
"BSDNow": "http://feeds.feedburner.com/BsdNowOgg"
}
}
Note that the last element in a dict must not be followed by a comma, because Python’s json.loads() says so.
There are a bunch of command-line arguments to overwrite the config file:
optional arguments: -h, --help show this help message and exit -c <file> override the config file location (~/.f2mrc) -d <file> override the database file location (~/.f2mdb) -m <dir> override the maildir location (None) -s strip HTML from the feeds -l just write the links without the update
To check for updates regularly, just toss it into cron to run once every hour or so.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
feed2maildir-0.3.8.tar.gz
(5.4 kB
view hashes)
Built Distribution
Close
Hashes for feed2maildir-0.3.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1e7d9dc882e688b3cc079b5e7452579c4a8c6de4fe5dfa3e1a8a1a4f0b0f9f5 |
|
MD5 | da8f273c46ebc61d731871384496940f |
|
BLAKE2b-256 | 976c1519bc69884ce13946bef6fb3e512d5b1c54a36a4a5e6e52a781dac7900f |