Changeset 1780

Show
Ignore:
Timestamp:
10/19/06 13:13:04
Author:
miyagawa
Message:

StripRSSAd: support pheedo variant at http://www.appleinsider.com/appleinsider.rss

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/assets/plugins/Filter-StripRSSAd/pheedo.pat

    r1594 r1780  
    1 <br /><br />\n<a href="http://www\.pheedo\.com/click\.phdo\?feedUrl=.*?"*?><img border="0" src="http://www\.pheedo\.com/img\.phdo\?feedUrl=.*?" /></a> 
     1(?:<br /><br />\n|<div style="clear: both;">)<a href="http://www\.pheedo\.com/click\.phdo\?feedUrl=.*?"*?><img border="0" src="http://www\.pheedo\.com/img\.phdo\?feedUrl=.*?" /></a>(?:</div>)? 
  • trunk/plagger/t/plugins/Filter-StripRSSAd/pheedo.t

    r1596 r1780  
    1717        - http://jp.techcrunch.com/feed/ 
    1818        - http://slashdot.jp/slashdotjp.rss 
     19        - http://www.appleinsider.com/appleinsider.rss 
    1920  - module: Filter::StripRSSAd 
    2021--- expected 
    21 unlike $context->update->feeds->[0]->entries->[0]->body, qr/pheedo/; 
    22 unlike $context->update->feeds->[1]->entries->[1]->body, qr/pheedo/; 
    23  
    24  
    25  
     22for my $feed ( $context->update->feeds ) { 
     23    unlike $feed->entries->[0]->body, qr/pheedo/; 
     24