WP Auto Tagger

Description:

This plugin uses the Yahoo API to suggest tags based on the post content. The plugin will add a `Suggest Tags` button to the `Write Post` page sidebar.


Rating: 1 Star2 Stars3 Stars4 Stars5 Stars (7 votes, average: 4.71 out of 5) Loading ...
Size: 60.4 KB
Downloads: 422 [Download Now]

21 Comments

  1. Posted March 10, 2008 at 2:18 am | Permalink

    Just downloaded and ran your plugin and got this error:

    Parse error: syntax error, unexpected T_VARIABLE in line 73.

    Added a “;” at the end of line 72.

    So far it has been great, and doing a great job of picking out tags. Any chance that this plugin can do it to all post automatically?

  2. iDope
    Posted March 10, 2008 at 2:34 am | Permalink

    Thanks for letting me know. I had fixed that but forgot to update the .zip. You can download it again.

    That’s a good idea. I’ll try to add bulk tagging for existing in the next version.

  3. Posted March 16, 2008 at 10:18 am | Permalink

    Bulk tagging / automatic tagging is a good idea. I’m looking forward to the new version.

    However, will it be possible to tag already existing posts?

  4. Torabayashi
    Posted March 18, 2008 at 4:13 am | Permalink

    Hi,

    Can you possibly make an option of auto-tagging the post with all the yahoo tags when it’s published, so that the author can let the script can take care of any tagging matters?

  5. Posted March 23, 2008 at 7:02 pm | Permalink

    Hi,

    I really like your plugin. It doesn’t appear to be compatible with WP 2.5 though, any plans to make it compatible?

  6. iDope
    Posted March 24, 2008 at 12:20 am | Permalink

    Torabayashi,

    I’ll add an option of auto-tagging in the next update.

    Paul,

    I don’t know what is going to be different with WP 2.5 but I will try to make the plugin compatible when its released.

  7. iDope
    Posted March 25, 2008 at 5:19 am | Permalink

    Update: Added option to automatically tag post on save.

  8. Posted March 25, 2008 at 7:32 am | Permalink

    I appreciate the update, it’s very handy to auto tag on save. I thought I’d let you know, there’s still a problem with WP 2.5 however, clicking the ‘Suggest Tag’ button doesn’t work, it only results in an error, fortunately using the button isn’t actually needed anymore.

    –Paul

  9. Posted March 26, 2008 at 7:16 am | Permalink

    Hi,

    After installing WP 2.5-RC2, I’m getting an error on the auto draft save function that appears to relate to your plugin.

    The error is:

    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in/home/macnight/public_html/wp-content/plugins/auto-tagger.php on line 130

    Warning: array_walk() [function.array-walk]: The argument should be an array in/home/macnight/public_html/wp-content/plugins/auto-tagger.php on line 131

    Warning: array_unique() [function.array-unique]: The argument should be an array in/home/macnight/public_html/wp-content/plugins/auto-tagger.php on line 132

    Warning: in_array() [function.in-array]: Wrong datatype for second argument in/home/macnight/public_html/wp-content/plugins/auto-tagger.php on line 133

    Warning: Cannot modify header information - headers already sent by (output started at /home/macnight/public_html/wp-content/plugins/auto-tagger.php:130) in/home/macnight/public_html/wp-includes/classes.php on line 805

    If this is your issue, as it seems to be, would this be something you can fix easily enough?

    Peace,
    Gene

  10. Posted March 26, 2008 at 10:35 am | Permalink

    I wanted to add a new wrinkle. That error appears only on the initial auto save of a draft post. On subsequent auto saves, after I do a full save of the post, there is no problem. I hope that doesn’t make this all the more difficult for you to figure out. :D

    Peace,
    Gene

  11. Torabayashi
    Posted March 27, 2008 at 1:40 am | Permalink

    Ok, thanks for listening!

  12. Posted March 30, 2008 at 8:04 am | Permalink

    I have been getting the same errors as Gene, the solution was fairly simple. I added these lines to auto-tagger.php and it seems to work for me…

    if ($results[’ResultSet’][’Result’] == “”) {
    return $tags;
    exit();
    }

    Just find….
    129. $results=unserialize($response);
    130. $tags=array_merge(explode(’,',$tags), $results[’ResultSet’][’Result’]);

    and change it too…
    129. $results=unserialize($response);
    130. if ($results[’ResultSet’][’Result’] == “”) {
    131. return $tags; exit();
    132. }
    133. $tags=array_merge(explode(’,',$tags), $results[’ResultSet’][’Result’]);

  13. Posted March 30, 2008 at 8:50 am | Permalink

    Okay I made a small typo in my code, sorry guys. instead of “if ($results[’ResultSet’][’Result’] == “”) {” on line 130 you need to put “if (if (!is_array($results[’ResultSet’][’Result’])) {) {”

  14. Posted March 30, 2008 at 8:06 pm | Permalink

    This doesn’t seem to be working with WordPress version 2.5

  15. Posted March 31, 2008 at 11:48 am | Permalink

    Strange I’m running 2.5 as well.
    Just looked, did you copy and past the code from above?
    Just tried it my self and the quote simples been changed. double check that the correct single quotes are being used in the code, and if your still having problems.
    Are you getting the same error message or has it changed at all?

  16. Posted March 31, 2008 at 4:27 pm | Permalink

    I’m not getting an error, the tags just aren’t showing up in the tag box for me when I click the ’suggest tags’ button

  17. Posted March 31, 2008 at 6:09 pm | Permalink

    Stuart: I tried pasting in your code snippet but it caused a fatal error and the website would no longer load.

    Reality: I think you’re seeing the same problem I am, you click the button and nothing seems to happen. But additionally, in IE7.0 anyway, you’ll see an error icon in the status bar, double click the icon and a message box pops up with the error message. Browser settings will also affect when and if you see the errors in the page.

    Plugin Author: There appears to be two distinct problems, 1) errors displayed when saving posts and pages, 2) clicking the auto tag button doesn’t add the tags.

    –Paul

  18. Posted April 21, 2008 at 12:50 pm | Permalink

    Love this plug. However, I’m installing it in a site that has over 150 posts … no tags. Is there a way to tag them without going through and then save again?

  19. Sammy123
    Posted April 24, 2008 at 3:39 am | Permalink

    Do you plan to update this for WP 2.5?

  20. Alexander
    Posted May 1, 2008 at 2:56 am | Permalink

    Can anyone of you help me adding a function that excludes some tags (I’ve already tried wp_tag_cloud(’exclude=word1,word2);…

    Best regards,
    Alexander.

  21. Posted May 11, 2008 at 11:02 am | Permalink

    hi. Thanks for plugin

    perfect.

    regards

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

Spam protection by WP Captcha-Free