window live writer wordpress出错

当出现下面的问题时:

The response to the metaWeblog.getRecentPosts method received from the blog server was invalid:

Invalid response document returned from XmlRpc server

可以用下面的方法解决:

因为wordpress本身的一个bug,在utf-8编码下,在wp-includes文件夹下, xml-rpc返回的格式不正确,缺了三个字节,要修正这个问题,按如下操作即可:
用一个文本编辑工具打开class.ixr.php,查找:
$length = strlen($xml);

替换为:<!–more –>

$length = strlen($xml)+3;

就可以解决这个问题了!

1 thought on “window live writer wordpress出错”

  1. Fantastic beat ! I would like to apprentice while you amend your web site, how can i subscribe for a blog website? The account aided me a acceptable deal. I had been a little bit acquainted of this your broadcast offered bright clear idea

Comments are closed.