Changeset 2032

Show
Ignore:
Timestamp:
05/22/08 06:09:46
Author:
woremacx
Message:

assets/plugins/Filter-EntryFullText/ryukyushimpo.yaml: rewrite XPath

Files:

Legend:

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

    r663 r2032  
    11author: woremacx 
    2 handle: http://ryukyushimpo.jp/news/storyid-\d+-storytopic-\d+.html 
    3 extract: <h2>(.*?)</h2>(.*?)<p class="next_txt"> 
    4 extract_capture: title body 
     2handle_force: http://ryukyushimpo.jp/news/storyid-\d+-storytopic-\d+.html 
     3extract_xpath: 
     4  title: //div[@id="item"]/h3/text() 
     5  photo: //div[@id="item"]/p[@class="photo"] 
     6  body: //div[@id="item"]/p[@class="body"] 
     7extract_after_hook: | 
     8  $data->{body} = $data->{photo} . $data->{body} if $data->{photo};