From: mitty Date: Mon, 10 Jan 2011 12:40:27 +0000 (+0000) Subject: * config.yml sample X-Git-Url: http://lab.mitty.jp/git/?a=commitdiff_plain;h=04f609de0961483f00e974108a4d0e4ae48a2b2b;p=lab.git * config.yml sample git-svn-id: https://lab.mitty.jp/svn/lab/trunk@107 7d2118f6-f56c-43e7-95a2-4bb3031d96e7 --- diff --git a/Dev/twitter/config.yml.sample b/Dev/twitter/config.yml.sample new file mode 100644 index 0000000..258df1e --- /dev/null +++ b/Dev/twitter/config.yml.sample @@ -0,0 +1,31 @@ +consumer_key: "consumer_key" +consumer_secret: "consumer_secret" + +access_token : "access_token" +access_token_secret : "access_token_secret" + +sleep: 10 + +hashtag: + - #perlbot + - #bot + +allow: + screen_name: + - twitter + user_id: + - 783214 + - 9876543210 + +mail: + server: "localhost" + to: + - "info@example.com" + - "bot@irc.example.com" + from: "retweetbot@twit.example.jp (Cron Daemon)" + subject: "new tweets for retweetbot are found" + contenttype : 'text/plain; charset="ISO-2022-JP"' + pickup: + - search + - mention + ignore_allowed: yes