Changeset 1923

Show
Ignore:
Timestamp:
02/26/07 16:39:06
Author:
otsune
Message:

Add custom_feed_handle and update extract for flashnews in http://www.sponichi.co.jp/

Files:

Legend:

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

    r559 r1923  
    22author: Tatsuhiko Miyagawa 
    33handle: http://www\.sponichi\.co\.jp/ 
    4 extract: <!-- google_ad_section_start\(name=s1\) -->\s*<!-- 記事前文ここから -->(.*?)<!-- 記事本文ここまで -->\s*<!-- google_ad_section_end\(name=s1\) -->.*?<td align="right" class="text_m">\s*\[ (\d{4}年\d\d月\d\d日付|\d{4}年\d\d月\d\d日 \d\d:\d\d) 
     4extract: <!-- 記事前文ここから -->(.*?)<!-- 記事本文ここまで -->.*?<td align="right" class="text_m">.*?\[ (\d{4}年\d\d月\d\d日付|\d{4}年\d\d月\d\d日 \d\d:\d\d) 
    55extract_capture: body date 
    66extract_date_format: 
    77  - %Y年%m月%d日 %H:%M 
    88  - %Y年%m月%d日 
     9custom_feed_handle: http://www\.sponichi\.co\.jp/\w+/ 
     10custom_feed_follow_link: /\w+?/(?:news/\d{4}/\d{2}/\d{2}/\d{2}|flash/KFullFlash\d+)\.html