Changeset 1834
- Timestamp:
- 11/19/06 15:53:05
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/plagger/lib/Plagger/Plugin/Subscription/Bloglines.pm
r1734 r1834 66 66 my($self, $context) = @_; 67 67 68 my $count = $self->{bloglines}->notify(); 69 $context->log(info => "You have $count unread item(s) on Bloglines."); 70 if ($count) { 68 my $to_fetch = $self->conf->{dont_use_notifier_api}; 69 unless ($to_fetch) { 70 my $count = $self->{bloglines}->notify(); 71 $context->log(info => "You have $count unread item(s) on Bloglines."); 72 $to_fetch = $count; 73 } 74 75 if ($to_fetch) { 71 76 my $feed = Plagger::Feed->new; 72 77 $feed->aggregator(sub { $self->sync(@_) }); … … 248 253 You can use this tags information using Rules in later phase. 249 254 255 =item dont_use_notifier_api 256 257 Turn it on when you want to skip Notifier API, which could sometimes 258 be broken and always returns 0 instead of the actuan unread count. 259 250 260 =back 251 261
