Plagger ã¨ã©ã¼ã¡ã¢
æ°å¹´æãã¦ããã¡ããã¡ããPlaggerããããå§ããã®ã ãã©ãã©ãããã¾ããããªãã
2006-09-12ã®è¨å®ãã¡ã¤ã«ãã¾ããã¨ã³ãã¼ã»æç´ããã¦ä½¿ç¨ãã¦ããã®ã ããä¸è¨ã®ãããªè¬ã®ã¨ã©ã¼ã¡ãã»ã¼ã¸ã«æ©ã¾ããã¦ããã
Plagger [error] http://www.yomiuri.co.jp/science/ is not aggregated by any aggregator
åå ã¨æããããã®ã調ã¹ã¤ãããã¡ãã£ã¨é æã¡æãããã®ã§ããã®è¾ºã§ä½¿ç¨è¨å®ãã¡ã¤ã«ã¨ã¨ã©ã¼ã¡ãã»ã¼ã¸ãæãã¦ä¸æä¼æ¦ã¨ãã¦ã¿ã¾ãã
ã¾ãã¯è¨å®ãã¡ã¤ã«ããã
plugins: - module: Subscription::Config config: feed: - url: http://www.yomiuri.co.jp/science/ - module: Filter::EntryFullText config: store_html_on_failure: 1 - module: Filter::BreakEntriesToFeeds - module: Publish::OutlineText config: filename: sample.txt encoding: Shift_JIS
次ã«ãFilter::EntryFullTextã¢ã¸ã¥ã¼ã«ã§é©ç¨ãããè¨å®ãã¡ã¤ã«ã
author: Toshi custom_feed_handle: http://www\.yomiuri\.co\.jp/science/ custom_feed_follow_link: /science/news handle: http://www\.yomiuri\.co\.jp/science/news/ extract: <!--// headline_start //-->(.*?)<!--// article_end //--> extract_capture: body
æå¾ã«ãã¨ã©ã¼ã¡ãã»ã¼ã¸ã
C:\00work\Plagger>plagger -c sample.yaml Plagger [info] plugin Plagger::Plugin::Subscription::Config loaded. Plagger [info] plugin Plagger::Plugin::Filter::EntryFullText loaded. Plagger [info] plugin Plagger::Plugin::Filter::BreakEntriesToFeeds loaded. Plagger [info] plugin Plagger::Plugin::Publish::OutlineText loaded. Plagger [info] plugin Plagger::Plugin::Bundle::Defaults loaded. Plagger [info] plugin Plagger::Plugin::Aggregator::Simple loaded. Plagger [info] plugin Plagger::Plugin::Summary::Auto loaded. Plagger [info] plugin Plagger::Plugin::Summary::Simple loaded. Plagger [info] plugin Plagger::Plugin::Namespace::HatenaFotolife loaded. Plagger [info] plugin Plagger::Plugin::Namespace::MediaRSS loaded. Plagger [info] plugin Plagger::Plugin::Namespace::ApplePhotocast loaded. Plagger::Plugin::Aggregator::Simple [info] Fetch http://www.yomiuri.co.jp/science/ Plagger::Cache [debug] Cache MISS: Aggregator-Simple|http://www.yomiuri.co.jp/science/ Plagger::Plugin::Aggregator::Simple [debug] 200: http://www.yomiuri.co.jp/science/ Plagger [error] http://www.yomiuri.co.jp/science/ is not aggregated by any aggregator C:\00work\Plagger>
ãã¼ããSubscription::Configã§è¨è¿°ãããurlã¸ã®ãã§ããã¯è¡ã£ã¦ãã¦ãããã¯ãã£ãã·ã¥ã¨ãã¦ç¢ºèªã§ããã®ã ãããã以éé²è¡ãã¦ããªã模æ§ã
大ããçåç¹ãåæãã¦ããã
- urlã®ãã§ãã以éãé²è¡ãã¦ããªã
- Filter::EntryFullTextã®è¨å®ãã¡ã¤ã«ã®extractã«åé¡ããã?
- ãªãPlagger::Plugin::Namespace::HatenaFotolifeãèªã¿è¾¼ã¾ããã®ã
- Filter::EntryFullTextã®å¥ã®è¨å®ãã¡ã¤ã«follow_linkã«ããããã¦ããï¼