フィードエントリの全文を取得する Automatic Ruby プラグイン
を作りました。
full_feed.rb FilterFullFeed (Automatic Ruby plugin) · GitHub
使い方
full_feed.rb をダウンロードして、
[Automatic Ruby のディレクトリ]/plugins/filter
もしくは
~/.automatic/plugins/filter *1
に置く。
全文取得には LDRFullFeed の SITEINFO を使用するので、これもダウンロードしておく。 http://wedata.net/databases/LDRFullFeed/items.json *2
Automatic Ruby のレシピにて、 FilterFullFeed の config: siteinfo に上記の SITEINFO ファイルを指定して使う。
使用例
で、これを他のプラグインと組み合わせて、たとえば、 NAVER まとめの画像集エントリの画像を一括保存したりできます。
plugins: - module: SubscriptionFeed config: feeds: - http://matome.naver.jp/feed/matome/2129948007339738701 - module: FilterFullFeed config: # LDRFullFeed の JSON ファイルを指定 siteinfo: /Users/progd/.automatic/ldrfullfeed.json - module: FilterImage - module: StoreTargetLink config: # 画像ファイルの保存先ディレクトリ path: /Users/progd/Pictures/wallpaper interval: 1
便利ですね。