* mixi.el (mixi-my-id-regexp): Follow the change of mixi.
authorbg66 <bg66>
Tue, 12 Jan 2010 15:29:43 +0000 (15:29 +0000)
committerbg66 <bg66>
Tue, 12 Jan 2010 15:29:43 +0000 (15:29 +0000)
(mixi-friend-page): Ditto.
(mixi-friend-nick-regexp): Ditto.
(mixi-friend-name-regexp): Ditto.
(mixi-friend-sex-regexp): Ditto.
(mixi-friend-address-regexp): Ditto.
(mixi-friend-age-regexp): Ditto.
(mixi-friend-birthday-regexp): Ditto.
(mixi-friend-blood-type-regexp): Ditto.
(mixi-friend-birthplace-regexp): Ditto.
(mixi-friend-hobby-regexp): Ditto.
(mixi-friend-job-regexp): Ditto.
(mixi-friend-organization-regexp): Ditto.

ChangeLog
mixi.el

index 8c533b3..dddd199 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,20 @@
+2010-01-12 KAMO Tomoyuki  <kto2038@yahoo.co.jp>
+
+       * mixi.el (mixi-my-id-regexp): Follow the change of mixi.
+       (mixi-friend-page): Ditto.
+       (mixi-friend-nick-regexp): Ditto.
+       (mixi-friend-name-regexp): Ditto.
+       (mixi-friend-sex-regexp): Ditto.
+       (mixi-friend-address-regexp): Ditto.
+       (mixi-friend-age-regexp): Ditto.
+       (mixi-friend-birthday-regexp): Ditto.
+       (mixi-friend-blood-type-regexp): Ditto.
+       (mixi-friend-birthplace-regexp): Ditto.
+       (mixi-friend-hobby-regexp): Ditto.
+       (mixi-friend-job-regexp): Ditto.
+       (mixi-friend-organization-regexp): Ditto.
+       (mixi-friend-profile-regexp): Ditto.
+
 2009-08-30  OHASHI Akira  <bg66@koka-in.org>
 
        * mixi.el (mixi-post-message-key-regexp): Follow the change of mixi.
diff --git a/mixi.el b/mixi.el
index e89eb47..df86bdc 100644 (file)
--- a/mixi.el
+++ b/mixi.el
   (autoload 'w3m-retrieve "w3m")
   (autoload 'url-retrieve-synchronously "url"))
 
-(defconst mixi-revision "$Revision: 1.208 $")
+(defconst mixi-revision "$Revision: 1.209 $")
 
 (defgroup mixi nil
   "API library for accessing to mixi."
@@ -413,7 +413,7 @@ Increase this value when unexpected error frequently occurs."
     (mixi-curl-retrieve url nil (reverse form-data))))
 
 (defconst mixi-my-id-regexp
-  "<a href=\"show_profile\\.pl\\?id=\\([0-9]+\\)")
+  "<a href=\"http://mixi.jp/show_profile\\.pl\\?id=\\([0-9]+\\)")
 
 (defun mixi-login (&optional email password)
   "Login to mixi."
@@ -844,32 +844,32 @@ Increase this value when unexpected error frequently occurs."
   `(eq (mixi-object-class ,friend) 'mixi-friend))
 
 (defmacro mixi-friend-page (friend)
-  `(concat "/show_profile.pl?id=" (mixi-friend-id ,friend)))
+  `(concat "/show_friend.pl?id=" (mixi-friend-id ,friend)))
 
 (defconst mixi-friend-nick-regexp
-  "<h3>\\(.*\\)¤µ¤ó([0-9]+)</h3>")
+  "<p class=\"name\">\\(.*\\)¤µ¤ó([0-9]+)\n")
 (defconst mixi-friend-name-regexp
-  "<dt>̾Á°</dt>\n?<dd>\\(.+?\\)\\(<img\\|</dd>\\)")
+  "<th>̾Á°</th>\n+?<td>\\(.+?\\)\\(<img\\|</td>\\)")
 (defconst mixi-friend-sex-regexp
-  "<dt>À­ÊÌ</dt>\n?<dd>\\([Ã˽÷]\\)À­\\(<img\\|</dd>\\)")
+  "<th>À­ÊÌ</th>\n+?<td>\\([Ã˽÷]\\)À­\\(<img\\|</td>\\)")
 (defconst mixi-friend-address-regexp
-  "<dt>¸½½»½ê</dt>\n?<dd>\\(.+?\\)\\(<img \\|</dd>\\)")
+  "<th>¸½½»½ê</th>\n+?<td>\\(.+?\\)\\(<img \\|</td>\\)")
 (defconst mixi-friend-age-regexp
-  "<dt>ǯÎð</dt>\n?<dd>\\([0-9]+\\)ºÐ\\( <img\\|</dd>\\)")
+  "<th>ǯÎð</th>\n+?<td>\\([0-9]+\\)ºÐ\\( <img\\|</td>\\)")
 (defconst mixi-friend-birthday-regexp
-  "<dt>ÃÂÀ¸Æü</dt>\n?<dd>\\([0-9]+\\)·î\\([0-9]+\\)Æü\\(<img \\|</dd>\\)")
+  "<th>ÃÂÀ¸Æü</th>\n+?<td>\\([0-9]+\\)·î\\([0-9]+\\)Æü\\(<img \\|</td>\\)")
 (defconst mixi-friend-blood-type-regexp
-  "<dt>·ì±Õ·¿</dt>\n?<dd>\\([ABO]B?\\)·¿\\(<img \\|</dd>\\)")
+  "<th>·ì±Õ·¿</th>\n+?<td>\\([ABO]B?\\)·¿\\(<img \\|</td>\\)")
 (defconst mixi-friend-birthplace-regexp
-  "<dt>½Ð¿ÈÃÏ</dt>\n?<dd>\\(.+?\\)\\(<img \\|</dd>\\)")
+  "<th>½Ð¿ÈÃÏ</th>\n+?<td>\\(.+?\\)\\(<img \\|</td>\\)")
 (defconst mixi-friend-hobby-regexp
-  "<dt>¼ñÌ£</dt>\n?<dd>\\(.+?\\)\\(<img \\|</dd>\\)")
+  "<th>¼ñÌ£</th>\n+?<td>\\(.+?\\)\\(<img \\|</td>\\)")
 (defconst mixi-friend-job-regexp
-  "<dt>¿¦¶È</dt>\n?<dd>\\(.+?\\)\\(<img \\|</dd>\\)")
+  "<th>¿¦¶È</th>\n+?<td>\\(.+?\\)\\(<img \\|</td>\\)")
 (defconst mixi-friend-organization-regexp
-  "<dt>½ê°</dt>\n?<dd>\\(.+?\\)\\(<img \\|</dd>\\)")
+  "<th>½ê°</th>\n+?<td>\\(.+?\\)\\(<img \\|</td>\\)")
 (defconst mixi-friend-profile-regexp
-  "<dt>¼«¸Ê¾Ò²ð</dt>\n?<dd class=\"userInput\">\\(.+?\\)</dd>")
+  "<th>¼«¸Ê¾Ò²ð</th>\n+?<td>\\(.+?\\)</td>")
 
 (defun mixi-realize-friend (friend)
   "Realize a FRIEND."