Changeset 511

Show
Ignore:
Timestamp:
04/02/06 17:56:47
Author:
miyagawa
Message:

update CNET pattern to handle date; added comment to zakzak

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/assets/plugins/filter-entryfulltext/cnet_japan.yaml

    r509 r511  
    11author: tokuhirom <tokuhirom@cpan.org> 
    22handle_force: http://(feeds\.feedburner\.jp/cnet|japan\.cnet\.com/news) 
    3 extract: (<div class="j5 mb15">.+?)(?:<div class="ad_under_b">|<div class="bd1">|<a target="_top" class="ad"|<div class="pl10 pr15 mb10">) 
    4 extract_capture: body 
    5 #extract_after_hook: $data->{body} =~ s!(src=")([^h])!$1http://japan.cnet.com$2!g 
     3extract: <div class="j2">(\d{4}/\d\d/\d\d \d\d:\d\d)&nbsp;&nbsp;.*?<div class="leaf_body">(.*?)(?:</div><!-- http|</div><div align="center" class="j3 mb20">|<div class="bd1">) 
     4extract_capture: date body 
     5extract_date_format: %Y/%m/%d %H:%M 
     6 
  • trunk/plagger/assets/plugins/filter-entryfulltext/zakzak.yaml

    r510 r511  
     1# best used with http://bulknews.net/rss/rdf.cgi?ZakZak 
    12author: youpy 
    23handle: http://www\.zakzak\.co\.jp/