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

filter option #1

Open
neofutur opened this issue Feb 27, 2012 · 3 comments
Open

filter option #1

neofutur opened this issue Feb 27, 2012 · 3 comments

Comments

@neofutur
Copy link

this is just a feature request, not a bug ;)

It would be very useful to have a filter option, to ignore items containing some words.

The filter could be a list of words, and/ or a regular expression.

thanks for rss-synd , great tool I use eveyday for rss2irc !

@hm2k
Copy link
Member

hm2k commented Feb 27, 2012

Hi there,

Thanks for your suggestion.

This shouldn't be too hard to introduce, however there are a few other issues that may need to be addressed first.

So to make it a bit easier, how do you expect this to work? Have you seen a good example of how this might work?

Thanks.

@neofutur
Copy link
Author

nothing urgent, just a feature request ;)

I d set ip up as an option for each rss feed

filter "word1,word2,porn"

and items containing those words or regexps wont be displayed on the IRC

its been implement in a more complex and more versatile way in the rss2irc plugin for supybot, could be an example :
https://github.com/nanotube/supybot_fixes/blob/master/plugins/RSS/config.py

in this implementation there is a whitelist filter ( only items containing those words or regexps will be displayed ) and a blacklist filter ( items containing these words or regexps wont be displayed )

a simple implementation is good for me, but the whitelist/blacklist system seems a good option too . . .if you want more work ;)

@hm2k
Copy link
Member

hm2k commented Dec 18, 2012

I don't have time to implement such a feature, but if you write a pull request, I will include it.

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

No branches or pull requests

2 participants