ThingyMaJig

Thingy Ma Jig is the blog of Nicholas Thompson and contains any useful tips, sites and general blog-stuff which are considered interesting or handy!

Connect

LinkedIn GitHub

Topics

announcement 25 apache 3 Apple 1 bash 8 code 7 cool 30 Days Out 8 Dark Basic Pro 4 design 12 doctor who 1 Drupal 74 E4600 1 EOS 400D 3 firefox 2 Flickr 3 free 21 games 5 geek 38 git 2 GreaseMonkey 1 hardware 7 Homebrew 1 How to 37 humour 5 iphone 1 javascript 1 jquery 1 K800i 6 k850i 4 lighttpd 3 linux 33 mac 9 miscellaneous 4 mobile phone 9 music 4 mysql 8 n73 1 n95 1 New Relic 1 Ogre3D 1 OS X 2 performance 3 photos 10 programming 40 Quicksilver 1 review 19 security 3 SEO 6 software 12 svn 2 technology 4 tip 7 tips 10 tv 3 video 3 vim 7 webdev 2 websites 33 wii 1 windows 1 YADS 10

Relevant Content gets some love

Posted on 25 September 2008 in
SEO programming Drupal announcement

I while ago (almost a year!) I released a module called Relevant Content to the community. This module executes a relatively lightweight SQL query which pulls up other nodes and sorts them by how many terms they have in common with the current node you're looking at. This provides a rudimentary method of suggesting other content to visitors to the page. It also provides a way of teaching search engines about other potentially relevant content.

[adsense:468x60:4496506397]

About 3 weeks ago I decided that my project list needed some TLC so I went to work about updating a bunch of my work. GlobalRedirect has recently received some love and the dev versions now at least APPEAR to work with multiple languages. My lightweight, SEO-friendly and mostly-image-free theme, Abessive, has also received some love and has a Drupal 6 release plus a few fixes and updates to bring inline with coding standards.

The last couple of days have been devoted to Relevant Content. This module had a couple of bugs in the Drupal 5 dev release which were mainly born from its original specification for use on the subscribers area of www.pponline.co.uk where we wanted to suggest relevant videos, polls and articles to our subscribers-only area (firewalled unless you want to take up one of the subscriptions on the site).

The latest releases (Version 1.1 for Drupal 5 & 6) of this which I committed today contains a much better admin interface which allows you to define as many relevant content blocks as you wish, each one allowing you to define which content types are used, which vocabularies are used and how many nodes you would like to list in the block itself. There is also an optional header field.

The module as a whole can be seen in use on this site up at the top right of every blog page. I configured it to display the 5 most relevant blog posts. The vocabulary filtering was a little pointless in my case as I only have 1 vocabulary on this site!

I think it works pretty well and the queries themselves really don't seem to add anything noticeable to the page load times.