Skip to main content

Wordpress Trackbacks Not Working With Qumana

I am a new blogger.

I have discovered that blogging tools are still somewhat crude.

I chose Wordpress as my blog server-side software, hosted by Dreamhost instead of using the hosting service. Why? I already had the Dreamhost account and I wanted full control to use whatever version I wanted and to fix/enhance the software when needed. One of the advantages of an Open Source piece of software, like Wordpress, is that the user community gets to help make it better for everyone on the platform. A happy user community breeds a better Open Source product, and the cycle feeds, positively, on itself. I had dinner with Matt (Mr. Wordpress himself) at the O'Reilly Web 2.0 Conference last October in San Francisco. Wordpress has really taken off since then, so it seemed like a reasonable choice. I have been mostly happy with it. Until...

I also chose Qumana as my blog-writing client-side software. I wanted a WYSIWYG blog writing tool that allows for offline editing since I travel a great deal. I run exclusively on Apple Mac OS X. Wordpress has a list of available clients. I tried them all. Qumana is the best that's available today, but it has a number of annoying problems that I will get to in another post on another day. The current beta is free. TechCruch covers it here and here and here.

For today, I wanted to point out that, as a new blogger, the ability to send Trackbacks to articles that I comment on is pretty important. I am completely surprised that this appears to be a manual process:

  1. Visit the blog article that you are linking to

  2. Search down for "trackback" to see what the Trackback URI address is

  3. Select it and cut-and-paste, or right-clink and copy

  4. Paste it into the Trackbacks section of Qumana

OK, that's a pain, but at least it's a process with a known workflow.

The problem comes when you do "Publish Post" or "Update Post" to send your fine new article to your Wordpress server so that it can be posted, and can then ping all the trackback links for you. Wordpress 2.0.3 will not send out any of the trackbacks that you send it via the XML-RPC API that is used by blog editing software, like Qumana or MarsEdit or Ecto. When you edit the post in Wordpress, it will say "Send trackbacks to: Array". It will look something like:

Now, you are forced to:

  • Edit the article directly in Wordpress

  • Delete the "Array" part

  • Go find all your Trackback URI's again, one-by-one, as in the previous steps

  • Paste them into the Trackbacks field above, separated by spaces

  • Save the updated post in Wordpress

The worst part, though, is that after you save the post, some of the formatting is modified by Wordpress, causing the lines to wrap in Qumana in ways that you did not intend. Ugh. Fix the line breaks in Qumana and update it again. Heaven forbid if you actually added another Trackback address. I need a drink.

Annoyed, I took the morning off to fix it today.

There appears to be a bug that was opened about this issue, Ticket #1452 on Trac. The bug was opened one year ago, on June 18, 2005. It was fixed promptly by July 7, 2005, but the fix never worked. In November, Matt saw that the fix did not work and moved the resolution out to the 2.1 release (whenever that will be). I needed a fix now, so I found the problem and fixed it (the API was feeding it an "array", but the trackback code expected to get a "string" of Trackback URL's separated by whitespace). The fix was easy. Since I'm not familiar with the code, finding the fix took a couple of hours of old-school printf-style debugging.

My quick and dirty fix was as follows. Immediately after the following lines in xmlrpc.php:
$to_ping = $content_struct['mt_tb_ping_urls'];

Note that there are two lines in the file like the above line - one in mw_newPost and one in mw_editPost. You should add the following lines of code after each of them:
if (is_array($to_ping)) {
    $to_ping = implode("\n", $to_ping);

Update: As I wrote this article, I see that the Wordpress developers posted a patch for this very same problem TODAY at this link. Ah, if only I had procrastinated one more day... No matter. I learned a ton about PHP and the Wordpress architecture today. Also, their patch is completely different than mine and I have not tried their fix. Add a comment here if you do. Such is the life of concurrent software development.

Such is the life of a new blogger with fairly, ahem, "fresh" tools.

Tags: , , , , , ,


  1. [...] I’ve been using Qumana and have been mostly pleased with it. Especially given the price (free!). I wrote about my initial experiences here. Qumana has always been a bit rough around the edges, but I have found sufficient work-arounds to justify my loyalty. [...]

  2. [...] mostly pleased with it. Especially given the price (free!). I wrote about my initial experiences here. Qumana has always been a bit rough around the edges, but I have found sufficient work-arounds to [...]


Post a Comment

Popular posts from this blog

Bill Coleman Joins 3tera Advisory Board

I think this move surprised a number of people, since Bill recently wrapped up Cassatt Corproation, getting the technology and people  acquired by Computer Associates . However, I was not surprised at all. The announcement, via  3tera Welcomes Bill Coleman : You may or may not have seen the recent press realease.  Bill Coleman, IT/Silicon Valley luminary, Founder and CEO of BEA Systems, has joined 3Tera’s Advisory Board. Yes, this alone is a great testimonial to what we have accomplished in our field.  Getting dignitaries such as Bill does not come easy.  But here’s the best part - this has a lot more than just marquee value and I doubt that Bill would have joined us if that was the case.  Bill, especially since his most recent stint as Founder and CEO of Cassatt Systems, is an extremely knowledgeable visionary in the area of utility and Cloud Computing; and, data center automation. So, Bill will be extremely valuable, reviewing and tweaking both our business plans and techno

Big In Japan Open Sources Their Ruby On Rails Tools

The kind folks over at Big In Japan have graciously decided to Open Source the code they used to build their demo web sites . It's all Ruby on Rails code, and it's being released with a GPL license. The code trees being made available include: elfURL ~ URL Shortner FeedVault ~ OPML file storage FrankenFeed ~ RSS feed merger InstantFeed ~ RSS feeds via email QwikPing ~ Ping Server SocialMail ~ RSS via email Very cool. I just love the Open Source community . I have actually been writing some code of late, and it's great to have some reference code to check out. Not sure if I'm going to go with Ruby on Rails yet, however. And, for the record. I have no idea if this is big in Japan. Tags: Open Source , GPL , Ruby On Rails , Big In Japan , Brian Berliner , brianberliner

CA Acquires 3Tera – It’s About Time!

I started tracking 3Tera in August 2005. They made some amazing progress with their AppLogic release in the next 12 months and things were really starting to look good, so I wrote my first article about them in September 2006 . A couple weeks later, ReadWriteWeb called them out as well . Time passed. 3Tera was early. The market was maturing. Keep pounding away at it… Meanwhile, Cassatt Corporation, the company I co-founded in April 2003 with Bill Coleman and Dave McAlister, sold its technology assets and people to Computer Associates in June 2009 . The Cassatt team was all over scalable “cloud” computing architectures and the management thereof. CA’s acquisition, combined with some of their other aggressive moves in this space (the similar acquisitions of NetQoS, Oblicore, Orchestria, Platinum Technology, and Netreon) made it clear that CA saw some white-space for them to expand into cloud management in a big way. Next, I reported how Bill Coleman joined up with 3Tera as