This project is not covered by Drupal’s security advisory policy.

This module provides a way to find similar nodes by taxonomy using views.

Features:

  • Weighting by vocabulary - Say you have two vocabularies on a movie site "Genre" and "Community Tags", the latter being a free tagging taxonomy. With this module, you can give Genre a weight of 10 and Community tags a weight of 1. Which means that if I'm looking at "Meet the Parents", I'm most likely to see a list of similar Romantic Comedies like "Sleepless in Seattle" and "French Kiss" with something like "Taxi" or "The Godfather II" coming lower in the list, because someone tagged both "Robert De niro"
  • Sorting - Sorts by weight... pretty simple
  • Filtering - I want to see only those with a weight higher than 15... this is a little arbitrary, and you are better off using the pager / limiting results, but it does work - Actually, doesn't. I tried to hack around views not letting me mess with the count query, but just couldn't get a HAVING in there... Oh well.

Usage:

  1. Install the module (duh)
  2. Go to admin/settings/similarnodes
  3. Set the weight for each taxonomy
  4. Now create a view, add the argument "SimilarNodes: Source Node Id" - You need this to make it work
  5. Add the field SimilarNodes: Weight
  6. give it a shot! go to yourview/{NID} for a list of related nodes

This module was partially funded by CivicActions and the Witness Video Hub

Project information

Releases