WP Calais Auto Tagger: Automatic Tag Suggestion For Your Posts

April 10 11 Comments Category: Development, Projects

Automatic Tag SuggestionI just completed the WP Calais Auto Tagger plugin, the obvious first use of my Open Calais Tags class. It adds a tag suggestion box to your WordPress post writing screen which suggests tags based on your post content using the Open Calais API. The suggestions can be added to the post’s tag list with a single click, or manually added if you don’t want to use them all.

If you’ve been meaning to use WordPress’s new built-in tags, but are too lazy to come up with a good list every time you blog, give the plugin a try. Comments, suggestions and bug reports are appreciated.

11 Responses

Write a comment
  1. Hello, I am using wordpress 2.3.2. When I tried to activate the plugin, I got this message :

    “Plugin could not be activated because it triggered a fatal error.”

    I had uploaded the entire folder (calais_auto_tagger) in the plugin folder. Can you suggest what can be the reason for this error ?

    Thanks

    Eklavya 11 April 2008 at 1:34 am Permalink
  2. The error actually says :

    Parse error: syntax error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/……../wp-content/plugins/calais_auto_tagger/opencalais.php on line 17

    Eklavya 11 April 2008 at 1:36 am Permalink
  3. What version of PHP are you running? That line is declaration of a class constant. At most that would require PHP 5.1, but I think that was in 5.0. Doesn’t WordPress require PHP 5?

    Dan 11 April 2008 at 1:50 am Permalink
  4. Getting same error:

    Plugin could not be activated because it triggered a fatal error.

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/jackpea/public_html/—–/wp-content/plugins/opencalais.php on line 17

    Jack 11 April 2008 at 6:48 pm Permalink
  5. If you’re also running at least PHP 5.0, try downloading the plugin again, it was edited today.

    Dan 11 April 2008 at 7:04 pm Permalink
  6. Dan,

    Just wanted to say thanks for this.

    Dominic 11 April 2008 at 7:40 pm Permalink
  7. dear dan,

    as mentioned aboved this plugin requires php 5 and above but i have got php 4 so got any other alternative to use this plugin.

    SHaiTaaN 12 April 2008 at 7:19 am Permalink
  8. Nice plugin, thanx.

    I’ve modded it a bit to make it more rdf’y
    - in file calais_auto_tagger.php, changed line 148 into:
    - $tags[] = strtolower(‘oc:’.$type.’/’.$entity);
    - so the resulting tag looks like: oc:/

    grtz

    itp 13 April 2008 at 2:41 am Permalink
  9. I am getting the same error as others:

    arse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’

    Yes, I have PHP 5 and yes I have version 1.0 and yes your plug-in wasted two hours of my time.

    mluther 22 April 2008 at 6:37 pm Permalink
  10. @mluther: Could you be any ruder? That type of syntax error only occurs there in PHP 4, so you are definitely running PHP 4. Your host probably has it set up so you need to change a setting in the control panel, or change the handler in a .htaccess file, to enable PHP 5 for your account.

    Dan 22 April 2008 at 8:33 pm Permalink
  11. triwxfvn kzrlmgbt tgmqo wzgfelxko jics zfhjwykgd qslfbo

    obwlqzjvs rivsan 18 June 2008 at 3:11 am Permalink

Write a Comment

Commenter Gravatar