aboutsummaryrefslogtreecommitdiffstats
path: root/Aggrofile
diff options
context:
space:
mode:
Diffstat (limited to 'Aggrofile')
-rw-r--r--Aggrofile88
1 files changed, 12 insertions, 76 deletions
diff --git a/Aggrofile b/Aggrofile
index 623b8ef..96569da 100644
--- a/Aggrofile
+++ b/Aggrofile
@@ -3,15 +3,6 @@
"server_host": "0.0.0.0",
"server_port": 8080,
"plugins": {
- "plutonium74_fb": {
- "plugin": "FacebookSourcePlugin",
- "schedule_expr": "schedule.every(24).hours",
- "login_email": "${AGGRO_FB_LOGIN_EMAIL}",
- "login_password": "${AGGRO_FB_LOGIN_PASSWORD}",
- "page_id": "Plutonium74",
- "limit": 10,
- "__comment": "https://www.facebook.com/Plutonium74"
- },
"aaniwalli_scraper": {
"plugin": "ScraperSourcePlugin",
"schedule_expr": "schedule.every(10).seconds",
@@ -20,85 +11,30 @@
"selector_title": "post.select('h1')",
"selector_date": "post.select('.date')",
"selector_link": "post.select('a.event-link')",
- "selector_description": "detail_page.select('.event-page')",
+ "selector_description": "detail_page.select('.right-pane')",
"selector_image": "post.select('.event-link > .image')"
},
"aaniwalli_feed": {
"plugin": "FeedSinkPlugin",
"feed_id": "aaniwalli",
"feed_title": "Ääniwalli",
+ "feed_link": "https://www.ääniwalli.fi/",
"feed_description": "Ääniwalli events"
},
- "plutonium74_fb_feed": {
- "plugin": "FeedSinkPlugin",
- "feed_id": "plutonium74_fb",
- "feed_title": "Plutonium74 FB",
- "feed_description": "Plutonium74 FB posts"
- },
- "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",
+ "barloose_scraper": {
+ "plugin": "JsonApiSourcePlugin",
"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')"
- },
- "typescript_digest": {
- "plugin": "DigestPlugin",
- "from_datetime": "2010-01-01T00:00:00Z",
- "interval": "2m",
- "max_length": 1000,
- "digest_title_prefix": "Only Typescript Bimonthly"
- },
- "concat": {
- "plugin": "ConcatPlugin"
- },
- "title_filter": {
- "plugin": "FilterPlugin",
- "filter_expr": "'TypeScript' in item.title"
- },
- "typescript_digest_feed": {
- "plugin": "FeedSinkPlugin",
- "feed_id": "typescript_digest",
- "feed_title": "Only Typescript Digest",
- "feed_description": "Bimonthly digest where all posts have Typescript in the title"
+ "url": "https://barloose.com/wp-json/tribe/events/v1/events",
+ "selector_post": "data['events']",
+ "selector_title": "post['title']",
+ "selector_link": "post['url']",
+ "selector_date": "post['start_date']",
+ "selector_description": "post['description']",
+ "selector_image": "post['image']['url']",
+ "show_image_in_description": true
}
},
"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": [
- "typescript_digest"
- ],
- "typescript_digest": [
- "typescript_digest_feed"
- ],
- "plutonium74_fb": [
- "plutonium74_fb_feed"
- ],
"aaniwalli_scraper": [
"aaniwalli_feed"
]