以前から複数のRSSをマージする時には、Plaggerを
使っています。YahooPipes!とかでもできるんでしょうけど。
yamlはこんな感じで書いてます。
global:
# Make plagger more verbose than default
assets_path: /path/to/assets ←assetsへのパスを書く
log:
level: debug
plugins:
# Subscribe to a couple of "My Feeds" on the web
# They could be either Feeds URL or Blog URL (with Auto-Discovery support)
- module: Subscription::OPML
config:
url: http://path/to/opml.php ←opmlファイルへのへのパスを書く
- module: SmartFeed::All
- module: Publish::Feed
rule:
expression: $args->{feed}->id eq 'smartfeed:all'
config:
dir: /path/to/rss_output_dir ←RSSファイルの出力先ディレクトリ
format : RSS
filename: rss_file_name ←出力するRSSのファイルの名前
yamlを書いたら、
plagger -c 上記で作成したなんとか.yaml で実行
