Created
August 12, 2017 13:36
-
-
Save joenas/4a0d9c1e905214bc26a94c817f4882b8 to your computer and use it in GitHub Desktop.
Huginn scenario to post new blog posts from Ghost to Twitter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"schema_version": 1, | |
"name": "Ghost to Twitter", | |
"description": "Post your Ghost blog posts to Twitter", | |
"source_url": false, | |
"guid": "8b950438b4618fac9fbe5f400a32bafa", | |
"tag_fg_color": "#FFFFFF", | |
"tag_bg_color": "#5BC0DE", | |
"icon": "pencil", | |
"exported_at": "2017-08-12T13:31:40Z", | |
"agents": [ | |
{ | |
"type": "Agents::EventFormattingAgent", | |
"name": "Ghost - Formatting", | |
"disabled": false, | |
"guid": "1adb69986e1c0697cf57d3d2348c7cc1", | |
"options": { | |
"instructions": { | |
"message": "New blogpost: {{title}} {{url}}{% for tag in categories %} #{{ tag }}{% endfor %}" | |
}, | |
"matchers": [ | |
], | |
"mode": "clean" | |
}, | |
"keep_events_for": 0, | |
"propagate_immediately": false | |
}, | |
{ | |
"type": "Agents::TwitterPublishAgent", | |
"name": "Ghost - Twitter", | |
"disabled": false, | |
"guid": "3d121a42253663d52b9950091c6cf03e", | |
"options": { | |
"expected_update_period_in_days": "10", | |
"message": "{{message}}" | |
}, | |
"keep_events_for": 0, | |
"propagate_immediately": false | |
}, | |
{ | |
"type": "Agents::RssAgent", | |
"name": "Ghost - RSS", | |
"disabled": false, | |
"guid": "e8030aad45d23baff25df9661e376d8e", | |
"options": { | |
"expected_update_period_in_days": "5", | |
"clean": "false", | |
"url": "https://jonnev.se/rss", | |
"max_events_per_run": "1", | |
"events_order": [ | |
[ | |
"{{last_updated}}", | |
"time", | |
"true" | |
] | |
] | |
}, | |
"schedule": "every_1h", | |
"keep_events_for": 172800 | |
} | |
], | |
"links": [ | |
{ | |
"source": 0, | |
"receiver": 1 | |
}, | |
{ | |
"source": 2, | |
"receiver": 0 | |
} | |
], | |
"control_links": [ | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://jonnev.se/tweet-new-posts-automatically/