Hans Rasmussen

info@hansrasmussen.com, +46 (0)723 207008

Windows Live Writer with WordPress

image

I use WordPress as a blogging tool. Instead of logging into the administration system I can easily create my blog entries in a desktop program and publish my entry if XML-RPC and Atom Publishing Protocol settings are enabled in your WordPress blog (Settings –> Writing)

I use Windows Live Writer and my blog is in a hosted environment and therefore I can not configure server myself since configuration is shared among all users.

I noticed using WordPress 2.9.2 that I could not use any desktop program to remotely publish correctly formatted posts anymore. <> and & characters were removed from my posts and therefore rendered incorrectly. I found out that it is was caused by an incorrect usage of a library, LibXML2, associated with PHP (the scripting engine WordPress use).

To correct this problem in a hosted environment you can download a plug-in that will help you take care of this problem. http://core.trac.wordpress.org/ticket/7771

The plugin can be located here http://josephscott.org/code/wordpress/plugin-libxml2-fix/

If you still have problems (which I had), you can try to downgrade the library one version further by editing the plugin file libxml2-fix.php

Replace:

if (
    LIBXML_DOTTED_VERSION == ’2.6.27′

With:

if (
    LIBXML_DOTTED_VERSION == ’2.6.26′

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply

*