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

Feature request: Filter keywords to include / exclude #14

Open
Amir974 opened this issue Jul 26, 2019 · 3 comments
Open

Feature request: Filter keywords to include / exclude #14

Amir974 opened this issue Jul 26, 2019 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@Amir974
Copy link

Amir974 commented Jul 26, 2019

Hi!

I am using this plugin for an RSS feed, and an awesome feature I am hoping to see is the ability to set a list of key words to include or exclude from the presented list.

If I ask for 3 lines, show only lines containing / not containing at least one of the words on the list.

Please note - my lists are in Hebrew, so encoding and language support would be also important to consider in the implementation

Hope to see this feature soon :)

@iantrich iantrich self-assigned this Aug 28, 2019
@iantrich iantrich added the enhancement New feature or request label Aug 29, 2019
@iantrich
Copy link
Owner

iantrich commented Nov 14, 2019

I'd need some guidance on that, i.e. a feedparser configuration as well as your include/exclude examples to make sure it works for Hebrew

@Amir974
Copy link
Author

Amir974 commented Nov 17, 2019

I'll try to clarify my vision if it helps:

 - type: custom:list-card
<Existing element properties...>
   filter:
      - include:
          - keyword1
          - keyword phrase1
          - מילת מפתח  #this is text in UTF8 for example
      - exclude:
          - keyword2
          - keyword phrase2

Support single / multiple words, search inside incoming entry of the feed - show / hide the entry depending if it's listed under include / exclude.

Please clarify if I can provide further information to assist :)

@macross5
Copy link

macross5 commented Apr 4, 2023

I would love that feature too <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants