[僕] plagger 0.5.4 -> 0.5.7

僕ト云フ事

たろマークはてなブックマーク

2006年03月14日

[plagger] plagger 0.5.4 -> 0.5.7

0.5.4 使ってたんだけど、0.5.7 にしたら gmail_notify.tt が無いよと怒られたのでメモ。0.5.6 で変わったっぽい。

  • config.yaml の global で、template_path: としてたところは、assets_path:
  • テンプレートのたぐいは、/<assets_path>/common 以下に入れる。もしくは、/<assets_path>/plugins/<plugin_id>
    • plugin_id は、Publish::Gmail なら、publish-gmail。Plagger::Plugin の class_id メソッドがそれ。

global:
  plugin_path:
    - /home/taro/plagger/plugins
  assets_path: /home/taro/plagger/assets
  timezone: Asia/Tokyo
 
plugins:
  - module: Cache
    config:
      file: /home/taro/plagger/cache
      diff_mode: 1
  - module: CustomFeed::Mixi
    config:
      email: foobar@example.com
      password: password
      fetch_body: 1
      show_icon: 1
  - module: Publish::Gmail
    config:
      mailto: example@gmail.com
      mailfrom: you@example.com
      mailroute:
        via: smtp
        host: localhost

blog comments powered by Disqus