Simon Willison’s Weblog


8 items tagged “ixr”


Testing a new version of IXR

Almost two years to the day since the last release, I’ve put together a new version of IXR, my PHP XML-RPC library. I haven’t published it on the site just yet as I want to make sure any bugs are ironed out first, but you can grab a copy here:

[... 177 words]


IXR 2.0

Harry Fuecks has been hacking on my XML-RPC library, and has released a new version with some significant changes. His article on phpPatterns describes the changes and provides a link to download the updated code. He’s made a bunch of interesting architectural changes which take advantage of a number of useful PEAR classes, including HTTP_Request which provides support for proxies and authentication, two frequently requested features.

[... 127 words]

Minor bug fix in IXR

I’ve fixed a small but vital bug in the Incutio XML-RPC library. The library was causing errors when certain unicode characters were used in strings. This is because I was using PHP’s htmlentities() function to encode strings before transmission. This escapes all of the characters that need escaping (<, >, &, " and ’) but also escapes a number of other characters that have an HTML entity equivalent. The problem is that these additional entities are defined in HTML but not in XML, so XML parsers were choking on them when they tried to parse the resulting message. I’ve fixed the bug now by switching to using htmlspecialchars() instead. Thanks to the several people who reported this one (it took me a while to figure out) and to Marc Logemann who’s blog entry finally helped me crack it.



I haven’t been checking my referrer logs recently, so it was a nice surprise to see that Richard from Incutio has finished redesigning his blog and is now back to updating it frequently. He also has Pingback (implemented using IXR) and is pinging when he updates.

Pingback test

Aquarionics is now PingBack enabled, and he implemented it using IXR. Yay!

IXR forum

The Incutio XML-RPC Library for PHP (IXR to its friends) now has a forum. The forum is powered by incForum, Incutio’s very own forum software written by my colleague Tim.

New version of IXR

Announcing beta 1.5 of IXR, the Incutio XML-PRC Library for PHP. The library has undergone a complete restructuring and has a much cleaner design as a result. It also has a huge stack of new features, including:

[... 96 words]

New IXR soon

I was up most of the night working on a new version of my XML-RPC library (newly named IXR, for Incutio XML-RPC). I should have it ready for release some time today—it implements most of the extensions I’ve linked to over the past few days and has a much cleaner object structure than the first version, while maintaining the ability to implement a server or client in as little code as possible.

[... 118 words]