How to make ecto work with Ultimate Tag Warrior
by Robin Lu on Dec.29, 2005, about ecto, hack, keyword, plugin, tag, UTW, wordpress
I once wrote about “How to make ecto work with Jerome’s Keywords“. Unfortunately, Jerome’s Keywords does not work well with WordPress 2.0. With suggestion from Meng Yan, I switched to Ultimate Tag Warrior. Again, I met the problem of how to make ecto work with it. Here’s the solution.
- make sure Ecto is using Movable Type API to contact with your wordpress. You can check it out in the Account settings.
- set up the template of tags in Ecto. Set the “Tag separator” as “,” which is the default setting and “Put tags in” as “keywords” which is NOT the default setting.

- update the xmlrpc.php in the directory of your blog system. add the following line into the function mw_newPost and mw_editPost after where $content_struct is initialized:
$_POST['tagset'] = $content_struct['mt_keywords'];
Here’s the sample code to show where to make the modification (below the comments “ROBINLU HACK”):
/* metaweblog.newPost creates a post */
function mw_newPost($args) {
global $wpdb, $post_default_category;
... ...
$post_excerpt = $content_struct['mt_excerpt'];
$post_more = $content_struct['mt_text_more'];
// ROBIN LU HACK
$_POST['tagset'] = $content_struct['mt_keywords'];
$comment_status = (empty($content_struct['mt_allow_comments'])) ?
... ...
}
... ...
/* metaweblog.editPost ...edits a post */
function mw_editPost($args) {
global $wpdb, $post_default_category;
$this->escape($args);
$post_ID = $args[0];
... ...
$post_title = $content_struct['title'];
$post_content = apply_filters( 'content_save_pre', $content_struct['description'] );
$catnames = $content_struct['categories'];
// ROBINLU HACK
$_POST['tagset'] = $content_struct['mt_keywords'];
$post_category = array();
... ...
}
Update: See Part II to get ecto fully functional with UTW.
6 Comments for this entry
36 Trackbacks / Pingbacks for this entry
-
Ecto and the Ultimate Tag Warrior at Blogalistic
January 17th, 2006 on 9:34 pm[...] Robin Lu has a tutorial on how to make Ecto work with UTW. I haven’t tried it yet, but if it works it will lure me away from Performancing, because that’s my one issue with it. Search [...]
-
Better Archives at Seb Payne
March 11th, 2006 on 9:41 pm[...] EDIT: After Googling, Robin Lu describes how to use Ecto with UTW which works fine. This is wonderful! Socially Bookmark Better Archives [...]
-
CLiFF::BLOG » Blog Archive » How to make ecto work with Ultimate Tag Warrior
March 24th, 2006 on 9:34 am[...] Robin Lu: “I once wrote about <How to make ecto work with Jerome’s Keywords>. Unfortunately, Jerome’s Keywords does not work well with WordPress 2.0. With suggestion from Meng Yan, I switched to Ultimate Tag Warrior. Again, I met the problem of how to make ecto work with it. Here’s the solution.” [...]
-
Welcome to WordPress at bioneural.net
March 30th, 2006 on 5:46 am[...] Complete tagging as per Robin Lu’s hack to make UTW work with ecto [...]
-
Yellow Swordfish » Tagging Ecto
April 1st, 2006 on 3:53 am[...] Which is why I want to thank Robin Lu. Copy his code amendments and follow his simple instructions and ecto can handle the tags as if they were built in. An excellent and simple fix for a nagging problem. [...]
-
pollas.dk » Blog Archive » UltimateTagWarrior and ecto
April 11th, 2006 on 3:20 am[...] Robin Lu made it work by providing some xmlrpc.php hacks: Part 1 – part 2. [...]
-
Kelly’s World- A View into the mind of Uber Geek, Kelly Adams » Blog Archive » Ultimate Tag Warrior, Ecto, and other fun things
May 7th, 2006 on 6:42 am[...] Robin’s hack (part 1), as I understand it, basically relies on the function of a feature in Ecto which supports embedding tags as keywords instead of within the “normal” body of the HTML. I imagine this works great in the Macintosh version of Ecto- in the Windows version, it doesn’t quite work. Ecto still includes all of the HTML comments and such along with the tags when you choose the “Keywords” option, so you end up with tags that look like: [...]
-
scottlowe.org » Blog Archive » Site Search Tags
June 22nd, 2006 on 7:36 pm[...] In searching for an answer, I came across this plug-in. Additional research showed me to how make ecto work more fully with this plugin by placing tags in the keywords for the post; those instructions can be found here and here. It was bit unnerving to be editing the xmlrpc.php file, but everything seems to work just fine now, and ecto happily places the tags in the keywords as it is supposed to. [...]
-
Постоянство ☯ Перемен :: Тестирую Blogging Bundle for TextMate
June 27th, 2006 on 9:04 pm[...] [Upd 27.06.06 16:49:57] Прикрутил на стороне сервера, ох как прикрутил: поставил Ultimate Tag Warrior, чуть хакнул по совету Robin Lu xmlrpc.php на стороне сервера, и чуть хакнул blogging.rb на стороне клиента (Blogging Bundle for Textmate). Руки бы им всем поотрывать за такой пофигизм. Теперь про патчики не забыть для svn и будущего апдейта WP. Вот ведь блин, программеры, мне, давно уже не программеру проще за час разобраться что к чему и исправить ситуацию, чем у них что-то спрашивать и убеждать. Издержки опенсорс. [...]
-
links for 2006-07-11 | klyx.net
July 11th, 2006 on 4:31 pm[...] Make ecto work with Ultimate Tag Warrior ecto and UTW for WP (tags: wordpress plugins ecto blogging) [...]
-
Windows Live Writer and Ultimate Tag Warrior at David Brunelle: Geek for Life
August 22nd, 2006 on 12:47 pm[...] Edit your xmlrpc.php file according to the instructions listed on a post by Kelly Adams. Robin Lu also has some good information for editing your xmlrpc.php file. (Note: The purpose of the xmlrpc.php hacks created by Robin and Kelly were intended to add Ultimate Tag Warrior functionality to Ecto – but it works even better for Writer). Here’s my xmlrpc.php file for reference. [...]
-
Windows Live Writer and Ultimate Tag Warrior - Bharath Kumar
August 22nd, 2006 on 11:05 pm[...] I use Christine’s kickass Ultimate Tag Warrior plugin for tags on my blog. Infact my theme, K2 comes prepackaged with support for UTW. So, this goes to all the K2 users using Windows Live Writer too. David Brunelle wrote how to make these two killer applications work together based on some existing hacks. His hack involves editing WordPress xmlrpc.php to add Ultimate Tag Warrior functionality to Windows Live Writer and use its inbuilt keywords section to convert them to tags. This works, but I am not comfortable with the idea of editing any WordPress files. No offence to David here but there is a simple way for adding tags using Ultimate Tag Warrior and Windows Live Writer. [...]
-
Nontrivial Exercises » Blog Archive » Ultimate Tag Warrior WordPress Plugin and Ecto
September 16th, 2006 on 12:06 pm[...] But the great thing about using an opensource, highly extensible blogging platform is that the community can figure out how to make things work the way we want them to. Robin Lu from China has experimented with WordPress’s xmlrpc file and has identified a few small modifications that will enable ecto tag integration with UTW. Be sure to see both part 1 and part 2 of Robin’s hack. [...]
-
Wordpress, Tagging and TextMate at remy sharp’s b:log
October 1st, 2006 on 7:12 am[...] Step 1: How to make ecto work with Ultimate Tag Warrior. Step 2: How to make ecto work with Ultimate Tag Warrior – Part II [...]
-
rocktreesky » Journal Entry
October 5th, 2006 on 4:53 am[...] The big deal for me was how these things handled my categories. I am a big tagger vs a categorizer and I was curious to see what they did with tags. On my WordPress site I use a few categories and then the Ultimate Tag Warrior (UTW) plugin for all the rest. The Drupal site is set up only for free-tagging. Neither one picks up my WordPress tags but Live Writer doesn’t see anything at all on my Drupal site while Ecto pulls them all up as categories. Now I can’t add a new “category” tag to a post that doesn’t already exist but it is really nice to be able to pick from ones I already have at least. Ecto also makes it easy to add Technorati tags to your post. If you do a few mods you can use them to add tags to UTW on WordPress. Live Writer has something called keywords that don’t add tags by default but there are some plugins out there that will do some tagging with them and you can similarly hack a bit to get Live Writer working with UTW. There is a different tagging plugin for WordPress that will let you add tags using both Live Writer and Ecto but I already use UTW and really don’t want to change so a few mods are worth my time. [...]
-
Getting Ecto to work with Ultimate Tag Warrior at My Continuing Adventures in Technology…
November 2nd, 2006 on 12:10 am[...] However, after pointing ecto at my WordPress blog, a couple of hiccups became apparent, most noticeably that ecto’s support for tagging posts involves placing the tags in the body text of the post, rather than using them as metadata. I use the Ultimate Tag Warrior plugin for tagging in WordPress, and guessed that I can’t have been the first person to try and make ecto and UTW work in harmony. A quick google search confirmed my suspicions; Robin Lu has written a fantastic tutorial (part two here) that explains very clearly how to set up ecto and hack WordPress’s xmlrpc.php file to get the two to talk to each other. [...]
-
Productivity (?) software—Endo RSS and Ecto weblog-editor (Mac) at “Ceci n’est pas…” by Vincent van Wylick
November 4th, 2006 on 7:21 pm[...] Ecto Ecto is a great weblog-editor, as I said, chosen from a fairly extensive selection of editors on the Mac-platform. After a week, i can say that I’m a happy user because I was pretty much able to solve every problem, but a few. One thing, I’m proud of is the ability to add tags to my post, which required some php-hacking in the wordpress-code, but now works flawlessly. One thing, I don’t get yet is the ability to upload linked pictures, i.e. the kind that you click on and they open a url, though I’m sure it’s possible. But that’s the fun of using a new application, it allows for some exploring. Other than that, a great weblog-editor. [...]
-
I’m a Richardson Daht Cahm
January 1st, 2007 on 12:28 pm[...] Just came across this article (and part 2, too) for getting Ecto (my favorite blog editor) to use UTW tags in your posts. Eureka! Save this?These icons link to social bookmarking sites where readers can share and discover new web pages. [...]
-
I ecto therefore I blog » ganyet.com
January 12th, 2007 on 7:48 am[...] Second step: Tag support This meant pushing ecto a little bit further. I couldn’t blog without the Ultimate Tag Warrior plugin. Would ecto support tagging? I googled for ecto+wordpress and I came across Robin Lu’s hack to make it work. It involved hacking the xmlrpc.php WordPress file. Lu’s instructions were clear so here I am. [...]
-
RUDEWORKS » Archivo » ¿TextMate o ecto?
January 18th, 2007 on 10:58 pm[...] Desde el principio él me ha recomendado ecto como la herramienta fundamental, dado el alto nivel de configuración y edición que aporta. Lo he probado (el post anterior está publicado con dicha herramienta) y la verdad es que no me ha decepcionado en absoluto, es versátil y bastante veloz, además, con un pequeño hack, lo haces compatible con Ultimate Tag Warrior (herramienta absolutamente indispensable a partir de ahora). La única pega que le he sacado son los botoncitos, me explico: cuando me pongo a escribir, quiero escribir y punto, ver tanto boton por aquí y por allá me despista y, al final, acabo tardando más en poner un link que tecleándolo de primeras. [...]
-
Suave’s Blog » » blog with ecto
January 26th, 2007 on 11:49 am[...] How to make ecto work with Ultimate Tag Warrior How to make ecto work with Ultimate Tag Warrior – Part II [...]
-
Circle Six Blog » Blog Archive » UTW-RPC v1.1 and the AutoTag Bundle
January 28th, 2007 on 8:53 am[...] 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. [...]
-
Getting Ecto to work with Wordpress 2.1 - another how-to at “Relax, it’s just a weblog!” by Vincent van Wylick
January 29th, 2007 on 3:27 am[...] Incidentally, if you want Ecto to work with Tags, such as used by Ultimate Tag Warrior (which also communicates with Technorati!), I can confirm that the how-to here also works with WordPress 2.1. [...]
-
Testing tags with ecto at Karakui.com
January 29th, 2007 on 4:28 pm[...] I haven’t been using ecto much to post entries to Karakui but maybe this hack by Robin Lu will do the trick. Here goes nothing… [...]
-
vbali blogja » WLW, UTW és WP xmlrpc hack
March 2nd, 2007 on 2:37 am[...] információk:Windows Live Writer and Ultimate Tag WarriorHow to make ecto work with Ultimate Tag WarriorHow to make ecto work with Ultimate Tag Warrior Part II Kategóriák: Code, Blog, Tool [...]
-
blog.scottlowe.org » Blog Archive » WordPress Upgrade
March 5th, 2007 on 7:04 pm[...] that weren’t compatible with the newer versions of WordPress. Combine that with some manual hacks I’d performed to help ecto work better with the Ultimate Tag Warrior (UTW) plugin, and you [...]
-
MarsEdit, ecto und TextMate mit Ultimate Tag Warrior zum laufen bringen at Grimaldello
May 11th, 2007 on 2:08 am[...] konnte man mit Hilfe des Robin Lu Hacks dieses erreichen – das war aber immer mehr als umständlich, jedes mal selber Hand anzulegen, wenn [...]
-
Weasel™ » Blog Archive » How to make ecto work with Ultimate Tag Warrior
May 28th, 2007 on 2:26 am[...] How to make ecto work with Ultimate Tag Warrior Be sure to follow the instructions in both parts so you have the tags from WP written back to ecto! [...]
-
TextMate tagging with WordPress 2.2 at remy sharp’s b:log
June 12th, 2007 on 5:40 pm[...] Step 1: How to make ecto work with Ultimate Tag Warrior. [...]
-
TextMate Tagging with Simple Tagging
July 22nd, 2007 on 7:39 am[...] certain if you follow the instructions in the xmlrpc section, and follow the first two steps from Robin Lu’s – How to make Ecto work it should enabling [...]
-
links for 2007-08-13
August 14th, 2007 on 12:21 am[...] How to make ecto work with Ultimate Tag Warrior » 石锅拌饭 | 互联网 Mac & 软件开发 Ultimate Tag Warrior와 ecto를 조합한 태그 입력방법 (tags: wordpress tag ecto) This work, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 2.0 Korea License. [...]
-
Grimaldello » Ultimate Tag Warrior mit MarsEdit, ecto und TextMate zum laufen bringen
September 28th, 2007 on 1:42 am[...] konnte man mit Hilfe des Robin Lu Hacks dieses erreichen – das war aber immer mehr als umständlich, jedes mal selber Hand anzulegen, wenn [...]
-
A Xmas spent upgrading bioneural.net at bioneural.net
December 28th, 2007 on 1:04 am[...] 3 to work with WordPress’s new integral tagging system (ecto 2 did work with UTW and some hacks to [...]
-
Yellow Swordfish » Blog Archive » Tagging Ecto
January 13th, 2008 on 8:37 pm[...] is why I want to thank Robin Lu. Copy his code amendments and follow his simple instructions and ecto can handle the tags as if they were built in. An excellent and simple fix for a nagging [...]
-
Pokye » Blog Archive » Tagging Ecto
October 4th, 2008 on 12:11 am[...] is why I want to thank Robin Lu. Copy his code amendments and follow his simple instructions and ecto can handle the tags as if they were built in. An excellent and simple fix for a nagging [...]
January 10th, 2006 on 4:33 pm
Thanks so much for publishing this hack!
January 11th, 2006 on 3:03 pm
Jerome’s Keywords has been updated to work with 2.0.
Though it may not be as robust as UTW.
May 14th, 2006 on 6:11 am
Hello Robin,
thank you so much for this wonderfull hack. I was nearly getting confused about no tagging with ecto. But I like this Editor so much. Then I found your Site and your hack and all my problems went away.
Thx and have fun.
June 26th, 2007 on 9:47 pm
Dear Robin,
I’m trying to add tags with ecco but it doesn’t work. I did complete step 1 and step 2. When I add tags through the wp-admin I get the right tags for each post into ecco, but when I try to make a new post and add tags with ecco they won’t appear on my website. Using WP 2.2.. Any thoughts?
December 16th, 2007 on 12:12 am
very interesting, but I don’t agree with you
Idetrorce
December 20th, 2007 on 3:35 pm
I would like to see a continuation of the topic