root/trunk/plagger/examples/podcast.yaml

Revision 733 (checked in by miyagawa, 14 years ago)

add Odeo aggregation example

Line 
1 # synchronize Podcasts from Odeo subscription, download all the
2 # episodes, rewrite enclosure URL and republish as RSS 2.0 podcast
3 # locally
4 plugins:
5   - module: Subscription::Odeo
6     config:
7       account: TatsuhikoMiyagawa
8
9   - module: Filter::TruePermalink
10
11   - module: Filter::FetchEnclosure
12     config:
13       dir: /home/miyagawa/public_html/podcasts
14
15   - module: Filter::RewriteEnclosureURL
16     config:
17       rewrite:
18         - local: /home/miyagawa/public_html/
19           url:   http://rock/~miyagawa/
20
21   - module: SmartFeed::All
22
23   - module: Publish::Feed
24     rule:
25       expression: $args->{feed}->id eq 'smartfeed:all'
26     config:
27       dir: /home/miyagawa/public_html/feeds
28       format: RSS
29       filename: odeo.xml
Note: See TracBrowser for help on using the browser.