|
Revision 1199
(checked in by miyagawa, 2 years ago)
|
Whoops, # in YAML value is not treated as comments
|
| Line | |
|---|
| 1 |
global: |
|---|
| 2 |
# Make plagger more verbose than default |
|---|
| 3 |
log: |
|---|
| 4 |
level: debug |
|---|
| 5 |
|
|---|
| 6 |
plugins: |
|---|
| 7 |
# Subscribe to a couple of "My Feeds" on the web |
|---|
| 8 |
# They could be either Feeds URL or Blog URL (with AUto-Discovery support) |
|---|
| 9 |
- module: Subscription::Config |
|---|
| 10 |
config: |
|---|
| 11 |
feed: |
|---|
| 12 |
- http://bulknews.typepad.com/blog/index.rdf |
|---|
| 13 |
- http://blog.bulknews.net/mt/ |
|---|
| 14 |
- http://subtech.g.hatena.ne.jp/miyagawa/ |
|---|
| 15 |
- http://bulknews.vox.com/ |
|---|
| 16 |
- http://d.hatena.ne.jp/miyagawa/ |
|---|
| 17 |
|
|---|
| 18 |
# Create "Smart Feed" with all entries across the feeds, fresher than 7 days old |
|---|
| 19 |
# Add the title "Planet Plagger" to the smartfeed |
|---|
| 20 |
- module: SmartFeed::All |
|---|
| 21 |
rule: |
|---|
| 22 |
module: Fresh |
|---|
| 23 |
# 10080 minutes == 7 Days |
|---|
| 24 |
duration: 10080 |
|---|
| 25 |
config: |
|---|
| 26 |
title: Planet Plagger |
|---|
| 27 |
|
|---|
| 28 |
# Generate Planet XHTML output out of the smartfeed |
|---|
| 29 |
# to the directory /tmp/planet with sixapart-std "skin" |
|---|
| 30 |
- module: Publish::Planet |
|---|
| 31 |
rule: |
|---|
| 32 |
expression: $args->{feed}->id eq 'smartfeed:all' |
|---|
| 33 |
config: |
|---|
| 34 |
dir: /tmp/planet |
|---|
| 35 |
skin: sixapart-std |
|---|
| 36 |
template: |
|---|
| 37 |
members_list: 1 |
|---|
| 38 |
style_url: http://bulknews.typepad.com/blog/styles.css |
|---|
| 39 |
|
|---|
| 40 |
# Output Atom feed for the smartfeed |
|---|
| 41 |
- module: Publish::Feed |
|---|
| 42 |
rule: |
|---|
| 43 |
expression: $args->{feed}->id eq 'smartfeed:all' |
|---|
| 44 |
config: |
|---|
| 45 |
dir: /tmp/planet |
|---|
| 46 |
|
|---|
| 47 |
# Output RSS feed for the smartfeed |
|---|
| 48 |
- module: Publish::Feed |
|---|
| 49 |
rule: |
|---|
| 50 |
expression: $args->{feed}->id eq 'smartfeed:all' |
|---|
| 51 |
config: |
|---|
| 52 |
dir: /tmp/planet |
|---|
| 53 |
format: RSS |
|---|
| 54 |
|
|---|