* mixi.el (mixi-friend-nick-regexp): Follow the change of mixi.
authorbg66 <bg66>
Thu, 14 Dec 2006 09:26:20 +0000 (09:26 +0000)
committerbg66 <bg66>
Thu, 14 Dec 2006 09:26:20 +0000 (09:26 +0000)
(mixi-friend-realize): Ditto.

ChangeLog
mixi.el

index 38f8ab8..341783b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2006-12-14  OHASHI Akira  <bg66@koka-in.org>
 
+       * mixi.el (mixi-friend-nick-regexp): Follow the change of mixi.
+       (mixi-friend-realize): Ditto.
+
+2006-12-14  OHASHI Akira  <bg66@koka-in.org>
+
        * mixi.el (mixi-object-p): Check whether class is symbol.
        (mixi-read-object): New function.
        (mixi-cache-file-regexp): New regexp.
diff --git a/mixi.el b/mixi.el
index d998774..266e4b5 100644 (file)
--- a/mixi.el
+++ b/mixi.el
@@ -692,7 +692,7 @@ Increase this value when unexpected error frequently occurs."
   `(concat "/show_friend.pl?id=" (mixi-friend-id ,friend)))
 
 (defconst mixi-friend-nick-regexp
-  "<img alt=\"\\*\" src=\"http://img\\.mixi\\.jp/img/dot0\\.gif\" width=\"1\" height=\"5\"><br>\n\\(.*\\)¤µ¤ó([0-9]+)")
+  "<img alt=\"\\*\" src=\"http://img\\.mixi\\.jp/img/dot0\\.gif\" width=\"1\" height=\"5\"><br>\r?\n\\(.*\\)¤µ¤ó([0-9]+)")
 (defconst mixi-friend-name-sex-regexp
   "<td BGCOLOR=#F2DDB7 WIDTH=80 NOWRAP><font COLOR=#996600>̾\\(&nbsp;\\| \\)Á°</font></td>\n+<td WIDTH=345>\\([^<]+\\) (\\([Ã˽÷]\\)À­)</td>")
 (defconst mixi-friend-address-regexp
@@ -726,7 +726,8 @@ Increase this value when unexpected error frequently occurs."
        (signal 'error (list 'cannot-find-nick friend)))
       ;; For getting my profile.
       (unless (string-match mixi-friend-name-sex-regexp buf)
-       (with-mixi-retrieve "/show_profile.pl"
+       (with-mixi-retrieve (concat "/show_profile.pl?id="
+                                   (mixi-friend-id friend))
          (setq buf buffer)))
       (if (string-match mixi-friend-name-sex-regexp buf)
          (progn