This is a guest post by Michael R. Bagnall who was kind enough to contribute to the drupal community.
Thank you Michael.
OpenCalais in Drupal
Current Functionality and a Look Ahead to Drupal 8
It’s no secret that one of the most powerful aspects of the Drupal content management system is the ability to tag content using a variety of vocabularies within it’s Taxonomy structure. Being able to relate content in this way is a big help to large content, scholastic, government and news related web sites find appropriate tags which can be assigned on a per-vocabulary level to content.
The OpenCalais module for Drupal makes this process easier by leveraging the power of the Calais service with regard to auto and suggested tagging of Drupal content.
This is accomplished by analyzing the title of the article and body content of a given piece of content and assigning or suggesting tags on a per-vocabulary level. What makes this even more powerful is that you can utilize different vocabularies within different content types to target subject specific tags for each individual content type and piece of content. You can also set thresholds for which tags are recommended or assigned helping to narrow or widen the field of tags that are suggested or assigned.
In our example above, you can see that a variety of vocabularies are selected for our content type of Article meaning we expect to have many different article subjects contained within that content type. Also note the scores assigned to each selected vocabulary. This will indicate that tags below a certain threshold will be ignored and those above will be suggested or assigned.
Using this you can see our article on the sports team the Nashville Predators. Note the suggested and assigned tags in the second figure. This includes suggested social tags. In the areas of Company and City (depending) they will be populated with links to the PermID record for those entities.
Once you submit the node (or allow it to auto-tag on creation) you can view the tags on your article display page. The terms are presented as tags separated by vocabulary. There has been an expressed desire to have all the tags presented in a single vocabulary with a custom field for the category of the tag but this presents some technical and logistical limitations that currently prevent this, but it is something being actively looked into.
The module is currently available for Drupal 6 and Drupal 7. Because drupal.org has recently stopped supporting Drupal 6, the ability to download that module is limited to the git repository on drupal.org. However, I will be maintain releases on the GitHub page for the OpenCalais project located at: https://github.com/ElusiveMind/opencalais
Note that both releases have some bugs and issues that are under review and development for fixes. I am also planning to begin work on a Drupal 8 version of the module within the next two weeks, but I expect this to take several weeks to a couple of months to develop with my current workload and schedule.
Michael Bagnall is a Washington, DC area developer working on Drupal 7 and Drupal 8 projects for the United States Department of Agriculture. He has been working with Drupal in commercial, publishing, scholastic and governmental capacities since 2007. An advocate for Open Source software initatives, he is currently working on many open source Drupal and game development projects for various platforms.
You can contact Michael at : email@example.com.
Disclaimer: Thomson Reuters has no business relationship with Michael Bagnall. We are thankful for Michael for using the Open Calais API inside Drupal and wanted to make everyone aware of this.