I grabbed the d7_infofile_patch branch and made some changes to the Open ACalais API function names and module names so they work with their D7 verrsions.
However, I still can't get it to work. I suspect it has to do with the OpenCalais API rather than tagging, but I keep getting the error "OpenCalais semantic analysis skipped because OpenCalais API Key is not set. Please configure it at: admin/config/opencalais/api"

Has anyone else given this a go yet?

CommentFileSizeAuthor
patch_commit_079d80931895.patch1.17 KBmarblegravy

Comments

eugenmayer’s picture

For the issue -clearly an opencalais issue. Thanks for the D7 patch ... i guess that will not work for D6?

marblegravy’s picture

Don't know for sure for D6 but I don't think so. I'm pretty sure it was just the D7 version that they changed the name.

eugenmayer’s picture

Well thats a pitty actually. Hopefully they backport this to D6, but i dont expect that to happen

jason.fisher’s picture

FYI -- the issue with opencalais_api is that the key check function is looking for the wrong variable.

*   Whether to display a warning
*/
function is_opencalais_api_key_set($show_warning = TRUE) {

  $apikey = variable_get('calais_api_key', FALSE);

should be:

*   Whether to display a warning
*/
function is_opencalais_api_key_set($show_warning = TRUE) {

  $apikey = variable_get('opencalais_api_key', FALSE);

No time to put together a patch for them quite yet, but will revisit after the holidays if this is still open ..

eugenmayer’s picture

Thank you Jason for investigating

coloryan’s picture

Confirmed, this patch still applies. Thanks!

coloryan’s picture

For anyone that made the same initial mistake as me, I had to go back and apply #4 to the Open Calais api module. I missed that on my initial read through.

socialnicheguru’s picture

do I need the patch originally patch (http://drupal.org/files/patch_commit_079d80931895.patch) or do I need #4 or both?

My question is in respect to Drupal 7

coloryan’s picture

@SocialNicheGuru: Both, they address two different areas.