I was very late to the RSS game, especially for a programmer. It wasn't until a little over a year ago that I got serious about making RSS/Atom a part of my daily content diet. Since that time, I've used a few readers, namely Inoreader and an instance of Tiny Tiny RSS lovingly hosted by SDF for the benefit of MetaARPA members like myself. I enjoyed both those products, but it always felt a bit like my feeds were “locked away” (even though OPML export is easy in both tools).
It finally dawned on me over the last week or so that all RSS readers (that I've used anyway) really just reinvent email. There's folders the navigate things and “stars” to save articles you want to refer to later. There's the concept of read and unread articles. You can load images or just view text. Sometimes the full content is available, other times there's just a link. Most importantly, I find that RSS readers implement “rules” that do not compare to what is available from various email clients. I thought to myself: “I bet I could write a tool that scraped RSS feeds and sent emails very easily!“. Turns out, I'm far from the first to have this idea (much like many of my ideas).
Enter rss2email. It appears this tool has been around for quite a while and I'm very late to the game (again). I imported my aforementioned OPML file with
r2e opmlimport and I was off to the races. Well…sort of. You have to configure a way to send email of course! Since I was running this on the SDF Cluster, I was able to use their SMTP server by adjusting the config file (
~/.config/rss2email.cfg). By default, it wants to use sendmail and to be honest I was more comfortable with straight SMTP. The key setting here is
email-protocol. There are other SMTP settings in there that were pretty clear in my opinion.
Time to read some feeds! Be sure to invoke
r2e run the first time with the
--no-send flag or be prepared for a deluge of email as it sends you everything from all your feeds! After that,
r2e run will suffice. Helpfully, r2e has
-V flags that control the verbosity of its output. Once you have a manual run that worked, I'd recommend setting up a cron job to run it on a schedule.
Once I got all that working, I perused the other options in the config file, including some for HTML mail. I don't typically like HTML mail, but the formatting used by default when you enable HTML is very light. There is a “digest” mode that sends one email for each feed for a given run, but it attaches the articles as emails to the digest email, which was off-putting to me. Maybe you like that. In any case, hopefully this helps someone else even later to the game than me!
A quick web search indicates that there are services out there which will do this for you, though many seem to be targeted at businesses wanting to email their customers when they have a new post. One of those products might work better if you aren't able to set up rss2email for whatever reason!
I hope you've enjoyed this post. Hit me up on Mastodon with any questions or comments!