Pubulish::Instapaperを書いた
あけましておめでとうございます<いまさら。
今年はactivityをあげていきたい。というわけで、書き初めとしてInstapaperにpostするPlaggerのプラグインPublish::Instapaperを書いた。
使うには、WWW-Instapaper-Clientが必要。FreeBSDはwww/p5-WWW-Instapaper-Clientを作っておいた。
config.yamlへの記述はこんなかんじ。post_summaryを1にすると、entry->summaryをpostする。
- module: Publish::Instapaper config: username: your-username password: your-password interval: 2 post_summary: 1