BSD Ports

mail/rss2email3 3.14_1 DragonFly

Emails posts from subscribed RSS/Atom newsfeeds

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv2, GPLv3
Categories
mail, python
Package size
99.4 KiB, 527.3 KiB installed

Description

rss2email is a python script that lets you subscribe to a list of RSS or Atom feeds and get new posts sent to you by email. It is generally run via cron, but can be run manually as well.

This is a python 3 rewrite of the original rss2email project by Lindsey Smith at AllThingsRSS. It does not run on python 2.

In the other systems

SystemPortVersion
DragonFlymail/rss2email33.14_1
FreeBSDmail/rss2email33.14_1
HardenedBSDmail/rss2email33.14_1
GhostBSDmail/rss2email33.14_1

Install

Binary package:

pkg install py311-rss2email

From DPorts:

cd /usr/dports/mail/rss2email3 && make install clean

Dependencies

Run dependencies 3

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

Quick Howto

Create a new feed database:
> r2e new [email protected]

Edit $HOME/.config/rss2email.cfg if you so desire. Unless you've installed
a local sendmail-equivalent MTA, you'll need to edit the SMTP options.

Your local database is stored in $HOME/.local/share/rss2email.json

Subscribe to some feeds:
> r2e add freebsd-news http://www.freebsd.org/news/rss.xml

Avoid the "first run flood" of all existing posts from the feed:
> r2e run --no-send

Run it through cron. Feel free to increase or decrease the interval.
0 */4 * * * %%PREFIX%%/r2e run

There is only output if there's an error (which you probably want emailed to you
from cron anyway).