Due to the native tag support in WordPress 2.3, and much improved support for WordPress in later versions of Windows Live Writer, Keyword Tags has been discontinued as of September 2007.
For existing users I am providing an import module that will import Keyword Tags values into the new WordPress 2.3 tag system.
Thank you to everyone who downloaded, used, and gave feedback on Keyword Tags.
This is my first WordPress plugin. It adds keyword/tagging capabilities to WordPress 2.1 and higher and enables advanced options for blogging tools that use the MetaWeblog API, such as Windows Live Writer or Ecto.
Features include;
- Adds Keyword/Tagging ability to WordPress.
- Keyword/Tags can be edited via the WordPress interface, or inserted using a tool such as Ecto / Windows Live Writer that support keywords.
- Keyword/Tags can be automatically displayed in posts or feeds without editing Theme files.
- Static WordPress pages (e.g. ‘About’) can be edited via Ecto / Windows Live Writer.
- Drafts can be moved to the top of the list in Ecto / Windows Live Writer to avoid sorting problems.
- Automatically create meta keyword header from tags for SEO purposes.
- Fixes a bug in Windows Live Writer Beta 2 that prevents posts with multiple <pre>, <script> or <style> tags being viewed or edited.
Download Keyword Tags for WordPress 0.85!
Background
Shortly after it was first released I started playing with Windows Live Writer which is a superb little tool designed to allow easy publishing/editing of a blog from a desktop PC.
I’m a big fan of WordPress and while the support for it within WLW was good, it wasn’t perfect. The first thing I noticed was keywords. While WLW has a very inviting box for entering keywords one of the minor negatives of WordPress is it does not offer support for associating keywords or tags with blog posts. These Keywords, or Tagging, can be crucial to using a service such as Technorati and various WordPress users have attempted to resolve this via plugins using two different methods;
Several plugins exist for Windows Live Writer that allow the user to insert tags into the body of the post, but I wasn’t happy with this approach. Firstly WLW already has this great little "Keywords" box that is just BEGGING to be used!
Secondly, Keywords/Tags are meta data and should be stored as such. This allows them to be easily processed (e.g. generating a tag cloud for a website) and more flexibility in how they’re displayed. For example while any item on the frontpage of http://www.andrewgrant.org/ may contain tags, for design reasons only tags for the main post are displayed.
So I sat down one weekend and wrote this plugin. After I created the initial version I found there were a few other things that did not quite work properly between WordPress and Windows Live Writer so I’ve tried to address these. I hope you’ll give it a try and let me know what you think.
Usage
- Create a folder named ‘keyword-tags’ in your wordpress/wp-content/plugin directory. The hierarchy should look like wordpress/wp-content/plugins/keyword-tags.
- Unzip the contents of the zip file into this directory.
- Within WordPress, go to the plugin menu and activate Keyword Tags.
After completing this you should then be able to go to the Options menu and choose "Keyword Tags" to configure the plugin. The options should mostly be self-explanatory, users of BunnyTags will probably want to change the Metafield for keywords option to ‘tags’ as this will enable backward compatibility with existing tags.
By default Keyword Tags will be automatically appended to posts and feeds, formatted for the WordPress ping service, although this can be changed to Technorati within the options panel.
If custom display behavior is required then automatic display of keywords can be turned off and manually controlled within a theme using a simple API. To display a single line of tags using the formatting specified within the options menu, the following PHP code should be placed within a theme where a post is displayed;
kwt_print_keyword_string();
Keyword Tags allows the user to specify the text that’s displayed between, before, and after tags within the options menu. Alternatively this can be provided to the function as parameters;
kwt_print_keyword_string(‘, ‘, ‘before, ‘after’);
Finally, in some cases the user may wish to manually control the display or formatting of keywords. Here is an example of using the Keyword Tags API within a header to build a string of keywords;
if (kwt_get_keywords())
{
$keywords = "";
while (kwt_have_keywords())
{
$keywords = $keywords . kwt_next_keyword() . ‘, ‘;
}
}
Known Issues
None I’m aware of!
There are no further features planned, over the next few weeks I will be making minor refinements and tweaks based on feedback and writing better documentation before releasing 1.0.
Note that this is both my first WordPress plugin and sizeable piece of PHP code so it’s more than likely there are various things that could be expressed better within the language or the WordPress API. Comments or suggestions welcome, drop me an email at mail@andrewgrant.org
Update: Comments are now closed. Please use the forums for discussion of Keyword Tags.
History:
v0.60
- Fixed problem where keywords could not be changed to blank for a post
- Took Deep’s suggestion of only showing the no-tag text for keyword-less posts to improve things when switching from plugins with tags embedded in posts.
v0.70
- Added option to allow editing of WordPress Pages via MetaWeblog API
- Added fix option for truncated posts in Windows Live Writer
- Added option to return drafts before posts via Metaweblog API
- Added option to use current when draft is first published (fixes a bug in WordPress when used via XMLRPC).
v0.75
- Added option to automatically create a meta-keyword statement from tags and insert it into the header of single posts and pages.
v0.80
- Added custom tag-formatting options so tags can be specified for any service
- Rewrote options class and added some Javascript for niceness
- Added compatibility options for existing users of Bunny’s Technorati Tags and Jerome’s Keywords
v0.81
- Fix for tags vanishing with comments in WordPress 2.1
v0.81
- Removed <!–more–> workaround for WLW Beta 1
- Added pre/style/script workaround for bug in WLW Beta 2
- Cleaned up options page
- Minor fixes
- Requires WP 2.1 and higher
Download
Keyword Tags for WordPress, 0.85







