Filter stuff out of an RSS feed
I know I can filter (select) RSS entries with /string/, and while I am not a php guru I understand that selfoss uses preg_match, so I might be able to filter out a string with /(?:(?!string).)/, but that seems like it would be a mess for a long list.
Is there a better way? I would really like to have a blacklist of strings I just don't want to see in my RSS feeds using the RSS spout.
Thank you,
A.
Filter stuff out of an RSS feed
Unfortunately, there is no better way at the moment. Advanced filters are tracked in https://github.com/SSilence/selfoss/issues/858#issuecomment-329768432
Filter stuff out of an RSS feed
OK, thank you.
I'm currently pulling my feed using a local client, and using its filters to do the work. I look forward to returning to the selfoss web client some day.
Best,
A.
Filter stuff out of an RSS feed
(replying to myself)
Just FYI,
My suggestion of /(?:(?!string).)/ does not appear to work but /^(?!.*string).*$/ seems to do the right thing. Thus emboldened, I am going to try /^(?!.*(string1|string2)).*$/ next.
Filter stuff out of an RSS feed
And what happened?
Filter stuff out of an RSS feed
It works well enough; I have stopped using the local client and am back to the web interface again. I am currently using:
/^(?!.*(string1|string2|string3)).*$/
I think I've seen one or two occasions where things that should be filtered were not, I'm guessing that there's something specific about those entries (formatting, special characters, etc.) but I haven't seen enough of them to detect a pattern.
Filter stuff out of an RSS feed
Hi Alrescha,
I used your filter, which worked fine in 2.17.
Since update to 2.18 the filter doesn't work anymore.
Do you have the same problem?
regards
cpunke
Filter stuff out of an RSS feed
I had not noticed any changes, but I should add that I cycle in and out of using RSS and the breaking news style of feeds where I was using these filters a lot are now handled by different application.