WP Calais Auto Tagger

With the Calais Auto Tagger plugin, you’ll never have to think of tags for your posts again. The plugin uses the Open Calais API to perform semantic analysis of your post text and suggest tags for you. The plugin adds a new “Get Tag Suggestions” button to your post interface which retrieves the suggestions. Adding the suggested tags takes just a click.

Calais Auto Tagger

The Calais Auto Tagger requires you have an Open Calais API key. Getting a key is easy as filling out two forms — it’s an instant, automated process. First, go to the Open Calais site and use the “Request API Key” link at the top of the page to create an account. Enter your API key on the Calais Configuration page under the settings menu.

Calais Auto Tagger is compatible with WordPress 2.7+. It is free for personal and commercial use.

Current Version

Version: 2.0
Release Date: 6/10/2015
Download: WP Calais Auto Tagger at the WordPress Codex


This plugin relies on the Open Calais Tags PHP class, which requires PHP 5 web hosting with PHP’s cURL extension enabled (the majority of web hosts).


To install, unzip the archive and upload the files to wp-content/plugins/calais-auto-tagger. Then activate the plugin from the plugins tab of your WordPress administration area. You’ll now have a “Calais API Key” link on your settings menu where you can enter your API key.

What’s new in the latest version?

Rewritten to use jQuery, updated the style a bit to better match the current WordPress admin area, and updated the OpenCalais class bundled with the plugin. The new version of my OpenCalais class suggests more tags using the “Social Tags” API in addition to the entity API.

  • Pingback: Dan Grossman » WP Calais Auto Tagger: Automatic Tag Suggestion For Your Posts()

  • http://gregboutin.typepad.com/ Greg Boutin

    Hi Dan, this is a great development. As a suggestion, I think there’d be a huge demand for a similar tool that would be “open” to non-wordpress usage. I’m thinking of a website where I could input my blog text (or any text for that matter) and receive top tags in return. That would greatly expand your reach as many people (like me) don’t use wordpress. Really look forward to your next developments!

  • Joe Buhler

    For some reason I can’t activate the plug-in on my blog using WP 2.5
    I’m getting this error:

    Parse error: parse error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/content/s/h/o/showa23/html/wordpress/wp-content/plugins/calais_auto_tagger Folder/opencalais.php on line 17

  • http://www.dangrossman.info Dan

    Joe, the plugin requires PHP 5. Greg, have you looked at the linked Open Calais Tags class? You can use it to add automatic tagging to any app you want.

  • Joe Buhler

    Dan,my hosting service version supports PHP5

  • http://www.dangrossman.info Dan

    Perhaps that feature requires 5.1 after all. I’ve tested it against three hosts, but all of them had at least PHP 5.1.

    Please try downloading it again and using the updated opencalais.php. I removed the line you had an error on and hard-coded the string where it was used.

  • Pingback: Dan Grossman » Tagging Large Post Archives Automatically()

  • Joe Buhler

    that must be it. got the same error message after downloading the new version. don’t know how I get GoDaddy to upgrade to 5.1

  • http://www.dangrossman.info Dan

    You can’t still be getting an unexpected T_CONST error on line 17 since that line, and the const, were removed. Are you sure you replaced your files with the new opencalais.php? If you’re not in a rush and want some help with this, you can e-mail me at [email protected].

  • http://www.pwn3d.us Dirkus

    Actually, he’s right. I get the same message, blah blah T_CONST blah Line 17 etc…

    Double checked that there was no “T_CONST” in the file, there wasn’t. Not sure what’s up there.

    I’m on powweb, also PHP 5.0 IIRC

  • http://www.familymanlibrarian.com Steve Oberg


    One question: When I get my Open Calais API key and then try to input it and click on Submit, nothing happens. I am using WordPress 2.5. Have tried doing this in Firefox 2.0 and IE 6 and nothing works.

  • http://www.dangrossman.info Dan

    Dirkus, Joe’s problem was that he was actually running PHP 4. If you’re getting an error on that line you probably are too. Create an empty PHP page with just a call to phpinfo(), run it in your browser, and you’ll see the version.

  • http://www.familymanlibrarian.com Steve Oberg

    Dan, never mind. Dumb me, the API key WAS registered ok, after all. Everything’s work.

    Oh, also just to suggest that you update the link to the archive tagger above. Currently the link is http://www.dangrossman.ino/wp-calais-archive-tagger and it should be, I think, http://www.dangrossman.info/wp-calais-archive-tagger.

    Can’t wait to try both of these nifty tools. Thank you for making them available.

  • http://www.pwn3d.us Dirkus

    Ah, apparently so. I thought they had moved to PHP5, but I guess I was mistaken. Thanks.

  • http://connorp.com Connor P


    I am having a problem. I Download the file, FTP it up to the right place, and go to activate it, but i get this message:plugin could not be triggered because it caused a fatal error.Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in [it gave the link to the opencalais.php file] line 17

    Please help. I really want this plugin to work. Thanks

    Connor P

  • http://www.dangrossman.info Dan

    Connor, you need PHP 5 to use this plugin. You only have PHP 4. Ask your host if you can enable PHP 5 for your account or if they will upgrade.

  • gaby


    wich plugin do you use for your archive page in this site ?


  • http://www.dangrossman.info Dan

    @gaby: It’s called SRG Clean Archives.

  • http://chrismerriman.com ChrisM

    SRG Clean Archives can now be found at http://www.geekwithlaptop.com/projects/clean-archives/
    Shaun passed it over to Sean, but Sean’s blog is now run by someone else.
    Hope I got the names right. You can of course find the plugin by hopping around various links, starting with the one posted above, just thought I’d help out any people without enough patience 🙂

  • Pingback: PHP Weekly Reader - April 13th 2008 : phpaddiction()

  • Pingback: Semantic web - Wordpress()

  • Pingback: ≈ Relations › links for 2008-04-17()

  • Pingback: Calais Gets a Wordpress Plugin: Read Write Web | Mudassar Ijaz's Blog()

  • Pingback: Daily Links()

  • Pingback: ReadWriteWeb en français » OpenCalais sort son plugin Wordpress()

  • Pingback: Obfuscure Blog » Blog Archive » Semantic wordpress tagging()

  • http://www.manicalarga.net manica

    I would use it on my italian blog. Will it work?

  • http://www.indi.ca indi

    First off, brilliant stuff.

    I have a few multi-user blogs and it’s hard to train the authors to use tags at all. Is it possible to make the tagging automatic (as an option)?

  • http://veetrag.net Veetrag

    Hi Dan,

    I am facing following problem

    Parse error: syntax error, unexpected '{' in /wp-calais-archive-tagger/calais_archive_tagger.php on line 132

    Can you help me fix this issue?

    Thanks 🙂

  • http://www.shareasale.com/r.cfm?B=67631&U=138727&M=11190 Antonio

    this is some great stuff. can’t wait to share it with my friends.

  • http://www.smallgroupleaders.org eric

    I hit the “get tags” and nothing happens. please help. i’m eager to use this! thx. got the API key and using php 5.2.5

  • http://www.brandonolivares.com/ Brandon

    Great plugin!

    Doe sit only work when the visual editor is activated? Usually when the HTML editor is activated instead, when I click “Get Tags,” nothing happens, even for several minutes.

    Unfortunately it seems when I do use the visual editor, it usually says that no tags were found.

  • http://www.traffictart.com Leigh

    For some of my blogs, Id like to be able to just leave the plugin to set the tags fully automatically

    Is there an option to set these plugins to run completely ‘hands free’ ?

  • http://sunishrocks.blogspot.com sunish


    Does this work for blogspot?


  • http://talesfromjapan.com Brian

    Thanks for the plugin! I think I may have stumbled across a reason, and solution for the “IT’S NOT WORKING” posts.
    I was running through old posts without any difficulty and then ran into one where it wouldn’t work. Realized the Post window on the Write screen was set on HTML tab, not the Visual tab. I changed the Post to the Visual tab, then rehit auto tag and it worked just fine. I suspect, although did not re-check, that this was why I had been unable to get the archive tagger to work. May want to make this a note on the WP plugin download page.
    I hope this helps as you have a great, time saving plugin.

  • Pingback: OpenCalais tagging implemented on blog()

  • http://www.ericptak.com eric

    It looks nice, but it’s too bad it isn’t backwards compatible with pHp 4. That is what my webhosting service is using right now. Is there a workaround for the parse error on line 132 mentioned by Veetrag above?

  • http://www.dangrossman.info Dan Grossman

    There is not and will not be a backport of the Calais PHP class to a dead language. Tell your host that PHP 5 is more than 4 years old and you need an upgrade out of the stone age.

  • http://www.philix.co.uk Philix

    This is exactly what i was looking for.

  • Pingback: simple tags and calais auto tagger plugins don’t work well together » Melbourne Brisbane Computer Repairs()

  • http://nsm.org.in Pratik Sinha

    What is the difference between tagaroo offered by opencalais and this plugin? Will the tag suggestions be different for the two? I am debating which one to use.

  • http://www.mygrossmanstore.info/ Grossman – Buy Stickers – eSticker

    this is awesome. I hate when i get done writing an article for my site and then try to figure out what the best tags are to pick out. thanks for auto tagger

  • http://pretensions.0fees.net/ Pretensions

    Hi Dan, this looks like a great plugin and it activates fine for me, but when I try to click the Add Tags button on the Auto Tagger, absolutely nothing happens, whether I’m in visual or HTML mode. I’m also getting an “Error on page” for the Archive Tagger (where it says click here to start tagging your posts). I’m on WordPress 2.6.1. Help please!

  • http://www.howtofashionbusiness.com/singersewingmachines AnneMarie Callan

    Hi Dan

    For some reason I am not getting any tags in the sidebar … please could you tell me what I am doing wrong. I am automating the feeds and the tags are working wonderfully in the posts, but not showing on the pages.

    Many thanks

  • http://www.bernmak.com Bernmak

    Compra venta de coches usados, nuevos y de ocación totalmente gratis.

  • Pingback: 10* Proven plugins to make your Wordpress Blog pop()

  • Pingback: What Wordpress Plugins do you use?()

  • Pingback: Web Resources for Web 3.0 talk at CAC Fall 2008 — Technology Journal()

  • Albert

    Hi There

    What we really need is an automatic tagging plugin. Not a semi automatic tagging plugin. We all have so many blogs running on their own and grabbing good relevant content from other feeds etc. We need a plugin that will automatically tag the posts in the database without having to login and click somewhere.

    Man what I would do for such a plugin. Can’t find anything like it.


  • http://www.dangrossman.info Dan

    I would prefer not helping scraper blogs whenever possible. Sounds like filling the web with noise to me.