Plaggerを使って窓の杜を全文取得する。
forest_impress.yaml
author: labs.zsrv.net custom_feed_handle: http://www\.forest\.impress\.co\.jp custom_feed_follow_link: article/\d{4}/\d{2}/\d{2}/.*?\.html handle: http://www\.forest\.impress\.co\.jp extract: <!-- 本文開始 -->(.*)<!-- 本文終了 --> extract_capture: body
| ※ UTF-8で保存すること
feeds.yaml
global: assets_path: /usr/lib/perl5/site_perl/5.8.6/Plagger/assets timezone: Asia/Tokyo plugins: - module: Subscription::Config config: feed: - url: http://forest.impress.co.jp - module: Filter::Rule rule: module: Deduped compare_body: 1 - module: Filter::EntryFullText config: store_html_on_failure: 1 - module: Filter::ResolveRelativeLink - module: Publish::Gmail config: mailto: [username]@gmail.com mailfrom: [from mail address] mailroute: via: sendmail host: /usr/sbin/sendmail
|
Add as favourites (52) | Quote this article on your site | Views: 1898
|
|
|
|
|
|
|
|
|
|
|
- Please keep the topic of messages relevant to the subject of the article.
- Personal verbal attacks will be deleted.
- Please don't use comments to plug your web site. Such material will be removed.
- Just ensure to *Refresh* your browser for a new security code to be displayed prior to clicking on the 'Send' button.
- Keep in mind that the above process only applies if you simply entered the wrong security code.
|
Powered by AkoComment Tweaked Special Edition v.1.4.6 AkoComment © Copyright 2004 by Arthur Konze - www.mamboportal.com All right reserved |