• Resolved timbearcub

    (@timbearcub)


    Hi here is a temp fix for Opencalais in Simple Tags. It’s a hack and doesn’t always show the right thing, but that might be Refinitiv’s strangeness, you know Draft:XXXXX and weird responses, it was doing that when it was working!

    I knew that the Opencalais tagging still worked cos my old key worked in Laiser Tag, a newer and working auto-tag WP plugin that only does Opencalais, problem is unlike Simple Tags there isn’t any way of selecting the tags manually.

    So this is what you do – and warning this is only for those happy to manually edit plugin PHP files I am NOT responsible for any mess you create! At your own risk.

    1. Find /simple-tags in your WordPress plugin folder – usually in /wp-content/plugins, then go into the /inc/ folder

    2. Edit the class.admin.suggest.php file in a text-editor and search for this line:

    $response = wp_remote_post( 'https://api.thomsonreuters.com/permid/calais'

    Change it to:

    $response = wp_remote_post( 'https://api-eit.refinitiv.com/permid/calais'

    Basically the new API URL is: https://api-eit.refinitiv.com/permid/calais and needs to be pointed to that URL. Why Refinitiv/Thomson Reuters couldn’t redirect it, I don’t know.

    Remember this hack will be overwritten if the plugin is updated or you re-install/re-upload it!

    • This topic was modified 4 years, 4 months ago by timbearcub.
    • This topic was modified 4 years, 4 months ago by timbearcub.
    • This topic was modified 4 years, 4 months ago by timbearcub.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Temp fix hack to get Opencalais working’ is closed to new replies.