Plaggerを使おう (1)

早速、Plaggerを使おう

まず、Plagger の情報ですが


今回は、@ITに連載の始まった 日本語訳付き Dilbert (だけ)を RSSにして読めるようにする

dilbert_jp.yaml

global:
  assets_path: /home/yuumi/plagger/assets
  timezone: Asia/Tokyo

plugins:
  - module: Subscription::Config
    config:
      feed:
        - url: http://www.atmarkit.co.jp/im/cits/serial/dilbert/index.html
          meta:
            follow_link: /dilbert/
          title: Dilbert(@IT)

  - module: CustomFeed::Simple

  - module: Publish::Feed
    config:
      format: RSS
      dir: ナイショのパス/feed
      filename: dilbert_jp.rss

メモ:
title: を付けないとRSSのタイトルがページのタイトル「@IT情報マネジメント・・・」になるので title: を指定。 (ソースを読んで知った)