list-card icon indicating copy to clipboard operation
list-card copied to clipboard

Feature request: Filter keywords to include / exclude

Open Amir974 opened this issue 4 years ago • 3 comments

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 :)

Amir974 avatar Jul 26 '19 07:07 Amir974

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

iantrich avatar Nov 14 '19 15:11 iantrich

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 :)

Amir974 avatar Nov 17 '19 11:11 Amir974

I would love that feature too <3

macross5 avatar Apr 04 '23 08:04 macross5