(require 'mixi-utils)
(require 'shimbun)
+(defconst shimbun-mixi-revision "$Revision: 1.58 $")
+
(eval-and-compile
(luna-define-class shimbun-mixi (shimbun) (comment-cache))
(luna-define-internal-accessors 'shimbun-mixi))
'(("new-diaries" . mixi-get-new-diaries)
("new-comments" . mixi-get-new-comments)
("new-bbses" . mixi-get-new-bbses)
+ ("new-bbs-comments" . mixi-get-new-bbs-comments)
("messages" . mixi-get-messages)
("messages.sent" .
(lambda (range)
:type '(repeat (cons :fromat "%v"
(string :tag "Group name")
(radio (string :tag "URL")
- (const :tag "New diaries" mixi-get-new-diaries)
- (const :tag "New comments" mixi-get-new-comments)
- (const :tag "New BBSes" mixi-get-new-bbses)
- (const :tag "Messages" mixi-get-messages)
- (const :tag "Logs" mixi-get-logs)
- (function :tag "Other function")))))
+ (function :tag "Function")))))
+
+(defcustom shimbun-mixi-get-profile-with-diary t
+ "*If non-nil, get his/her profile together with diaries."
+ :group 'shimbun
+ :type 'boolean)
;; FIXME: Don't use this user option.
(defcustom shimbun-mixi-page-articles 10
(catch 'stop
(while objects
(let ((object (car objects)))
+ (when (and shimbun-mixi-get-profile-with-diary
+ (mixi-diary-p object))
+ (let ((owner (mixi-diary-owner object)))
+ (unless (mixi-object-realized-p owner)
+ (mixi-realize-friend owner))))
(when (mixi-parent-p object)
(let* ((comments (mixi-get-comments object range))
(comment-headers (shimbun-mixi-get-headers shimbun
&optional range)
(let ((url-or-function (cdr (assoc (shimbun-current-group-internal shimbun)
(shimbun-mixi-group-alist))))
- (pages (shimbun-header-index-pages range)))
- (when (integerp pages)
- (setq range (* pages shimbun-mixi-page-articles)))
+ (range (shimbun-header-index-pages range)))
+ (when (integerp range)
+ (setq range (* range shimbun-mixi-page-articles)))
(shimbun-sort-headers
(shimbun-mixi-get-headers shimbun
(mixi-make-objects url-or-function range)