[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RSS with Gnus (elfeed backend?)
From: |
Jose A. Ortega Ruiz |
Subject: |
Re: RSS with Gnus (elfeed backend?) |
Date: |
Fri, 02 Apr 2021 21:44:37 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
On Fri, Apr 02 2021, Garjola Dindi wrote:
> Hi José,
>
> Thanks for the hint! It seems an interesting replacement for feeds2imap.
> I guess that all feeds go to the same e-mail address and that you use
> splitting to create different groups?
Yes, more or less. When adding new feeds to the r2e list, one can
specify the email address per feed, and i set it to things like
jao+programming@localhost, jao+news@localhost, etc., and then filter on
the part after + in the address to group my emails into categories (in
my case, the filter is a sieve script, since i use dovecot for other
things and have it my LDA, but gnus can do similar filtering). To ease
filtering, r2e also lets you define a message header of your choice that
will be added to all emails.
> Would you be willing to share your configuration?
This is an extract of my config (r2e updates it when you use commands to
add or remove feeds and the like). Reading it i discovered that r2e is
also able to deliver to maildirs, BTW (setting email-protocol to
maildir):
[DEFAULT]
from = r2e@localhost
user-agent = rss2email/__VERSION__ (__URL__)
use-8bit = True
force-from = False
use-publisher-email = True
name-format = {feed-title}: {author}
to = jao@localhost
unicode-snob = True
links-after-each-paragraph = True
body-width = 0
email-protocol = smtp
sendmail = /usr/sbin/sendmail
smtp-auth = False
smtp-username = username
smtp-password = password
smtp-server = localhost
smtp-port = 25
smtp-ssl = False
[feed.morningpaper]
url = https://blog.acolyer.org/feed/
to = jao+programming@localhost
[feed.notevenwrong]
url = http://www.math.columbia.edu/~woit/wordpress/?feed=rss2
to = jao+physics@localhost
[feed.wondermark]
url = http://feeds.feedburner.com/wondermark
to = jao+fun@localhost
[feed.smbc]
url = https://www.smbc-comics.com/comic/rss
to = jao+fun@localhost
[feed.existential]
url = https://existentialcomics.com/rss.xml
to = jao+fun@localhost
[feed.emacsplanet]
url = https://planet.emacslife.com/atom.xml
to = jao+emacs@localhost
[feed.jao]
url = https://jao.io/blog/rss.xml
to = jao+programming@localhost
[feed.in-our-time]
url = https://podcasts.files.bbci.co.uk/b006qykl.rss
to = jao+podcasts@localhost
As an aside, a very nice side-effect of using something like r2e is that
the contents of the feeds are indexed and searchable by Gnus (i like to
use the dovecot and notmuch backends).
Cheers,
jao
--
Since when do we have to agree with people to defend them from
injustice? -Lillian Hellman, playwright (20 Jun 1905-1984)