Changeset 970

Show
Ignore:
Timestamp:
06/12/06 06:08:15
Author:
otsune
Message:

fix wordpress.
Add mainichi-msn Photo and separate handle.
Add http://www.actiblog.com/

Files:

Legend:

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

    r667 r970  
    11author: woremacx 
    2 handle: http://www\.mainichi-msn\.co\.jp/ 
    3 extract: <div class="today_ttl txt6"><span>(.*?)</span></div>(.*)<p>.*?(\d{4}年\d+月\d+日 \d+時\d+分)</p>\s*<!-- 
     2handle: http://www\.mainichi-msn\.co\.jp/.+[^/graph/] 
     3extract: <div class="today_ttl txt6"><span>(.*?)</span></div>(.*)(\d{4}年(?:.*?)?\d{1,2}月\d{1,2}日 \d{1,2}時\d{1,2}分).*?</p>\s*<!-- 
    44extract_capture: title body date 
    55extract_date_format: %Y年%m月%d日 %H時%M分 
  • trunk/plagger/assets/plugins/Filter-EntryFullText/wordpress.pl

    r968 r970  
    99sub extract { 
    1010    my($self, $args) = @_; 
    11     if ($args->{content} =~ m#(<div class="storycontent">.*?)<div class="feedback">#){ 
     11    if ($args->{content} =~ m#(<div class="storycontent">.*?)<div class="feedback">#s){ 
    1212        return $1; 
    1313    }