2006/10/07, 05:52
your blog is so good, thank you
2006/10/24, 02:22
Hey,
how would I make this plugin work with UTW? I can’t figure it out >.
2006/11/17, 11:31
I have a question here. I’m currently using Bunny’s for technorati, which is fine.
I just want meta keywords to be listed in the source code of each post. But I DON’T want these keywords to be listed on screen for the users to read.
However, when I deselect the “append keywords to each post” I don’t have any Meta Tags with those keywords in the source code… even though “For single posts create meta-keyword header with tags” is selected.
Any suggestions?
2006/11/17, 12:41
This could be a few things;
1) If you’re using Bunny’s tags have you selected that from ‘Advanced Options’ in the options menu? For BunnyTags compatibility the metafield should be ‘tags’, and the separator field empty.
2) The meta data is only shown on single-post pages, e.g. not the main page.
3) There could be another plugin that modifies headers that is causing problems.
FWIW I use exactly the same setup (no automatically appended keywords) and it works correctly for me…
2006/12/03, 12:18
Hi Andrew,
Thanks for creating this simple and effective tag solution for WordPress! I am just starting to use it and wanted to ask whether you have any code snippets or examples on how to display a tag cloud on the left or right column of the blog?
Any help would be appreciated.
Thanks,
Nick
2006/12/18, 04:30
That makes me so happy to hear!!! Good luck
2007/02/27, 08:06
Do you know if this is compatible with WordPress 2.1.1, and if it integrates with ‘Ultimate Tag Warrior”s tagging-system?
2007/03/05, 23:38
弊社は中国翻訳協会会員や日本商工会会員に所属し、中国においてはwww.qiaotrans.com 翻译公司
2007/05/13, 07:13
If using “Summary” (the_excerpt_rss) instead of “Full text” (the_content), then Keyword-tags will not add tags to the rss-feed.
2007/05/20, 17:27
Hi Andrew, great plugin! I just installed this on my site (http://metaviper.com) and am wondering if you have any suggestions on how to make this an internal tagging system within WordPress? In other words, rather than going to Technorati to see all posts related to a specific keyword, look at only posts on my site that contain that keyword. Similar to how UTW works?
Thanks for any ideas and for sharing your work with us!
-Matt
2007/05/25, 17:05
Nice plug-in, Andrew! However, when I install version 0.81 on my blog, the plug-in page still lists the version as 0.80.
Is that a problem?
2007/06/06, 11:14
Hello Andrew,
I recently switched from UTW to the “Simple Tagging Plugin” for my tagging needs and I was wondering if your plugin would work along side of it. I also use wpSEO for my meta stuff. Currently I haven’t found any of my posts that suffer from the WLW beta 2 WordPress bug (yet) but that’s basically what I would be using your plugin for–Solving this new WLW bug. I just want to make sure that it won’t interfere with my current tagging and keyword (wpSEO)system or if possible, setting up the options so they won’t argue with each other.
Don’t want much do I?
2007/06/07, 13:19
I was wondering how the enabled XMLRPC works. I’ve got it enabled, but when I view the capabilities of my Weblog within Windows Writer Live, it doesn’t show that keywords are available. Therefore, it doesn’t list them in the advanced properties section.
I was thinking that the plugin had to modify the xmlrpc file to show what capabilities it had, and perhaps it was a security issue, so I changed the file permissions and then disabled/reenabled the plugin and I still dont have the ability to use it. Using WP 2.2
2007/06/29, 07:00
FYI, does this .85 version still work with the 2.0.X version of WordPress?
2007/11/24, 02:31
This plugin looks pretty close to what I’m looking for. Except that I was using Zoundy Blog Writer to technorati-tag my posts instead of Ecto/Live Writer. My problem is now that I want to import those embedded tags into WordPress 2.3.1
Would it support those tags as well?
Many thanks,
Cheers from Bali,
Chris
http://www.nomad4ever.com
Life is what you make it!
2007/11/24, 02:55
Oops – who can read properly has surely some advantages.
Didn’t see on first look, that the plugin is discontinued. Tough luck for me then.
2008/04/09, 00:13
Andrew, thanks a million for this.
2008/04/13, 07:21
Where can I find ketword tags for wordpress compatible with version 2.0.x?