Quantcast
Viewing latest article 45
Browse Latest Browse All 117

XML error for WordPress iPhone

I was attempting to add my blog, and my various corporate blogs, to the recent WordPress iPhone Application but kept getting the following error:

“XML-RPC Service for you blog cannot be found”

The Support Page alluded to a missing XML tag, but did little to answer how to fix your templates (and switching to a classic template allowed my blog to sync just fine), but didn’t offer a solution. It’s easier than you think, and there’s a couple ways to do this:

  1. Edit any header files you use on your WordPress theme (could be the default header.php or multiple custom ones like me), and add the following above your closing head tag (the </head> tag): <?php wp_head(); ?>
  2. Go to your Appearance page in your blogs Admin, (as of WordPress 2.7) and select one of the default themes. Activate that theme, then connect your iPhone. Once you’ve connected, you can switch right back.

Make sure that you have XML-RPC check boxed in your Settings > Writing Panel for XML-RPC to work! All the iPhone app needs is the ability to find, in your code, that unique XML ‘edituri’ address for it’s records. Once it’s there, it won’t check again. Enjoy!

Update: for those of you with continued issues (possibly from not using the wp head template tag by choice, where I use html instead of xhtml), make sure your rel=”EditURI” is spelled exactly that way. By exactly, I mean with that same capitalization, or else the app will not read it


Viewing latest article 45
Browse Latest Browse All 117

Trending Articles