Permalink
Browse files

Few more config examples.

  • Loading branch information...
1 parent 677828a commit 263758ad83cdff91ba32681b24d3c408669223fb Rui Jiang committed Dec 12, 2011
Showing with 22 additions and 1 deletion.
  1. +22 −1 README.md
View
@@ -169,12 +169,33 @@ Below are a few typical configurations.
-
connection:
host: basicauth.example.com
- ssl: false
+ ssl: false # for HTTPs, just set this to true
resource: /feeds/daily
auth:
username: basicauth_user
password: my_password
webhook: http://www.chatroom.com/webhook
```
+### Custom webhook data
+
+```yaml
+ -
+ connection: http://www.example.com/rss.xml
+ webhook: http://www.chatroom.com/webhook_custom
+ output: # POSTs message => { summary => ..., content => ... }
+ message:
+ summary: |title|
+ content: Full content - |description|
+```
+
+### Send data to webhook with GET request
+
+```yaml
+ -
+ connection: http://www.example.com/rss.xml
+ webhook: http://www.chatroom.com/webhook_get
+ type: get
+```
+
## Advanced Usage

0 comments on commit 263758a

Please sign in to comment.