Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi, I've just installed OpenCalais on my Drupal site. Since I use CKeditor to enter the content, all accents and special characters (it's a francophone site) are converted to HTML entities in the node. I'M wondering if this could have a negative influence on OpenCalais and prevent it from picking up some terms.
Comments
Comment #1
lavamind CreditAttribution: lavamind commentedJust to be clear, I'm not getting an error message of any kind.
Comment #2
lavamind CreditAttribution: lavamind commentedAfter testing with the help of http://viewer.opencalais.com/ I found out that WSIWYG editors that convert special characters into HTML entities (ie.
é
) does break things for OpenCalais. Fortunately, the module provides an 'alter' hook by which it's possible to modify the body before it's submitted for analysis :Perhaps this should be documented in the README. I know CKeditor's default behavior is to convert to HTML entities, but I don't know about others.
Comment #3
febbraro CreditAttribution: febbraro commentedWe have not run into WYSIWYG editors breaking Calais processing. Were you getting no tags returned?
I agree though that the hook needs some documentation. Will add that shortly.
Comment #4
febbraro CreditAttribution: febbraro commentedhttp://drupal.org/cvs?commit=380478