WordPress.org

Ready to get started?Download WordPress

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Windows Live Writer Help

The following article will help those using Windows Live Writer with WordPress. For more information and support, see the Windows Live Writer support forum.

Image Uploading Fails

Description: When attempting to publish a post that contains images, you get a dialog that starts with "The following images cannot be published because the weblog does not support image publishing." (Also affects Writer Beta 1.)

Reason and Solution: Very large XML-RPC requests (such as image uploads) that don't contain line breaks get truncated by the server in some configurations. Fixed in Beta 3.

Failure to Post Due to Encoding

Description: Weblog is configured to use non-UTF-8 encoding. Attempt to post results in error message “Blog Server Error. Parse error. Not well formed”. Posts from the web UI are fine.

Reason and Solution: PHP's XML parser does not support encodings besides UTF-8, ISO-8859-1, and US-ASCII. You must use one of these encodings. After changing the setting on your blog, you will need to force Writer to redetect your encoding by choosing the menu option Weblog | Edit Weblog Settings, clicking on the Update Account Configuration button, and stepping through the wizard.

Bad Behavior WordPress Plugin Fails with Windows Live Writer

Description: Blogs with the Bad Behavior plugin installed cannot be used with Windows Live Writer. Attempting to add the blog to Windows Live Writer results in a "403 (Forbidden)" error dialog.

Reason and Solution: See this blog post by James McKay for an explanation. Fixed in Beta 3.

Invalid Response With PHP

Description: On blogs running PHP 5.2.2, trying to configure the blog in Writer gives the following error: Invalid Server Response - The response to the blogger.getUsersBlog method received from the weblog server was invalid. / Invalid response document returned from XmlRpc server (Also affects Writer Beta 1.)

Reason and Solution: A bug in PHP 5.2.2 causes POST data to be dropped. See this bug report for more details. As a workaround, add the following line to the top of your xmlrpc.php file:

$HTTP_RAW_POST_DATA = file_get_contents("php://input");

Non-ASCII Characters Render Incorrectly

Description: On WordPress 2.1+ and PHP versions older than 5.0.2, publishing posts using Writer results in non-ASCII characters showing up as either squares or question marks.

Reason and Solution: Writer erroneously prepends the UTF-8 Byte Order Mark to XML-RPC requests that are UTF-8 encoded. This prevents WordPress from correctly detecting the UTF-8 encoding declaration, so ISO-8859-1 is assumed instead. Fixed in Beta 3. After upgrading to Beta 3, reconfigure your blog via Weblog | Edit Weblog Settings | Update Account Configuration, and step through the wizard.

Unable to Open WordPress Posts in Windows Live Writer

Description: Attempting to open posts in Writer results in ArgumentOutOfRangeException.

Reason and Solution: A bug in Writer causes blog post parsing to fail when the post contains pre, script, and/or style tags. Fixed in Beta 3.