Changeset 1812

Show
Ignore:
Timestamp:
11/01/06 19:03:23
Author:
miyagawa
Message:

update slashdot.jp EFT

Files:

Legend:

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

    r515 r1812  
    22author: Tatsuhiko Miyagawa 
    33handle: http://slashdot.jp/.*?article\.pl\? 
    4 extract: (<div class="introtext">.*?</div>).*?(<div class="bodytext">.*?</div>)? 
     4extract: (<div class="intro">.*?</div>).*?(<div class="bodytext">.*?</div>)? 
    55extract_capture: body more 
    66extract_after_hook: $data->{body} .= $data->{more} if $data->{more} 
  • trunk/plagger/t/plugins/Filter-EntryFullText/slashdot.t

    r1332 r1812  
    2121        - title: Slashdot.jp 
    2222          link: http://slashdot.jp/article.pl?sid=06/08/14/1941259 
     23        - title: foo 
     24          link: http://slashdot.jp/developers/article.pl?sid=06/10/31/0418208 
    2325  - module: Filter::EntryFullText 
    2426--- expected 
    2527ok $context->update->feeds->[0]->entries->[0]->body; 
     28ok $context->update->feeds->[0]->entries->[1]->body; 
    2629