Help with filter

by R00KIE, Thursday, December 24, 2015, 02:57 (3213 days ago)

When adding a new source, specifying only a filter word does not do anything besides outputting an error to the log.

I haven't been able to find an explanation of how it works, but I would assume the filter field has a required syntax for it to work.

Can anyone point me in the right direction? Preferably a direction that doesn't require digging into the code.

Help with filter

by Darkwing, Monday, December 28, 2015, 18:50 (3209 days ago) @ R00KIE

When adding a new source, specifying only a filter word does not do anything besides outputting an error to the log.

I haven't been able to find an explanation of how it works, but I would assume the filter field has a required syntax for it to work.

Can anyone point me in the right direction? Preferably a direction that doesn't require digging into the code.

You have to use the RegEx-Syntax for PHP.

Example:
If you want to use a filte to include only entrys with the word "comic" in it, you have to put
/comic/
in the filter.

Help with filter

by R00KIE, Monday, December 28, 2015, 19:59 (3209 days ago) @ Darkwing

This works, thank you :)

Now I know what to look for if I need examples or documentation.

Help with filter

by fojxl1 @, Friday, April 29, 2016, 23:34 (3085 days ago) @ Darkwing

Hi,

I've tried putting the keyword between slashes as suggested, but it seems to make no difference, it isn't filtering posts in OR out... Is there some other detail in the configuration that I've missed? I can see (via phpAdmin) that the filter text is being written to the database, and I've run the selfoss/update to freshen things up. Despite this there is no change to the posts being displayed, and yes, I am using filter keywords that match items in the post titles... Any suggestions would be appreciated.

RSS Feed of thread
powered by my little forum