AutoMeta: Automatic Meta & Technorati Tags for WordPress
This plugin will automatically generate and include HTML Meta Tags and Technorati Tags based on the full text of your post.
What’s it for?
The explosion of people with their own websites (often called ‘blogs) has gone hand in hand with the rise of automated aggregation systems, which attempt to filter out the irrelevant majority so that the end user sees more content that is useful. The digital equivalent of separating the wheat from the chaff.
Sites such as Technorati have taken this concept further by introducing the concept of tags. A tag is a word or phrase that describes what a particular web page is about. It’s essentially a proprietary version of the HTML meta tag – this plugin manages both kinds of tags for you.
Installation instructions
To use it:
Download this file – this is the stable release, which is what most people want – if you’d like to try an advance copy of the next version then scroll down- Unzip the file and copy it’s contents to your
/wp-content/plugins/directory (so that it’s path is/wp-content/plugins/autometa/). - Enable it on the plugins page.
- Look for the AutoMeta menu which appears on the plugins page once the plugin is enabled.
- Click the “Add the index” button to create the necessary indexes.
- That’s it.
Automatic Tag Generation
This plugin will automatically generate and include HTML Meta Tags and Technorati Tags based on the full text of your post. When you save your post (and before you publish it) the plugin checks to see if any tags have been associated with it.

