Excluding News Items
Sometimes a user will want to exclude specific news items from a display. For example, a user wanted to create a specific feed for advocacy items only—which is pretty easy— however, she didn’t want the advocacy items to display in her main feed. Currently, Sitefinity will only allow us to include specific items by using the tag and /or category features. The work around is of course to create two buckets of news items. One bucket for all news items that are not advocacy items, and another bucket for items that are advocacy items. So, ask the user to:
- Categorize or tag all non-advocacy items with a generic name, for example: “news main” or “advocacy excluded.” The user will use this as their “main news feed.”
- Tag the advocacy items with a memorable tag like “advocacy items.”
This way, she can have a main news feed which will display all news items, or a main news feed that will show all items with the exception of the advocacy items. You will see three news widgets. The first widget displays all news items. The widget has not been set to look for tags or categories:
The second widget shows all news, with the exception of the advocacy items. We can achieve this by using the “advocacy excluded” category.
The third and fourth widgets shows the advocacy items only. We can achieve this by using either tags (indicated by the “t”) or categories (indicated by the “c”).
.