Blog Post RSS ?

Blogs » Web Tech » Semantic tagging with Calais and Drupal
 

Semantic tagging with Calais and Drupal


  • Save to
    Del.icio.us

by David Peterson

Gosh. It just can’t get any easier than this. Automatically and (pretty) intelligently tagging your content is a very powerful thing. Especially if those tags are structured tags and not just text strings. This used to be a fairly painful proposition, manual tagging — do I use folksonomy or do I create meaningful taxonomies. And will this scale??? Well fret no more. Let someone (or something else) do it for you.

I have been using the Drupal Calais tagging module for the past month and have been pleasantly surprised at how effective it has been. I have thrown emails, blog posts, random text from the Web. It all comes back with at least one decent tag (and that was a pretty murky test sample).

Today, Thomson Reuters has released version 2.0 of their Calais webservice. This is cool in many ways:

  • They now tag many more non-news items (EntertainmentAwardEvent, MedicalCondition, Movie, MusicAlbum, MusicGroup, PublishedMedium, SportsEvent, SportsGame and TVShow). Previously their focus was on news events so most non-news posts received few tags.
  • Tools to allow embedding of metadata for Yahoo! SearchMonkey
  • Wordpress tagging plugin
  • Previously mentioned Drupal module

Installing the module is simple and only requires a few steps. First, download it from the link above. I used the version for Drupal 6, the install process is slightly different for Drupal 5.

Second: If you are using Drupal 6 you have to download the RDF module by the amazing Arto. This is has to be installed first before the Calais module. If you are using Drupal 5, you have to install the ARC2 library into the opencalais/arc_rdf/arc2 directory.

It really isn’t hard. Just download two files, uncompress them into your sites/all/modules directory and activate them.

Finally there is one last step before your posts are semantically tagged and your life is transformed. Select what content types you want Calais to do its magic on.

calais drupal module

Here you have three options:

  1. Not processed by Calais (default)
  2. Have keywords be suggested (manual term association)
  3. Have keywords automatically applied *my favourite*

I set each of my types to the 3rd option as it is easiest (always good) and I don’t have to remember to do anything extra. Just set it and forget it. As soon as you save your post the tagging process begins. Although the tagging  is quite fast, it does add a second or two for your content to save.

This new release of Calais really brings a lot of power at almost no cost to you — well, it did take about 8 minutes to install it. It is a no-brainer to get it and at least try it. The addition of the embedded metadata for SearchMonkey really propels this release into the stratosphere.

Now, for a bit of extra spice. Download the Tagadelic module and get super easy tag clouds based on all your hard work :)

calais drupal tagadelic

And to help you keep it all together and browseable, how about getting Taxonomy VTN?

calais drupal taxonomy

That will really wow your clients and you can tell them how hard it all was…

This post has 2 responses so far

  1. Does this work with the Meta Tags (nodewords) module or does it need to replace it?

    I ask this because Meta Tags has some functionality which this module doesn’t seem to have, such as specifying keywords for the front page with lots of options.

    But I guess I’ll give it a try, anyway :)

     
  2. Does this work with the Meta Tags (nodewords) module or does it need to replace it?

    Well, I don’t know for sure. But I can almost positively say that this will work right along side it. It adds a new tagging engine using Drupal hooks so it shouldn’t interfere.

    If you have tried it please report back as I am interested in using the Meta Tags module as well. Just haven’t had the time yet…

     

Sponsored Links

Leave a response

You are not logged in, log in with your SitePoint Forum username and password.

-OR- Post Anonymously

* Make sure any code samples are escaped (i.e. ‘<b>’ becomes ‘&lt;b&gt;’).

If not logged in, your comments will be placed in a moderation queue. This means your comment may not appear until one of our moderators approves it.

SitePoint Marketplace

Buy and sell Websites, templates, domain names, hosting, graphics and more.

Logo Design, Web page Design and more!

99designs

  • Custom logo designs created ‘just for you’.
  • Pick the design you like best.
  • Only pay if you’re satisfied with the result.

Want More Traffic?

Get up to five quotes from qualified SEO specialists, with no obligation!

Get A Free SEO Quote Now!