The Aristophrenium

Proclaiming the truth of the gospel and the centrality of Christ in all things

Friday

13

January 2012

1

COMMENTS

Windows Live Writer issue with WordPress

Written by , Posted in Site News

It took a couple of days of searching—mostly due to struggling with how to formulate the right search string, putting my Google-fu to the test—but I finally discovered the solution for WordPress stripping the angle brackets ‘<’ and ‘>’ from incoming code published remotely using Windows Live Writer. So when I publish this:

<p>Wit is educated insolence.</p>

What ends up getting published is this:

pWit is educated insolence./p

It seems that the problem is produced by a bug in the version of the LibXML2 software library that our site is running, which mangles XML-RPC requests when parsing XML. If you are running anything less than PHP version 5.2.9+ with LibXML2 version 2.7.3+ then you are likely to experience this problem. (Obviously this sort of stuff is way over my head, so you can see why I struggled with my searches.)

I talked to the technical support staff with our web hosting company but they were either unable or unwilling (I could not interpret which) to update the version of PHP and LibXML2 that we are running.

But surely there had to be some kind of fix available.

And there is!

Thanks to Joseph Scott and JoeWare.net the solution is very simple. Scott wrote a WordPress plugin that magically fixes the problem. From the Plugins menu at your WordPress dashboard, click “Add New” and search for LibXML2 Fix. Or you can click on the following link to download the plugin:

http://wordpress.org/extend/plugins/libxml2-fix/

Many thanks to WordPress Answers, Joseph Scott, and JoeWare.net!

  • http://www.mjhinton.com/help/ mjh

    I can’t thank you enough. This problem appeared spontaneously on two of my blogs with one host but none with a different host. I ended up moving one of the blogs and sat down tonight to move the other — now I don’t have to. Thanks again. Happy New Year! peace, mjh