xmlrpc patch to fix problems when posting from emacs

Creating and modifying plugins.
Post Reply
TimNiceBut
Regular
Posts: 6
Joined: Sat May 17, 2008 10:56 pm
Location: Ashford, Kent, UK

xmlrpc patch to fix problems when posting from emacs

Post by TimNiceBut »

I've been using serendipity for a while and am very happy with it in general (thanks!) but I've recently run into problems when trying to use Emacs weblogger mode to post directly from Emacs to my blog. The problem turned out to be that weblogger-mode is using the mt.supportedMethods xml rpc call to work out which feature the server supports, but the server doesn't implement the call, so weblogger-mode switches to "dumbest possible" and as a result, loses information like the title when posting the new article.

Anyway, I've extended an older version of the XMLRPC event plugin to support the necessary calls and this fixes the issue (and presumably allows other offline editors that are also using the same method to work out the server's capabilities). I've converted the patch to the latest available release (1.40) and just created a diff file which can be found at http://www.bsdninjas.co.uk/scratch/[/mt ... hods.patch. Would be great if that could be included in a future release of the XMLRPC plugin.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: xmlrpc patch to fix problems when posting from emacs

Post by garvinhicking »

Hi!

That would be great, but it seems the URL you gave returns a 404?

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
sonichouse
Regular
Posts: 196
Joined: Sun May 11, 2008 2:53 am
Contact:

Re: xmlrpc patch to fix problems when posting from emacs

Post by sonichouse »

garvinhicking wrote:Hi!

That would be great, but it seems the URL you gave returns a 404?

Best regards,
Garvin
try http://www.bsdninjas.co.uk/scratch/mt_s ... hods.patch that worked for me.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: xmlrpc patch to fix problems when posting from emacs

Post by garvinhicking »

Hi!

Thanks a lot! I've just committed it to the plugin.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
TimNiceBut
Regular
Posts: 6
Joined: Sat May 17, 2008 10:56 pm
Location: Ashford, Kent, UK

Post by TimNiceBut »

Oops, sorry about the messed-up URL. Looks like beers and programming mix as well as ever...

Garvin, thanks for integrating the patch, much appreciate!
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

You passed the Ballmer Peak, didn't you? :lol:
Judebert
---
Website | Wishlist | PayPal
Post Reply