Y.A.S.D.

weblogger.el × Roller

weblogger という Emacs package があるらしいので使ってみたところ,動かなかった。

軽く追っかけてみたところ,Roller は <methodResponse> に xmlns:ex="http://ws.apache.org/xmlrpc/namespaces/extensions" という attribute をつけて返すみたいなんだけど,xml-rpc.el の xml-rpc-clean<f> が attribute をうまく処理できてないようだ。

こんな感じでとりあえず post できるとこまでこぎ着けたけど,まだ問題が...

  • HTMLタグが書けないぽい。書くと post 時にエラーになる。仕様っぽい? でも致命的。
  • Subject: に何か書いても,本文の冒頭がエントリタイトルとして使われちゃう。
--- xml-rpc.el.orig     2008-11-16 17:24:23.303673000 +0900
+++ xml-rpc.el  2008-11-16 17:54:01.583264000 +0900
@@ -515,7 +515,7 @@

 (defun xml-rpc-clean (l)
   (cond
-   ((listp l)
+   ((and (listp l) (listp (cdr l)))
     (let ((remain l)
          elem
          (result nil))
@@ -573,7 +573,7 @@
                                (buffer-substring errstart (point-max)))))

                        ;; Maybe they just gave us an the XML w/o PI?
-                       ((search-forward "<methodResponse>" nil t)
+                       ((search-forward "<methodResponse" nil t)
                         (xml-rpc-clean (xml-parse-region (match-beginning 0)
                                                          (point-max))))
 

Comments:

I'm an extremely faithful Nike Dunk Sb admirers, thus I'm so love this viewpoint from the perfect blog. Maybe most people are put on Nike Shox Deliver in the everyday life. Owing to the article that brings me various sense about this Air Jordans. How grateful to see what you have been shared on the internet. Wish you much better.

Posted by Nike Dunk Sb on July 29, 2010 at 11:21 AM JST #

Post a Comment:
  • HTML Syntax: Allowed

[Masubi]
Copyright © 1998-2009 Tomoaki TSUMURA. Powered by Apache Roller 4.0.1.
tomoaki@tsumura.info