aboutsummaryrefslogtreecommitdiffstats
path: root/Aggrofile
blob: c5fe9148d1c77a3e5a68705572144eef55c0929d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
    "db_path": "db.json",
    "plugins": {
        "juusomikkonen_blog_rss": {
            "plugin": "FeedSourcePlugin",
            "schedule_expr": "schedule.every(10).seconds",
            "feed_url": "https://juusomikkonen.com/feed.xml"
        },
        "juusomikkonen_add_author": {
            "plugin": "MapPlugin",
            "map_expr": "set_field(item, 'author', 'Juuso Mikkonen')"
        },
        "mariusschulz_blog_atom": {
            "plugin": "FeedSourcePlugin",
            "schedule_expr": "schedule.every(10).seconds",
            "feed_url": "https://feeds.feedburner.com/mariusschulz"
        },
        "mariusschulz_add_author": {
            "plugin": "MapPlugin",
            "map_expr": "set_field(item, 'author', 'Marius Schulz')"
        },
        "concat": {
            "plugin": "ConcatPlugin"
        },
        "title_filter": {
            "plugin": "FilterPlugin",
            "filter_expr": "'TypeScript' in item.title"
        },
        "output_feed": {
            "plugin": "FeedSinkPlugin",
            "feed_id": "test_feed",
            "feed_title": "Only Typescript posts",
            "feed_description": "Feed where all posts have Typescript in the title"
        }
    },
    "graph": {
        "juusomikkonen_blog_rss": [
            "juusomikkonen_add_author"
        ],
        "juusomikkonen_add_author": [
            "concat"
        ],
        "mariusschulz_blog_atom": [
            "mariusschulz_add_author"
        ],
        "mariusschulz_add_author": [
            "concat"
        ],
        "concat": [
            "title_filter"
        ],
        "title_filter": [
            "output_feed"
        ]
    }
}