WP Calais Auto Tagger: Automatic Tag Suggestion For Your Posts

April 10, 2008

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.

Categorized under: Development, Projects

11 comments

  1. April 11th, 2008

    Eklavya wrote —

    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

  2. April 11th, 2008

    Eklavya wrote —

    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

  3. April 11th, 2008

    Dan wrote —

    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?

  4. April 11th, 2008

    Jack wrote —

    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

  5. April 11th, 2008

    Dan wrote —

    If you’re also running at least PHP 5.0, try downloading the plugin again, it was edited today.

  6. April 11th, 2008

    Dominic wrote —

    Dan,

    Just wanted to say thanks for this.

  7. April 12th, 2008

    SHaiTaaN wrote —

    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.

  8. April 13th, 2008

    itp wrote —

    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

  9. April 22nd, 2008

    mluther wrote —

    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.

  10. April 22nd, 2008

    Dan wrote —

    @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.

  11. June 18th, 2008

    obwlqzjvs rivsan wrote —

    triwxfvn kzrlmgbt tgmqo wzgfelxko jics zfhjwykgd qslfbo

  12. View Comments:

Leave a Comment