Page 1 of 1

Confused on the rss filtering

Posted: January 19th, 2017, 12:31 am
by someonespecial
I read the rss page on filtering but apparently I'm a knucklehead.

Here is what I'm attempting to do:

I have an rss feed and it has 50 listings. I want to filter that listing by two different words. Let's say I want to filter on everything that has "dog" or "cat" in it.

When I accept dog and another accept for cat, I am not filtering anything, I still get the entire list. How do I say that I only want anything in the list that has only dog OR cat in it?

Thanks!

Re: Confused on the rss filtering

Posted: January 19th, 2017, 12:58 am
by sander
from memory:

1st line: dog accept
2nd line: cat accept
3rd line: * reject

Re: Confused on the rss filtering

Posted: January 23rd, 2017, 4:29 pm
by shypike
It requires a bit of a complex regular expression.
You start the regex with re:
Google for Python regular expressions.