Ultimate Tag Warrior XMLRPC Plugin 1.0

Note: This post is over a year and a half old. You may want to check later in this blog to see if there is new information.

This plugin has been updated and the TextMate commands have become their own bundle. Please see the new release of the UTW-RPC plugin!

I’ve put together a plugin for Wordpress 2.1 that incorporates a few of the hacks for Ultimate Tag Warrior and blogging programs like TextMate and Ecto. It will handle adding the mt_keywords header into the new, edit and retrieve post commands. It also adds a hook for retrieving your full tagset so that in an extensible program like TextMate, you can write commands to work with tags in a few ways. With no modifications to your blogging app, however, it will still provide Keyword (tagging) functions without having to modify your xmlrpc.php file or include tag definitions in the body of the post.

I’ve created 2 TextMate commands that will provide popup menus for tagging your posts. One grabs all of your tags and lets you select them from a multi-select list to insert as Keywords, the other scans the text of your post (minus headers and html tags) and looks for matches in your tag list, providing an autotag function similar to my previous mod.

This method allows me to externalize the autotagging function and make it more extensible and accessible to people with no programming skills. I also don’t have to keep up with Christine’s releases as much. However, at this point it does limit the audience to TextMate bloggers, until someone picks up and makes it available to other platforms using the UTW-RPC plugin.

In the future I plan to add more hooks to the plugin for dealing with synonyms and other database features that may be useful to external applications. Also, the tag matching in the TextMate autotag command is very basic and overly precise (case sensitive), and I’d like to work out a fuzzy search for it, but everything I’ve tried is way too slow. If anyone has ideas for improvement, please let me know.

Installation

This plugin is for Wordpress 2.1 ONLY. Because of changes in the xmlrpc.php file between 2.0.x and 2.1, I can make no guarantees of compatibility with 2.0.

Just upload the plugin to your plugins directory and activate it from your plugins menu. It will automatically override the necessary functions in your xmlrpc.php file. If you have any other plugins already overriding the xmlrpc, it will cause conflicts, but I don’t know of any at this point.

The TextMate commands can just be uncompressed and double-clicked. Be sure that upon installation they end up in the Blogging bundle, as they will require the support files from that bundle.

Suggestions and modifications are welcome.

This plugin has been updated and the TextMate commands have become their own bundle. Please see the new release of the UTW-RPC plugin!

Download: UTW-rpc.1.0.zip

Download: TMBlogging-TagCommands.zip (Be sure these end up in the Blogging bundle)

» » » » » »
  1. jonathan 01.26.07 / 1pm

    Wow, I have hoped for this exact thing constantly since I started using TextMate. I’m still following/using tips you’re supplying on here often. Much appreciated.

  2. brett 01.26.07 / 1pm

    Sweet. I had already achieved this through a series of complicated hacks but wanted to make it as absolutely simple and non-invasive as possible so anyone could do it. Nice to know I wasn’t wasting my time ;-).

    If you haven’t already, you should check out the Related Posts plugin/TM Commands on this blog that do the same kind of thing for the Related Posts plugin. If you have Related Posts installed, it will let you search for and open a post by keyword\phrase or link to posts on your blog based on context of the selected text in TextMate. I use it so much I can’t imagine life without it, yet it’s only been downloaded a couple of times ;-).

  3. RUDE 01.27.07 / 4am

    SWEEEEEEET!!!

  4. Circle Six Blog » Blog Archive » AutoTag updated for UTW 3.141 01.27.07 / 7am

    […] 1/27/07: Development of these mods has ceased in lieu of the new xmlrpc version. Please check it out. It will only help those using offline editors, and at this point only adds […]

  5. blog.scottlowe.org » Blog Archive » WordPress Upgrade 03.05.07 / 5am

    […] I stumbled across a really helpful nugget to assist in the ecto-UTW issue.  The XML-RPC Plugin for WordPress 2.1 incorporates the Robin Lu hacks (linked above), so that ecto can store tags in the keywords field […]

  6. tweaks and other goodies » Left at Sunrise 04.25.07 / 9pm

    […] just installed this WordPress plug-in by Circle Six to hopefully fix the problem I’ve been having with Ecto and Ultimate Tag […]

Have your say

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




Safari hates me