All Projects β†’ sulami β†’ feed2maildir

sulami / feed2maildir

Licence: ISC license
πŸ“¬ Read RSS/Atom feeds in your favourite, maildir-compatible email client.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to feed2maildir

Pushl
Push notification adapter for feeds
Stars: ✭ 25 (+66.67%)
Mutual labels:  atom, rss
feedspora
FeedSpora posts RSS/Atom feeds to your social network accounts.
Stars: ✭ 31 (+106.67%)
Mutual labels:  atom, rss
atomex
🌊 Elixir RSS/ATOM feed builder with a focus on standards compliance, security and extensibility
Stars: ✭ 38 (+153.33%)
Mutual labels:  atom, rss
Feed Io
A PHP library to read and write feeds in JSONFeed, RSS or Atom format
Stars: ✭ 200 (+1233.33%)
Mutual labels:  atom, rss
JARR
JARR is a web news aggregator.
Stars: ✭ 99 (+560%)
Mutual labels:  atom, rss
V2
Minimalist and opinionated feed reader
Stars: ✭ 3,239 (+21493.33%)
Mutual labels:  atom, rss
laminas-feed
Consume and generate Atom and RSS feeds, and interact with Pubsubhubbub.
Stars: ✭ 97 (+546.67%)
Mutual labels:  atom, rss
Feedreader
C# RSS and ATOM Feed reader library. Supports RSS 0.91, 0.92, 1.0, 2.0 and ATOM. Tested with multiple languages and feeds.
Stars: ✭ 180 (+1100%)
Mutual labels:  atom, rss
feeds
ε…θ΄Ήηš„ε…¬δΌ—ε· RSSοΌŒζ”―ζŒζ‰©ε±•δ»»ζ„ APP
Stars: ✭ 912 (+5980%)
Mutual labels:  atom, rss
vuepress-plugin-feed
RSS, Atom, and JSON feeds generator plugin for VuePress 1.x
Stars: ✭ 46 (+206.67%)
Mutual labels:  atom, rss
Gorss
Go Terminal Feed Reader
Stars: ✭ 191 (+1173.33%)
Mutual labels:  atom, rss
meta-extractor
Super simple and fast html page meta data extractor with low memory footprint
Stars: ✭ 38 (+153.33%)
Mutual labels:  atom, rss
Brief
RSS reader extension for Firefox
Stars: ✭ 184 (+1126.67%)
Mutual labels:  atom, rss
newsdash
A news dashboard inspired by iGoogle and Netvibes
Stars: ✭ 44 (+193.33%)
Mutual labels:  rss, feedreader
Feed Module
Everyone deserves RSS, ATOM and JSON feeds!
Stars: ✭ 182 (+1113.33%)
Mutual labels:  atom, rss
TIFeedParser
RSS Parser written in Swift
Stars: ✭ 18 (+20%)
Mutual labels:  atom, rss
Node Feedsub
Subscribes to RSS/Atom/JSON feeds and notifies on new items.
Stars: ✭ 170 (+1033.33%)
Mutual labels:  atom, rss
Pluto
pluto gems - planet feed reader and (static) website generator - auto-build web pages from published web feeds
Stars: ✭ 174 (+1060%)
Mutual labels:  atom, rss
feed2email
RSS/Atom feed updates in your email
Stars: ✭ 37 (+146.67%)
Mutual labels:  atom, rss
progrssive
A PWA for reading RSS feeds. It works offline!
Stars: ✭ 23 (+53.33%)
Mutual labels:  atom, rss

Feed2Maildir

Read RSS/Atom feeds in your favourite, maildir-compatible email client.

https://img.shields.io/pypi/v/feed2maildir.svg?style=flat-square https://img.shields.io/pypi/dm/feed2maildir.svg?style=flat-square

Requirements

  • Python 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
    -S <prog>   strip HTML from the feeds using an external program
    -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.

Strip HTML

feed2maildir can strip the HTML tags from the feed using a built-in HTML stripper (option -s) or using an external program (option -S <prog>)

In this last case, the program must read the HTML from it standard input and return it stripped via the standard output.

The <prog> can be the name of a program or it can be a full shell command. In that case don't forget to quote the full command.

Here is an example of using pandoc to convert HTML to Markdown

feed2maildir -S 'pandoc --from html --to markdown_strict'
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].