This is for users of Notmuch mail and Chicken Scheme who wants to get an Atom feed that contains the emails of a particular search. Yes, it’s kind of a reverse Sluk, or fills the same niche as notmuch-to-feed.
You can grab nmatom here or
clone the git from https://idiomdrottning.org/nmatom
.
The “terms” variable can be a symbol or a string so set it to whatever
you want the search query to be. I typically have it set to tag:feed
and then use nmsync to tag stuff that I would rather read as RSS. I
also remove the new
tag. So in nmsync.tags
I have a ton of lines
that look like this:
-new +feed -- tag:new and from:marketing@sjgames.com
You can also edit the code to change the limit (default 15) or output
(default /tmp/nmfeed.xml
).