plaggerで cycling newsを読む
bloglinesで購読していて
newsisfreeのリダイレクトをなんとかするやつを前に書いたんだけど、動かなかったので
CustomFeed::Configを使ってみた
assets_pathなどは適宜
assetsは
cyclingnews.yaml
match: http://www.cyclingnews.com/news.php\?id=news extract: <b>([^<]*)<br>[^<]*</b>[^<]*<a href="([^>]*)">L[^<]*News</a extract_capture: title link
なんかとりあえずこんなんになってしまった。。。
config_cyclingnews.yaml
global: plugin_path: - /home/hogehoge/plagger/lib/Plagger/Plugin timezone: Asia/Tokyo log: level: debug plugins: - module: Subscription::Config config: feed: - http://www.cyclingnews.com/news.php?id=news - module: CustomFeed::Config - module: Filter::EntryFullText force_upgrade: 1 - module: Publish::Feed config: format: Atom dir: /tmp filename: cycling.atom
今年こそ、ライブ中継してるときのテキストをMSNとかircになげてみたい。