Installing OpenCalais To Organize Your Site
It takes two different modules and an extra download to get OpenCalais working. It’s not difficult, though. Just carry out the following steps:
1. Firstly, install the modules by carrying out the following steps:
Download the Resource Description Framework (RDF) module from http://www.drupal.org/project/rdf and install it just like a normal Drupal module. However, do not enable it until you’ve finished Step 2 and have installed ARC 2 RDF classes for PHP.
Download the OpenCalais module from http://www.drupal.org/project/opencalais and install it just like a normal Drupal module. When you turn the module on, be sure to turn on both Calais and Calais API.
2. Download ARC 2 RDF classes for PHP from the following link, http://arc.semsol.org/download and install into the RDF module's vendor folder. You'll need to create the vendor folder here: sites/all/modules/rdf/vendor/.
3. Enable the RDF module on the modules page.
4. Get an OpenCalais API key. An API key gives you access to their services using a Drupal module. It's a simple, two step process that takes about three minutes. You'll create an account, and then request the API key. It all starts at the following link: http://www.opencalais.com/GetStarted.
5. Go to http://www.yourDrupalsite.com/admin/settings/calais, or go to your admin screen and click the Administer | Site Configuration | Calais Configuration link.
6. Paste in your Calais API key and click on Save configuration
7. Next, click the Calais Node Settings tab.
8. Configure your settings as follows:
• Store Calais RDF Locally: Leave it checked.
• Global: This is a list of all of the types of content that OpenCalais knows about. Unless you're experiencing a problem, you should leave all of these checked.
• Blog entry, Page, Story: These are the content types that are currently enabled on your site. You can configure OpenCalais to only run on the content types that you want.
• Calais Processing: This determines how the terms that Calais returns to your site will be used. Suggesting all of the ways to automatically applying them. For SEO purposes, choose Apply all suggested terms on every update. However, to start out, you might want to choose Suggest terms, but DON'T apply them so that you can see what it's doing and offer your own suggestions making OpenCalais work better. Cool!
• Allow Calais Searching: This option allows OpenCalais to search your metadata in the future. This makes their service work better so leave this checked.
• Allow Calais Distribution: This option gives OpenCalais permission to distribute your metadata to other sites. This is a good thing that could result in other sites linking to your or sending traffic your way. Leave this checked.
• Relevancy Threshold: OpenCalais may not be 100% sure about the tags that it produces. This setting allows you to tell it how sure it must be before it applies the tags to your site. A setting of 0.00 will apply every tag no matter what and a setting of 1.00 will only apply tags that it's very sure about. You can put anything in between. Start out with a setting of 0.50 and adjust as necessary.
• Use Calais Global Entity defaults: This uses the built in categories that OpenCalais defines. Leave this checked.
9. Click on Save configuration
10. Now, create a node. I grabbed a post from Wikipedia about Barack Obama and pasted it into a story node. Notice that there is a newly created tab called Calais. Click that tab.
11. Since we asked OpenCalais to not tag automatically, it only makes suggestions. If you like what you see, you can copy and paste the suggestions into the boxes provided. You can also turn on automatic tagging and the OpenCalais module will do it for you.
Now take a look at your Taxonomy list by pointing your browser to the following link, http://www.yourDrupalsite.com/admin/content/taxonomy/list. You'll see a list of all of the OpenCalais categories. Any node that is processed by OpenCalais that has a term in one of those categories will create the terms. For example, click on the taxonomy Person after you've passed the President Obama node through it.
Very cool! Now any story you post that talks about President Obama will be categorized in this term which makes for easy and instant organization.