elfeed icon indicating copy to clipboard operation
elfeed copied to clipboard

Automatic tagging based on feed categories

Open Quintus opened this issue 2 years ago • 2 comments

Hi there,

I've got a feed that is properly tagged with categories server-side. I’d like to remove the unread tag on all entries which are not of a certain category. elfeed-make-tagger however does not appear to provide a way to filter on categories as sourced from the feed. I tried to come up with something using :callback, but was not very successful with that.

It’s this feed in case this is relevant. See how it uses information like

<category><![CDATA[Deutschland]]></category>

for each entry. What I want to do now is automatically remove the unread tag for all new entries in elfeed-new-entry-hook which do not have the Deutschland category set. Is this possible?

-quintus

Quintus avatar Jun 03 '22 06:06 Quintus

I second this request. I have exactly the same problem: The Atom 2.0 feed contains well-defined categories of news items, that I'd like you for filtering, but elfeed does not seem to parse them.

In my case (the Finnish national broadcaster), category content is plain text.

heikkil avatar Dec 23 '22 07:12 heikkil

That would really be a nice feature.

thiagotps avatar Nov 28 '23 23:11 thiagotps