Skip to content

Commit

Permalink
Publish SE posts and blog posts to Town Square.
Browse files Browse the repository at this point in the history
Refs #5, #14.
  • Loading branch information
xurizaemon committed Apr 17, 2017
1 parent 3428f98 commit 4f9cc98
Showing 1 changed file with 29 additions and 13 deletions.
42 changes: 29 additions & 13 deletions hubotrssconfig.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,32 @@
{
"feeds": [{
"name": "Stack Exchange",
"request": {
"uri": "https://civicrm.stackexchange.com/feeds",
"headers": {
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36"
}
"feeds": [{
"id": "stackexchange",
"name": "Stack Exchange",
"request": {
"uri": "https://civicrm.stackexchange.com/feeds",
"headers": {
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36"
}
},
"room": "town square",
"pingIntervalSeconds": "60",
"alertPrefix": "",
"alertSuffix": "",
"messageTpl": "`New StackExchange question: [${latestItem.getTitle()}](${latestItem.getPermalink()})`"
},
"room": "x-bot-test",
"pingIntervalSeconds": "60",
"alertPrefix": "",
"alertSuffix": "",
"messageTpl": "`New StackExchange question: [${latestItem.getTitle()}](${latestItem.getPermalink()})`"
}]
{
"id": "civicrm-blog",
"name": "CiviCRM Blog",
"request": {
"uri": "https://civicrm.org/blog/feed",
"headers": {
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36"
}
},
"room": "town square",
"pingIntervalSeconds": "60",
"alertPrefix": "",
"alertSuffix": "",
"messageTpl": "`New CiviCRM blog: [${latestItem.getTitle()}](${latestItem.getPermalink()})`"
}]
}

0 comments on commit 4f9cc98

Please sign in to comment.