トップ 一覧 検索 ヘルプ RSS ログイン

Plagger/Publish-EntryFullTextの変更点

  • 追加された行はこのように表示されます。
  • 削除された行はこのように表示されます。
{{category Plagger}}
!!!asetts
!!asahi_com.yaml
lastmodified 2008/04/07
 # http://www3.asahi.com/rss/index.rdf
 author: suVene
 handle_force: http://(www|rss)\.asahi\.com
 extract: <!-- End of Headline --><p class="date">(.*?)</p>(.*?)<!-- google_ad_section_end
 extract_capture: date body
{{comment}}

!!cnet_japan.yaml
lastmodified 2008/04/03
 # 
 author: suVene
 handle_force: http://(?:feeds\.japan\.cnet\.com/|feeds\.feedburner\.jp/cnet|japan\.cnet\.com/(?:news|column|special|sp|interview))
 extract: <div class="article_header .*?">.*?(\d{4}/\d\d/\d\d \d\d:\d\d)&nbsp;&nbsp;.*?<div class="leaf_body.*?">(.*)</div>.*?<!--TrackBack-->
 extract_capture: date body
 extract_date_format: %Y/%m/%d %H:%M
{{comment}}

!!sinseihikikomiri_bblog_jp.yaml
lastmodified 2008/04/07
 # http://sinseihikikomori.bblog.jp/index.rdf
 author: suVene
 handle: http://sinseihikikomori\.bblog\.jp/entry/\d{6}/
 extract_xpath:
   body: //div[@class="entrybody"]
   more: //div[@class="entrymore"]
 extract_after_hook: |
   $data->{body} = $data->{body} . $data->{entrymore};
{{comment}}

!!!Link
*[coderepos.org /lang/perl/plagger/assets/plugins/Filter-EntryFullText|http://svn.coderepos.org/share/lang/perl/plagger/assets/plugins/Filter-EntryFullText/]
*[[assets|Plagger/Publish-EntryFullText/assets]]