Changeset 1259

Show
Ignore:
Timestamp:
08/10/06 02:38:36
Author:
otsune
Message:

It corresponds also to <div class="entry_body">.

Files:

Legend:

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

    r1056 r1259  
    88sub extract { 
    99    my($self, $args) = @_; 
    10     my $body = ($args->{content} =~ m!<div class="entry-body(?:-text)?">(.*?)</div>!s)[0]; 
    11     if ($body && ($args->{content} =~ m!<div (?:id="\w+" )?class="entry-more(?:-text)?">(.*?)</div>!s)[0]) { 
     10    my $body = ($args->{content} =~ m!<div class="entry[_-]body(?:[_-]text)?">(.*?)</div>!s)[0]; 
     11    if ($body && ($args->{content} =~ m!<div (?:id="\w+" )?class="entry[_-]more(?:[_-]text)?">(.*?)</div>!s)[0]) { 
    1212        $body .= $1; 
    1313    }