Is there a way I can prevent OpenCalais from autotagging with a few specific terms? I have many thousands of articles that are all about aviation, and I don't need every node tagged with that term, or aircraft, or flying, etc.

Comments

jec006’s picture

Currently in the D7 version I haven't implemented the blacklist idea.

My proposed solution to this problem is implementing what I'm calling a filter idea:

You could have a filter on a content type that says 'only use terms that already exist' or 'never use these terms' ect. Ideally these would be exportable and could be applied across content types and to specific fields.

Any input is definitely appreciated.

michaelgiaimo’s picture

A 'Never use these terms' would be AWESOME! As I mentioned, I am currently writing a script to delete taxonomy terms like 'Aviation' or 'Airplane' as they are created, which is sort of a pain.

Any way you can get a patch quickly? We go live this weekend! Not opposed to sponsoring it!!

jec006’s picture

Hey Velcrobots:

Check out http://drupal.org/commitlog/commit/5830/29c4fe0a22959e994b208a6959132690...

I have created a really skeleton version of filters which currently only has 1 available filter: a global blacklist

I really haven't had time to test this barely at all so if you would like to install it and test to see if it does what you need, please report back on any bugs that you find, ect. I hope it will make your life a bit easier. The docs are non-existant right now, but we'll get there.

michaelgiaimo’s picture

Wow, thanks so much for doing this fast. Will test asap. Sort of a noob with this stuff, do I just download the hyperlinked files and replace the current ones?

jec006’s picture

Try just downloading the 7.x-1.x-dev branch - it looks to be up to date (sometimes it'll take 12 hours to rebuild) and overwriting your current module folder with the new stuff.

michaelgiaimo’s picture

Is the includes folder missing from the build? I get this error -

Fatal error: require_once() [function.require]: Failed opening required '/mnt/drive2/vhosts/mysite.com/httpdocs/drupal/sites/all/modules/opencalais/includes/CalaisService.inc' (include_path='.:') in /mnt/drive2/vhosts/mysite.com/httpdocs/drupal/includes/bootstrap.inc on line 2913

michaelgiaimo’s picture

Also, when I go to edit a node, I get this:

Fatal error: Class 'ARC2' not found in /mnt/drive2/vhosts/mysite.com/httpdocs/drupal/sites/all/modules/opencalais/includes/CalaisRdfProcessor.inc on line 32

I have ARC2 installed.

jec006’s picture

Hey,

You may need to delete the whole opencalais folder and then redownload it. I moved around the 2 submodules so they might be getting duplicated, also make sure you clear cache.

jec006’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.