まんがの森の発売日リストをPlaggerで取得して、そのリストとお知らせして欲しいリストを比較してマッチしたらTwitterに「今日発売だよ!」ってお知らせするスクリプトを書いたから公開してみる。 まんがの森のリスト取得にはSweetPotatoさんのCustomFeed::Manganomoriを使わせていただいた。CSVで出力したいからyamlはこんな感じ。 global: assets_path: /path/to/assets timezone: Asia/Tokyo log: level: debug plugins: - module: CustomFeed::Manganomori - module: Publish::CSV config: dir: /path/to/dir encoding: utf-8 filename: comics.csv mode: append
Twitter用天気予報ボットを作りました。 http://twitter.com/tokyoforecast をfriendに入れておくと、毎日8時、11時、14時、17時に東京地方の天気予報を教えてくれます。IMを設定しておくと、GTalkなどで随時天気予報を教えてくれるので結構便利です。 Plaggerで5分くらいしか掛かりませんでした。こんな感じでcronに入れておくだけです。 plugins: - module: Subscription::Config config: feed: - http://weather.livedoor.com/forecast/rss/13/63.xml - module: Filter::Rule rule: expression: ++$::index == 2 - module: Publish::Twitter c
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く