It would be great to have an option to exclude a list of nodes by their node ID.

Thanks.

Comments

tormu’s picture

Version: 6.x-1.4 » 6.x-1.5

Bump. We have a big need for this as well..
The main use for this is if we have an article about.. for example some famous popstar dying. Then the relevant_content may recommend articles about that popstar's recent disgracing events on drugs and prostitutes. Obviously we can't have such nodes recommended when announcing an article about the person being dead.

In easiest form, maybe provide a permission-checked link on the results, "exclude this", and those would be stored in a new DB table as a relation between nid and excluded nid. Then just [original_query] WHERE nid NOT IN ([nids_from_exclude_table]). There should also be a admin page to manage the exclusions if there's a need for undo actions.

Any thoughts from the maintainer of this module?