Changeset 1938

Show
Ignore:
Timestamp:
03/18/07 03:27:51
Author:
otsune
Message:

rewrite EFT for yaplog.jp

Files:

Legend:

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

    r935 r1938  
    11author: Masafumi Otsune 
    2 handle: http://yaplog\.jp/ 
    3 extract: <h\d class="title">.*?</h\d>.*?<div class="txt">(.*?)<div class="ext"><a id="BlogEntryExtend"></a>(?:(.*?))?<ul class="link s"> 
    4 extract_capture: body body_more 
     2handle: http://yaplog\.jp/\w+/archive/\d+ 
     3extract_xpath: 
     4  body: //div[@class="txt"] 
    55extract_after_hook: | 
    6   $data->{body} .= $data->{body_more} if $data->{body_more}; 
    76  $data->{body} =~ s!<script.*?</script>!!g;