Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 2 commits
  • 1 file changed
  • 0 comments
  • 1 contributor

Showing 1 changed file with 16 additions and 0 deletions. Show diff stats Hide diff stats

  1. 16  README.rst
16  README.rst
Source Rendered
@@ -90,3 +90,19 @@ There are some gotchas due to the fact that the filename can change on you.  The
90 90
 
91 91
 - You post a file without a .title or .wp_slug line
92 92
 - You post a file with a different file name than the slug that is generated (i.e., "my-first-draft" when the title is actually "my final draft")
  93
+
  94
+Troubleshooting
  95
+---------------
  96
+
  97
+You may experience some difficulties if your Wordpress installation is not generating proper XML responses. If this is the case, and you are getting errors like, "XML Parsing Error: XML or text declaration not at start of entity at line 3 col 0", then you may try the following patch to your wordpress /xmlrpc.php file:
  98
+
  99
+Wrap the wp-load.php include in PHP output buffer.
  100
+
  101
+      ob_start();
  102
+      include('./wp-load.php');
  103
+      ob_end_clean();
  104
+
  105
+This will prevent any output from being rendered before the XML is sent in the response.
  106
+
  107
+
  108
+

No commit comments for this range

Something went wrong with that request. Please try again.