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 (12 votes, average: 4.33 out of 5) Loading ...
Size: 60.4 KB
Downloads: 963 [Download Now]

49 Responses to “WP Auto Tagger”

  1. 1
    nibaq Says:

    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. 2
    iDope Says:

    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. 3
    Shop Network Says:

    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. 4
    Torabayashi Says:

    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. 5
    Paul Says:

    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. 6
    iDope Says:

    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. 7
    iDope Says:

    Update: Added option to automatically tag post on save.

  8. 8
    Paul Says:

    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. 9
    Gene Steinberg Says:

    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. 10
    Gene Steinberg Says:

    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. 11
    Torabayashi Says:

    Ok, thanks for listening!

  12. 12
    Stuart Anderson Says:

    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. 13
    Stuart Anderson Says:

    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. 14
    RealityRehash Says:

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

  15. 15
    Stuart Anderson Says:

    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. 16
    RealityRehash Says:

    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. 17
    Paul Says:

    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. 18
    Tadd Says:

    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. 19
    Sammy123 Says:

    Do you plan to update this for WP 2.5?

  20. 20
    Karsten Says:

    On my wordpress 2.5.1 clicking on suggest tag closes the window and saves the suggested tags to the article. I expected suggestions I can approve - not a forced add.

    Anyway, the plugin is a great idea - I really hope you polish the code so it works with the 2.5.1 Version …

  21. 21
    Alexander Says:

    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.

  22. 22
    baron Says:

    hi. Thanks for plugin

    perfect.

    regards

  23. 23
    Peter Says:

    Version 2.5.1 I’m getting this error

    PHP Fatal error: Call to undefined function curl_init() in /var/www/peter/blog/wp-content/plugins/auto-tagger.php on line 118

  24. 24
    CHad Says:

    I can not seem to get this plugin work for me….

    I tried the download…and I get errors.

    I then tried to edit the script like suggested above with no luck.

    I keep getting error messages when even try to activate the plugin.

    Can someone please help me find a working copy of this plug…please and thanks.

    Cheers

    Chad

  25. 25
    Chad Says:

    Here is the section of code were the issue seems to be:

    if(curl_errno($ch)) return curl_error($ch);
    curl_close($ch);
    $results=unserialize($response);
    if (!is_array($results[’ResultSet’][’Result’])) {) {
    return $tags; exit();
    }
    $tags=array_merge(explode(’,’,$tags), $results[’ResultSet’][’Result’]);

    please help me find whats wrong with the code or if any have a working plugin please provide and download for this plugin.

    Thanks in advance.

    Chad

    thanks

  26. 26
    Scott Says:

    Hi - Just downloaded the plugin on June 2nd & got the errors listed above - tried editing the file as per your comment and now get a fatal error unexpected T_IF - can you update the zip file to be correct so I can reinstall it please?
    I am on WP 2.5.1

  27. 27
    iDope Says:

    The plugin has been updated for WP 2.5 (use the older version for WP 2.3).

  28. 28
    Peter Kroezen Says:

    Manual suggest working great now, thanks very much!
    Where’s your donation button?
    Peter wp 2.5.1

  29. 29
    Dan Says:

    Is there a way to exclude certain words from being tagged?

  30. 30
    Richard Says:

    Auto Tagger is a great plugin :D

  31. 31
    Kelly Says:

    What happened to Auto Tagger in 2.6.1? It was working great but now I keep getting an error like the one above:

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

    also on line 131 and 132

    Please advice. I love this little plugin!
    Thanks

  32. 32
    iDope Says:

    @Kelly: I have updated the plugin. Please re-download it and let me know if it works for you now.

  33. 33
    Pepperama Says:

    I have done everything above and got this error as well:
    Parse error: syntax error, unexpected T_IF in ….. on line 130

    Any suggestions?

  34. 34
    Mark Mason Says:

    iDope — I love this plugin. I am getting a similar error to the above in WP2.6.1 and plugin ver 1.3.1.

    In the below case, I was posting via XMLRPC. Of 35 files, 3 returned this error and would not post. Error seems to be related to the previously mentioned error mentioned by @Kelly above.

    junk after document element at line 2, column 0, byte 7 at c:/Perl/lib/XML/Parse
    r.pm line 187

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

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

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

    Warning: Cannot modify header information - headers already sent by (out
    put started at /home/ccadmin/public_html/wordpress/wp-content/plugins/wp-auto-ta
    gger/auto-tagger.php:131) in /home/ccadmin/public_html/wordpress/wp-includes/
    class-IXR.php
    on line 379

    Warning: Cannot modify header information - headers already sent by (out
    put started at /home/ccadmin/public_html/wordpress/wp-content/plugins/wp-auto-ta
    gger/auto-tagger.php:131) in /home/ccadmin/public_html/wordpress/wp-includes/
    class-IXR.php
    on line 380

    Regards,
    Mark

  35. 35
    Chris Says:

    I have the same problem as Kelly and I have just tried uploading the new version. My error says:

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

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

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

    Warning: Cannot modify header information - headers already sent by (output started at /home/…/wp-content/plugins/wp-auto-tagger/auto-tagger.php:131) in /home/…/wp-includes/pluggable.php on line 770

    It only occurs when I try to save a post or publish a page. When I publish a post or save a page it works fine.

  36. 36
    mark Says:

    I am still getting the “array” errors above. I have downloaded the updated version and reuploaded the plugin several times. Any ideas?

  37. 37
    Walt Says:

    Hi. Love the plugin. I am getting an error when posting javascript to a page (a Google video). The plugin tries to tag the page, and there is no checkbox to turn it off. Here’s the error

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

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

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

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

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

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

    Warning: Cannot modify header information - headers already sent by (output started at mydomain.com/wp-content/plugins/wp-auto-tagger/auto-tagger.php:131) in mydomain.com/wp-includes/pluggable.php on line 770

  38. 38
    iDope Says:

    I have released an update that should fix the errors. Please get the updated version.

  39. 39
    Mark Says:

    As I said in my post, I have downloaded and used the update and it gives errors as above. Is it possible that there is some conflict with other plugins??

  40. 40
    iDope Says:

    You need version 1.3.2 which I released today. Are you having problems with this version too?

  41. 41
    mark Says:

    No - I didn’t realise there was an even newer version. I have now tested it and it seems to work perfectly. Thank you - brilliant service.

  42. 42
    Thomas Says:

    Hi,

    I am using WP 2.5 and would love to use your plugin. I have just downloaded the latest version, and unfortunately it doesn’t work for me. When I activate the plugin, WP tells me that the plugin has been activated, but I don’t see any menu related to it (even in the write post section).

    Any ideas?

    Thanks a lot!

  43. 43
    Thomas Says:

    Looks like it is working now :)

  44. 44
    iDope Says:

    Glad it worked!

  45. 45
    Fred Says:

    Hi,
    I’m a little confused how the auto tagging works. Does it just do it, or do you have to do something? I have it activated but don’t see any other settings panels for it.

    Thanks!

  46. 46
    Walt Says:

    Hi. Here’s a feature request - stopwords or words that can be excluded from the generated tag list. “nbsp” and “rsquo” are examples

  47. 47
    peter - blogs unlimited Says:

    Thanks for this plugin. I like it but am a little confused. I have 2 blogs but one displays the categories and tags below each post and the other doesn’t. The plugin is activated in both. What am I missing in blogsunlimited.ca that needs to get the categories and tags appear below each post?

  48. 48
    iDope Says:

    Your other theme might not support tags. IIRC, the tag enable your theme you have the insert the function the_tags() in your theme.

  49. 49
    Vladimir Says:

    Top stuff as always from you. Possibility to quickly update it for bulk/automatic tagging?

Leave a Reply




XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>



Spam protection by WP Captcha-Free



  • Theme Search

    Colors:
    Columns:
    Width:
    Category:
    Misc:
  • Themes