If no tags are found then it generates them based on the content of the post.
Hand Written Tags
Automatic extraction of words can never be perfect, so once tags are generated they can be edited and improved by hand.
If, like me, your article goes through several drafts before publication then you’ll notice that the words are generated the first time you save the document, but then they remain unchanged as the finished document evolves. The plugin will automatically regenerate the tags whenever there is no autometa custom field, so if you click on the Delete action, you’ll get a fresh set of auto-generated tags that you can refine by hand.
Hints
I don’t recommend that you use the plugin without hand-tweaking the tags; instead, think of it as a useful guide. If you wish to include tags with a space such as “world wide web” then you should insert dashes where you’d like the spaces to be, i.e. “world-wide-web”.
FAQ
- Where can I see the tags/keywords in my output?Meta Keywords are added to the document header for each post (you won’t see them on the index page), so load one of a recent post in your browser (one that that you’ve written or saved since the plugin was installed) then view the source of the page. Near the top you’ll see a message detailing the version of autometa that’s in use, and a list of keywords. Technorati tags are either added to the footer (so scroll to the bottom) or, if you’re using a more recent release, the tags may have been included in the document body, so you’ll see them without looking at the source.
- The plugin is installed and appears to work, but I see just a set of empty quotes where the list of tags should be; what’s wrong?99 times out of 100 you are hitting a bug that existed for a very short time in WordPress 2.0 – it’s been solved as of WordPress 2.0.1, so the problem should disappear when you upgrade.
- How do I show the Technorati Tags in my sidebar/theme?If you want to add the tags to your sidebar, then that add
<?php AutoMeta::includeTechnoratiTags();?>to your theme wherever you want the taglist to appear. - Can I customize the output a bit?Yes, you can customize the output a lot. Use the more parameterized
<?php AutoMeta::echoTechnoratiTags("headline", "tail", "line prefix","line_suffix", "no_tags_message");?>, modifying the parameters as necessary to fit your theme. For example:<?php AutoMeta::echoTechnoratiTags("<h1>Technorati</h1><ul>", "</ul>", "<li>","</li>", "Zarro Taags!");?> - Do I have to have the tags on my page?No. Technorati can discover your tags from the feed (where the tags are included as categories), so (based on experience) it appears that you don’t need visible tags on your page, so just include them if you want to.
- I want to be as lazy as possible, can the plugin do it’s work when I publish without me having to save it?Yes, that’s the default behaviour, but there is a caveat. If you want to be lazy and just publish then that’s fine, you can, the plugin will still extract the most important words from the article and turn them into tags/keywords. The downside is that if you’ve not mentioned a term in an article then it cannot appear as a tag – so if (for example) you write an article about iPods and don’t mention Apple, then “Apple” can’t be a tag, so there’s an audience group that you’re possibly missing. This is why hand-finishing your tags is recommended.
- Can I create keywords/tags that are not just single words, like “mostly harmless”, “ford prefect” or “chesterfield sofa”?Yes. These can be created using either the minus or plus characters to separate the words you wish to join. The tags “ford-prefect” and “ford+prefect” both turn out as “ford prefect”. It is recommended that you use the “+” character; the “-” is a hangover from an earlier version and (if people request it) could one day be removed to allow for hyphenated tags.
Planned/Unplanned Features
I don’t have time to extend this at the moment, but I’d like to to have:
- default set of metadata/tags for use in non article pages
- a better admin interface
- user editable tag list length
- user editable the minimum word length
- user editable stop list
- thesaurus lookup, so similar words could be group scored
- Optional Visible/Invisible technorati tags
- Tag list in Admin side bar
Versions
A list of all the releases.
Contribute
Embrace and Extend
If anyone would like to extend it, or use the code elsewhere, it’s released under a GPL license. Derivative works must also be free and must credit this work.
Alpha/Beta Testing
A development version of the next release is sometimes available too [nothing is currently available]. If you’re familiar with PHP and comfortable with wordpress hacking, then please, be my guest and help with giving it a jolly good shake to help get all the bugs out. If you’re feeling creative, invent a feature, or try implementing one of the ones listed above. Many hands make light work!
Feedback
Ideas, opinions and descriptions of problems are what can help this plugin get better – share your sparks of inspiration on the forum (or just describe the mists that are clouding your way).
445 Comments
Well, I solved my own problem (#243), so I’ll share the solution. When I extracted the contents of the zip folder, it made an ‘autometa’ folder. Inside this folder were three other folders, one of which was also named ‘autometa’. The solution was to only upload the INNER folder to the ‘plugins’ folder. ( I had previously uploaded the outer folder. )
Can’t get the plugin Visible to be able to activate it.
I’ve just installed WordPress 2.0.3 and have created the folder autometa under the plugins folder and uploaded it to the server but can not see it in the plugins that are listed to be able to activate it.
I’ve tried uploaded the contents of the folder i’ve downloaded. didn’t work.
I’ve followed the Professor advice above
“Well, I solved my own problem (#243), so I’ll share the solution. When I extracted the contents of the zip folder, it made an ‘autometa’ folder. Inside this folder were three other folders, one of which was also named ‘autometa’. The solution was to only upload the INNER folder to the ‘plugins’ folder. ( I had previously uploaded the outer folder. )”
and it did not work either. the other plugins I have work fine.
Any ideas?
thanks
Pete
I have just started to use this plugin (had no idea the other plugin I was using wasn’t even working. This is really a helpful tool. I find the auto-generated key tags a very useful guide for clearly defining the page. I don’t know if it generates the tags the same way a search engines look at a site, but if it does, it really gives keen insight on why a page may not be getting better results than you think it should. And it can even be used as a pointer for how to better edit the actual content of the post as well. Thanks.
I have a site that is a compilation of all my blog posts. Every time I post on one of my blogs, my tool autoposts onto my compilation blog (it uses the rss feeds for my sites). I love your plugin but unfortunately it won’t create technorati tags for my autoposts. Do I have to physically press the publish button for the tag generator to work? Help!
Autometa Doesn’t work on WordPress 2.03, I guess. I just upgraded from wp 2.03 to 2.04 and now it seems to work
It looks like a great plugin, but can it also do META descriptions? I need to be able to generate both META description and keywords.
Hi Fred, you could rig it to duplicate the content of the meta keywords and call them the description, but that would defeat the point because the description field is supposed to be “concise and attractive to a user”. I’ve not really thought of adding a description field, but the prime candidate for me would be to add the first 200 words or all words until the “more” tag (whichever comes first).
Hi there. I’ve found a couple of quirks/features/bugs.
1) For some reason (most likely another misbehaving plugin), my site is not creating the “post slug” until I publish the message. Your plugin adds the autometa attribute when I “save and continue editing”, but it comes up blank. If I manually enter a slug (and do everything else exactly the same), the automatic generation of the keywords kicks in just fine.
2) If an autometa attribute already has been added to an article, there seems to be no way to have the plugin regenerate the tags again. The update button doesn’t seem to do anything different than saving the article again. To me, the update button should regenerate the keywords. Perhaps, if there are already words there, a dialog should appear confirming that you wish to replace the existing ones with auto ones.
Maybe that’s the way that button is supposed to work, but whatever is causing my slugs to not appear could be messing with your plugin. I’m still fairly new to WordPress and I’m experimenting with a lot of plugins to find the ones I like and don’t. I’m willing to work with you to help troubleshoot this.
Thanks in advance!
I followed the directions on this page but nothing ‘autometa’ related is showing up in my wordpress admin area for plugins. I’ve tried a few times now. Anything I should be looking for that might stop it from showing up? Thanks
-Cassie
Hi Cassie, I’ve looked on your whattheblog site and can’t see any evidence of the plugin’s fingerprint, so this is purely an installation issue, which is very difficult to assist with. If you see the plugin in the list, make sure it’s activated. If it’s not in the list of plugins, then it’s a lower level issue.
I’ve been using this plugin for a while now and think it’s great.
The only feature I would really like to see (I noticed it was on the list of things to do) is default tags for non article pages. I’ve hacked the source for now but it would be nice to just use the plugin as is.
I love this plugin, how ever I am interested in knowing how to use it to create related posts when viewing a single post based on the contents of the auto-generated tags (much like the ones you have on your website). Could you please give some information on how to do something like that? Thanks for your plugins.
Awesome concept.
I’m having some difficulties with it, though – I can’t seem to make it work. I can’t figure out what I could possibly be doing wrong! I set it up, followed the directions, and nothing. I wouldn’t consider myself tech-unsavvy, either – but why it isn’t working is beyond me
My install of wordpress is a little weird, though – I have a lot of trouble with LJ-Xpost too.
I’ll keep poking at it, though – this is the only worthwhile technorati tag plugin I’ve seen
–Kristin
Nevermind! Of course now that I’ve said it wasn’t working, it’s started working.
Did you build it with a sense of humour?
Anyway, it works like a charm, now. Thanks for the awesome plugin!
–Kristin
I changed my theme and the autometa tags vanished. I’m on WP 2.0.3 and Autometa 0.8. And if I go back to the first theme I used with Autometa, it returns.
Just upgraded to 2.0.4 and that didn’t fix it. I see the meta keywords in the code but not the technorati links that used to appear at the bottom of the page.
Works just great – thanks!
Cool and useful
Backslashes at end of word (/\w\\/) in the text cause autometa (0.7v) to barf with database errors. I had to deactivate the plugin to get such a post to save.
The backslash doesn’t get escaped, so when it is passed into a SQL statement, it is treated like it is escaping the quote character in the SQL:
WordPress database error: [You have an error in your SQL syntax near ''word\') as score FROM wp_posts where id=60' at line 1]
SELECT MATCH(post_content, post_title) against (‘word\’) as score FROM wp_posts where id=60;
Nice plugin…
Does the work for post but not for the main page, perhaps aggregating the meta for the post of main page could be used to generate the meta keyword for the main page, even though this content will change very often.
I did not read all the post but there is only the meta tags keyword that is generated how about
description
abstract
robot
…
is there any option that can enable these, or this feature does not exist yet…
i’ll take a look at the code to see if i can draw something from it.
Thanks for the great work…
Cheers
Re my problems with 287-288, is there a way to do a complete uninstall so that all Autometa stuff is removed from the database, too? I would like to attempt a complete clean re-install.