Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 UTC on 18 March 2024, to get $100 off your ticket.
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
Comment #1
jec006 CreditAttribution: jec006 commentedCurrently 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.
Comment #2
michaelgiaimo CreditAttribution: michaelgiaimo commentedA '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!!
Comment #3
jec006 CreditAttribution: jec006 commentedHey 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.
Comment #4
michaelgiaimo CreditAttribution: michaelgiaimo commentedWow, 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?
Comment #5
jec006 CreditAttribution: jec006 commentedTry 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.
Comment #6
michaelgiaimo CreditAttribution: michaelgiaimo commentedIs 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
Comment #7
michaelgiaimo CreditAttribution: michaelgiaimo commentedAlso, 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.
Comment #8
jec006 CreditAttribution: jec006 commentedHey,
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.
Comment #9
jec006 CreditAttribution: jec006 commented