2006-11-22 OHASHI Akira <bg66@koka-in.org>
+ * mixi.el (mixi-message-owner-regexp): Fix regexp.
+ (mixi-message-title-regexp): Ditto.
+ (mixi-message-time-regexp): Ditto.
+ (mixi-message-realize): Follow the change above.
+
+2006-11-22 OHASHI Akira <bg66@koka-in.org>
+
* mixi.el (mixi-log-list-regexp): Fix regexp.
2006-11-22 OHASHI Akira <bg66@koka-in.org>
"&box=" (mixi-message-box ,message)))
(defconst mixi-message-owner-regexp
- "<font COLOR=#996600>º¹½Ð¿Í</font> : <a HREF=\"show_friend\\.pl\\?id=\\([0-9]+\\)\">\\(.*\\)</a>")
+ "<font COLOR=#996600>\\(º¹½Ð¿Í\\|°¸ Àè\\)</font> : <a HREF=\"show_friend\\.pl\\?id=\\([0-9]+\\)\">\\(.*\\)\\(</a>\\|</td>\\)")
(defconst mixi-message-title-regexp
- "<font COLOR=#996600>·ï¡¡Ì¾</font> : \\(.+\\)
-</td>")
+"<font COLOR=#996600>·ï\\(¡¡\\| \\)̾</font> : \\(.+\\)\n?</td>")
(defconst mixi-message-time-regexp
- "<font COLOR=#996600>Æü¡¡ÉÕ</font> : \\([0-9]+\\)ǯ\\([0-9]+\\)·î\\([0-9]+\\)Æü \\([0-9]+\\)»þ\\([0-9]+\\)ʬ ")
+"<font COLOR=#996600>Æü\\(¡¡\\| \\)ÉÕ</font> : \\([0-9]+\\)ǯ\\([0-9]+\\)·î\\([0-9]+\\)Æü \\([0-9]+\\)»þ\\([0-9]+\\)ʬ ")
(defconst mixi-message-content-regexp
"<tr><td CLASS=h120>\\(.+\\)</td></tr>")
(with-mixi-retrieve (mixi-message-page message)
(if (string-match mixi-message-owner-regexp buffer)
(mixi-message-set-owner message
- (mixi-make-friend (match-string 1 buffer)
- (match-string 2 buffer)))
+ (mixi-make-friend (match-string 2 buffer)
+ (match-string 3 buffer)))
(signal 'error (list 'cannot-find-owner message)))
(if (string-match mixi-message-title-regexp buffer)
- (mixi-message-set-title message (match-string 1 buffer))
+ (mixi-message-set-title message (match-string 2 buffer))
(signal 'error (list 'cannot-find-title message)))
(if (string-match mixi-message-time-regexp buffer)
(mixi-message-set-time
- message (encode-time 0 (string-to-number (match-string 5 buffer))
+ message (encode-time 0 (string-to-number (match-string 6 buffer))
+ (string-to-number (match-string 5 buffer))
(string-to-number (match-string 4 buffer))
(string-to-number (match-string 3 buffer))
- (string-to-number (match-string 2 buffer))
- (string-to-number (match-string 1 buffer))))
+ (string-to-number (match-string 2 buffer))))
(signal 'error (list 'cannot-find-time message)))
(if (string-match mixi-message-content-regexp buffer)
(mixi-message-set-content message (match-string 1 buffer))