June 30th, 2008

Similar Nodes Module Released!

I’ve just released a new module which I hope will fill a general need in the Drupal community.

This module allows you to show nodes in a view which have the same taxonomy as a node which you pass in as an argument. BUT it goes a step beyond this. By using a weighting table, one can specify the weight of each vocabulary in making the comparison.

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”

See the Module Page for more information and how to use.

I’m going to be cleaning up the code a bit and providing a sample view soon, but any brave souls out there who would like to test / suggest, please go ahead!

2 Responses to “Similar Nodes Module Released!”

  1. Rob Loach says:

    This is awesome!…. How does it compare to the Similar Terms? http://drupal.org/project/similarterms

  2. Jacob Singh says:

    Hey Rob,

    Thanks! Honestly, it should be a single module. I didn’t find similar terms before I started. However, it’s basically a rewrite anyway, which isn’t necessarily a bad thing, although it requires views.

    See: http://drupal.org/node/255183

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

How To find me

Telephone: +1 510.277.0891 | Email: jacobsingh at gmail daht calm

Solution Graphics