The Keyword Filtering add-on allows you to filter by keyword, keyphrase or category. What the filters do is affect what feed items get imported. So if a particular post doesn’t match one of your filters, it won’t be imported by that feed source. On this page we go through filtering by keyword and key-phrase.
Keyword Filtering Settings
Here’s the keyword filtering interface when adding a new feed source:
The filtering methods can be applied on the feed title only, on the content only, or both. You can set this from the Keyword Filtering section where it says “Apply the above filtering methods on the:”. Be sure to use commas to separate one keyword/keyphrase from another.
Keyword filtering in action:
Below is a quick example of how you can apply these filters, followed by a screenshot of some filters in action:
If you have a website in which all you want to import are stories that mention Thailand in the title or content, then enter “Thailand” into the ‘All of these words’ textbox and ensure the checkboxes for Feed Title and Feed Content are checked in the ‘Apply the above filtering methods on’ section.
If you wanted to import stories about Thailand in general, you could follow the same procedure as above. However, you could instead leave the ‘All of these words’ textbox empty and instead use the second ‘Any of these words’ textbox. In there, you could write “Thailand, Thai, Chiang Mai”. That would import stories that had any of those words in the title/content rather than importing only stories that had “Thailand”. Note that if you wrote those three words in the first textbox, it would only import stories that mentioned ALL of those words in the post, it wouldn’t import something that only talked about Thailand and never mentioned Chiang Mai.
Additionally, if you wanted to filter out stories about Thai Airways, you could add “airways” to the ‘None of these words’ textbox. That would mean that even if a post mentioned Thailand or Chiang Mai, if it said “airways” in it, the story wouldn’t be imported.
Below is the screenshot of keyword filtering in action with some WordPress-related keywords and keyphrases added:
In the screenshot above, we are asking the plugin to only import feed items which:
- Contain the word ‘WordPress’ in their title or content.
- Contain any of the words or phrases ‘plugins’, ‘themes’, ‘service review’, ‘tutorial’ in the title or content.
- Do not contain the words or phrases ‘news’, ‘announcement’, ‘sponsored post’ in the title or content.
NOTE: The keyword filtering functionality does not match full words, so if the filter keyword you enter is part of another word, that other word will always get picked up too. For this reason, watch out when picking short roots of words that unintentionally include other words, such as using “arch” to get archeology-related feed items. This keyword will also include words such as “architecture” and “arch-enemy” in your filtered items.