WordPress Plugin: Search Term Tagging 1.0 Beta

I read this post on Blogging Pro about some needed WordPress plugins, as suggested by Chris Pirillo. As I was reading through them, I thought, “Damn, I could do that fourth one pretty easily.”

For reference, the fourth one was as follows:

What about a plugin that takes incoming search terms and auto-tags the post based on those terms (with or without moderation)? So, if a user searches for KeywordXYZ on Google and ultimately visits one of the blog entries, that blog entry will have the KeywordXYZ added to its tag list (via UTW or something).

And so I wrote it.

Presenting Search Term Tagging 1.0 (Beta, of course)

You may download the source here: https://17thdegree.com/wp/searchTermTagging.phps

I’ve only tested on my WordPress, version 2.0.2 (I know I need to upgrade), installation. No guarantees on anything working or breaking.

Instructions:

  1. Download Source (above)
  2. Activate the plugin
  3. Add this code to display it wherever you want it to be seen on your blog:
    <?php
    /* Search Term Tagging Plugin */
    echo "<div id=\"searchTermTagging\">n";
    echo stt_terms_list();
    echo "</div>n";
    ?>
    

Any questions, comment here. There isn’t a whole lot to it. So, what would you guys like added to it? Also, I’m not really tied to the name for this plugin, any better ideas?