[…] This plugin has been updated and the TextMate commands have become their own bundle. Please see the new release of the UTW-RPC plugin! […]
UTW-RPC v1.1 and the AutoTag Bundle
This post is part of a series (UTW-RPC and Autotag):
Note: This post is over a year old. You may want to check later in this blog to see if there is new information.
The following links are auto-generated but may help you locate newer content:
UPDATES: Please see the download page for UTW-RPC and AutoTag!
To the sweeping sounds of “Ladies and Gentlemen, We are Floating in Space” by Spiritualized, I am proud to present version 1.1 of the UTW-RPC plugin, the companion plugin to Ultimate Tag Warrior for Wordpress 2.1, along with its new best friend, the AutoTag Bundle for TextMate.
The Plugin
To recap, the UTW-RPC plugin adds the Robin Lu hack to Wordpress without you having to edit a single file. This allows external editors, such as ecto and TextMate (and others), to make use of the mt_keywords header and therefore be able to exchange information with the Ultimate Tag Warrior plugin using the Keywords field. Adding the plugin is done by the usual means of uploading and activating. Everything else is automatic.
In addition, the plugin adds hooks into the UTW database to return the full set of tags and synonyms from the database. This allows the offline editor to handle some interesting functions.
The Bundle
TextMate, being my favorite editor, is the first to make use of this feature. The AutoTag bundle provides commands to suggest tags for your post based on fuzzy matches against your current tag database, synonyms (returning their associated tag) and the most commonly used words in your post. You can also retrieve all of the tags and select them from a popup list if you want more manual control.
The fuzzy matching uses the Porter Stemming Algorithm and basically allows multiple conjugations of a word to match against the same root. I played with a few different algorithms and this gave me the best results.
Warnings and Caveats
- The UTW=RPC plugin is for Wordpress 2.1 and is not, at this time, backwards compatible.
- The AutoTag Bundle is only tested on English language posts.
- If you are using any other plugins that override the xmlrpc, this may cause conflicts. I know of no other plugins in major circulation at this time, however. (It will not affect those that add to the xmlrpc, such as my excerpt plugin or related posts plugin)
- The AutoTag Bundle requires the new version (1.1) of the UTW-RPC plugin.
Please let me know how this works for you. If you use the plugin to develop extended support for any other offline editors, please let me know so we can keep each other up-to-date on changes.
Please see the downloads page for the latest versions.
-
01.27.07 / 6pm
-
01.28.07 / 11am
Hi Brett, It seems the AutoTag plugin is not working for me on TextMate, when I get the tags (that was correct) I can’t add them to the new post, the ‘Add’ button becomes unresponsive, no matter how many tags I got selected.
The autotag function gives me this error:
/tmp/temp_textmate.LluXwt:50: undefined method `each' for false:FalseClass (NoMethodError)Do you know what could be wrong?
-
01.28.07 / 11am
Yup, I’m thinking you don’t have any synonyms defined and I forgot to add error checking for that. I’ll put a revised version up in a little bit, but for now try just defining a synonym for one of your tags and see if it works.
-
01.28.07 / 12pm
Okay, I replaced the download link with one that adds error checking in case you don’t have any synonyms defined. Let me know if it works for you.
-
01.29.07 / 3am
For the record, we fixed RUDE’s problem through email by updating his plugin and support folders with svn. If you have any trouble with the dialog box, check to make sure your tm_dialog is up-to-date.
-
01.29.07 / 4am
[…] hack para el archivo xmlrpc.php. Pero el sábado, el amigo Brett Terpstra se sacó de la manga su plugin UTW-RPC, que permitÃa bloguear desde TextMate con soporte para UTW (¡y qué soporte!) sin necesidad de […]
-
04.26.07 / 6pm
[…] UTW-RPC Plugin: While hard to understand the Plugin description, it appears this WordPress Plugin adds UTW tags to blog editors as well as to outgoing feeds, with a lot of customization and configuration options. […]
Have your say
XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

7 Comments
Jump to comment form | comments rss [?] | trackback uri [?]