Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Block rules based off of other elements (not just title). #1953

Closed
1 task done
toastal opened this issue Jun 29, 2023 · 3 comments · Fixed by #2677
Closed
1 task done

Block rules based off of other elements (not just title). #1953

toastal opened this issue Jun 29, 2023 · 3 comments · Fixed by #2677

Comments

@toastal
Copy link
Contributor

toastal commented Jun 29, 2023

Block filters only work against titles. I would like to see this extended to additional elements.

Specific use case: I’m subscribed to a Discourse & there’s a particular user that posts to the point of spam (ideally these sorts of posts would be better asked in IRC or similar). Discourse’s titles do not include the postmaker for Miniflux to match on. If I could however match the <dc:creator> element, I could hide all posts made by user.

A tangential issue is #1291 but this would match on the feed itself, and not download+parse+match the external page.

@xfzv
Copy link

xfzv commented Mar 22, 2024

Since 2.1.0, filters also apply to tags and authors:

Update entry processor to allow blocking/keeping entries by tags and/or authors

I've just tried with a random Discourse RSS feed and it works fine.

Adding (?i)JPD as blocking rule results in this post from user JPD not being displayed for me.

@yrmuq
Copy link

yrmuq commented May 12, 2024

@xfzv but if author name and title are similar?
Author with name "opel" and titles with car "opel". Blocking rule will block both?

@xfzv
Copy link

xfzv commented May 12, 2024

@yrmuq Not sure but in current state, considering there is no way to specify whether we want to block author, tag or title, I guess it would block both indeed.

@fguillot fguillot linked a pull request Jul 3, 2024 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

3 participants