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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file feed2maildir-0.3.5.3.tar.gz.
File metadata
- Download URL: feed2maildir-0.3.5.3.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84543fa36d514bb79b2dc0477a0a9a38ee11cd6ff93190d8e3031ca353dae3a1
|
|
| MD5 |
715cc4c77600da2553be13bb5ba0dfc7
|
|
| BLAKE2b-256 |
5fe7d6d7235f13aced7aaa08bbd0d5bb95c87f2945c29e290caa399a014eaeae
|
File details
Details for the file feed2maildir-0.3.5.3-py3.4.egg.
File metadata
- Download URL: feed2maildir-0.3.5.3-py3.4.egg
- Upload date:
- Size: 11.8 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
665d5e2a8d27c38d5c7acbaceb9d8779022d2c3f6ce6d1c00d1e645c5e3746f6
|
|
| MD5 |
6dd769d5021bc9139a029a2e49c0adcf
|
|
| BLAKE2b-256 |
2e17fad8fee3f4e12f3b06c55fb4384d559b4a60a48a6b136145293180d2aa13
|