How to Filter by Tag / Category
Filtering by Tag or Category
The Keyword Filtering add-on allows you to filter by:
- Keyword - click here to learn more
- Keyphrase - click here to learn more
- Category
The filters change which feed items get imported. If a particular post has tags that don’t match your filters, it will not be imported.
How it works
Some feed sources provide the category that the item was posted in. In that case, we can also filter by tag when importing said feed items.
Here’s how it would typically look:
In this case, we are asking the plugin to only import items which have the category/tag ‘WordPress’ or ‘Web development’.
If the feed source does not provide any categories/tags then this filter will not work and all items will be imported.
Below is an extract from a feed which contains categories. Note that when creating feeds, many websites bundle together tags and categories under the <category>
attribute.
<item> <title>'Heartbroken' Christie Fires Top Aide, Apologizes for Bridge Scandal</title> <link><![CDATA[http://mashable.com/2014/01/09/chris-christie-bridgegate-apology/?utm_medium=feed&utm_source=rss]]></link> <comments><![CDATA[http://mashable.com/2014/01/09/chris-christie-bridgegate-apology/?utm_medium=feed&utm_source=rss]]></comments> <dc:creator>Lorenzo Franceschi-Bicchierai</dc:creator> <guid isPermaLink='false'>http://mashable.com/?p=2359665</guid> <pubDate>Thu, 09 Jan 2014 16:59:52 +0000</pubDate> <wfw:commentRss><![CDATA[http://mashable.com/2014/01/09/chris-christie-bridgegate-apology/?utm_medium=feed&utm_source=rssfeed/]]></wfw:commentRss> <mash:thumbnail> <![CDATA[<img alt="Chris-christie" src="http://rack.2.mshcdn.com/media/ZgkyMDE0LzAxLzA5LzI5L2NocmlzY2hyaXN0LjVlNWIxLmpwZw/ebf9f92e/5bc/chris-christie.jpg" />]]> </mash:thumbnail> <category>Email</category> <category>Traffic</category> <category>New Jersey</category> <category>Us World</category> <category>Politics</category>