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.
xmlrpc patch to fix problems when posting from emacs
-
TimNiceBut
- Regular
- Posts: 6
- Joined: Sat May 17, 2008 10:56 pm
- Location: Ashford, Kent, UK
-
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
Hi!
That would be great, but it seems the URL you gave returns a 404?
Best regards,
Garvin
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/
# 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
try http://www.bsdninjas.co.uk/scratch/mt_s ... hods.patch that worked for me.garvinhicking wrote:Hi!
That would be great, but it seems the URL you gave returns a 404?
Best regards,
Garvin
-
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
Hi!
Thanks a lot! I've just committed it to the plugin.
Regards,
Garvin
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/
# 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