| « Res publica | Getting over a relationship, the mathematical way » |
BlogDesk and b2evolution
BlogDesk is my latest greatest discovery. I've tried multiple blog clients, among them - Windows Live Writer, w.bloggar, dotPost, and maybe a couple of others. BlogDesk is definitely the nicest of them all.
It didn't work out of the box, for some reason, b2evolution (the blog engine used on this site) is not included in the list of supported blogs (which is definitely a show stopper for the inexperienced end-user). Knowing that b2evo supports the MetaWeblog API, I knew that BlogDesk should work with it (this is the beauty of developing standards and then creating standards-compliant products).
Initially, it didn't. The problem was fixed easily, after I contacted the author of BlogDesk (and received an instant reply, wow!). The program's built-in logging mode allowed me to understand that out-of-the-box, b2evo's XMLRPC communication mechanism will also send some debugging information along with the reply to the requests that come from the blog client. That debugging information was not parsed correctly, resulting in an error - thus the inability to use the software.
If you've encountered the same problem, you should edit /xmlsrv/xmlrpc.php in b2evo's folder, and comment out all the calls to the xmlrpc_debugmsg function. Once you do that, everything should work.
Update: In b2evolution 2.x, the following file must be edited: /inc/xmlrpc/apis/_metaweblog.api.php
This is the first post I make using BlogDesk, I'll definitely stick to this program. I'd like to thank Johannes Oppermann, the program's author, for creating such a nice product and giving it away for free. I'm impressed.
P.S. So far I was unable to post entries that contain Russian or Romanian characters using this tool, I'm still working on that.
6 comments
So please excuse my bad english.
I try to get blogdesk working with b2evolution since a few hours... Without any success... Now I found your blog...
Can you explaine me in "simple words" (not for specialists" ;o), what this means:
"and comment out all the calls to the xmlrpc_debugmsg function"
Or what I have to do exactly in this file?
This would be a great help to me and very kind of you!!!
Thank you very, very much. :o)
I know the error you're dealing with, I have it too on one site I manage. If I pictured things correctly, that is a different error, not the one which is solved by "commenting the lines".
The error occurs on 1.9, but on 1.8 (this site) everything is fine. I've used some troubleshooting tips from the author of BlogDesk, and I suceeded in determining that BlogDesk works fine, and concluded that the problem is on the server side.
And now I am sure about it, since you're saying that you have the same error with another version of b2evolution.
Commenting out the lines means the following; picture that you have this line in the file
xmlrpc_debugmsg(......);
It should become (notice '//' in the beginning):
//xmlrpc_debugmsg(......);
Sometimes the function call is split into multiple lines:
xmlrpc_debugmsg(....
........);
In this case you should comment both lines
//xmlrpc_debugmsg(....
//........);
You can find all these lines by searching for "xmlrpc_debugmsg" in this file on the server /xmlsrv/xmlrpc.php
I'll send you an email, if you're not sure how to do that, and if there is no programmer around (a programmer is familiar with comments in code), you can send me the file and I will apply the changes.
LiveWriter generates a lot of redundant tags, and I can't edit the article in the web-interface once its uploaded by LiveWriter (b2evo won't accept the changes because of the existing redundant tags which were accepted only via XML-RPC).
FCkeditor requires experimenting with b2evo itself on the server, i never tried that.
BlogDesk is the way to go, having a very simple configuration. Perhaps you have some specific questions about one setting or anotheR?
Thank you for your help. The solution for me was slightly different, since I was using b2evolution 2.4.2 and BlogDesk 2.8.
The problem for me arrived when I was trying to download the categories. The error message say something about a non valid comment in line 23.
The solution was comment out the xmlrpc_debugmsg calls to, but in the file:
/inc/xmlrpc/apis/_metaweblog.api.php.
Cheers.
Thanks
This post has 41 feedbacks awaiting moderation...