Changeset 976

Show
Ignore:
Timestamp:
06/12/06 15:44:57
Author:
miyagawa
Message:

support handle only in livedoorblog.pl to work with aggregated feeds

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/assets/plugins/Filter-EntryFullText/livedoorblog.pl

    r971 r976  
    11sub handle_force { 
    22    my($self, $args) = @_; 
    3     return ($args->{entry}->link =~ qr!^http://(?:blog\.livedoor\.jp/|[\w\-]+\.livedoor\.biz/)! 
    4              or 
    5             $args->{content} =~ m!trackback:ping="http://app\.blog\.livedoor\.jp/!) 
     3    return $args->{entry}->link =~ qr!^http://(?:blog\.livedoor\.jp/|[\w\-]+\.livedoor\.biz/)! 
    64           and 
    75           $args->{entry}->body =~ m!<a href=".*?">\x{7D9A}\x{304D}\x{3092}\x{8AAD}\x{3080}</a>!; 
     6} 
     7 
     8sub handle { 
     9    my($self, $args) = @_; 
     10    $args->{entry}->link =~ qr!^http://(?:blog\.livedoor\.jp/|[\w\-]+\.livedoor\.biz/)! 
     11        or 
     12    $args->{content} =~ m!trackback:ping="http://app\.blog\.livedoor\.jp/! 
    813} 
    914