Standalone WordPress posting with the OPML Editor solved…
UPDATE: Steve Jensen brings up a good point in his post - that all instances of user_login ($args[1]) and user_password ($ars[2]) need to be trimmed in order for other method calls (like “edit”) to succeed. xmlrpc.php.txt has been updated.
As long as you’re able to replace files on your WordPress install, my hack will fix the authentication problems many of us have been seeing with using OPML Editor to post to stand-alne WordPress blogs. Here’s the how-to:
- download xmlrpc.php.txt.
- on your server, make a back up of the existing xmlrpc.php file, or rename it xmlrpc_bak.php. It’s typically in the wordpress folder in your installation (look at the options screen in your admin control panel and find “WordPress address (URI)” if you don’t know where that is).
- upload the new xmlrpc.php.txt file to that location and rename it to xmlrpc.php
- set up OPML Editor’s wordPress.root Prefs to use your stand-alone blog:
- rock on.
This change will be overwritten by later WordPress upgrades and has only been tested (by me) on WordPress 1.5.2. I believe it will work just fine for anything above 1.5 but have no idea about earlier versions. I’m going to look into submitting the change for the next version of WordPress but have no idea how likely that is to happen.
Use at your own risk and your mileage may vary and all the usual disclaimers apply. Please leave comments or concerns here.
For those who care, the issue was that Dave’s xmlrpc post added whitespace to the parameters, making the username and password have a sizeable amount of whitespace before the actual values. Trimming the variables did the trick.



November 24th, 2005 at 8:20 pm
[…] See http://kinrowan.net/blog/wp/archives/2005/11/24/standalone-wordpress-posting-with-the-opml-editor-solved for details. Please comment here or there with problems, concerns, or comments. […]
November 24th, 2005 at 10:13 pm
[…] This will let you blog to any Wordpress blog. As of this writing a small tweak to xmlrpc.php is required for Wordpress.org powered sites. […]
November 25th, 2005 at 12:01 am
[…] I had to replace my xmlrpc.php with Cori Schlegel’s version. His version allowed me to create new posts, but I had to modify his version in order to edit posts. […]
December 2nd, 2005 at 6:26 pm
Well, thanks to your encouragement Cori, I tried it again and it worked. The 2nd rule of computers should be, when things are not working, delete everything and try it again. Or is it that already?
Now I hope Dave (or someone else) has the time and energy to put some more functions into the editor….
December 3rd, 2005 at 12:05 am
Posting Entries on XP
I wish there was a nice blog editor for Windows. Mars Edit and Ecto (both only available for MacOSX) are the best in the world. Too bad Ecto for windows sucks hard. I’ve even tried the new OMPL editor that Dave W. released, with his WordPress pat…