Permalink
Browse files

Changes from last night. Switch to using JSON everywhere, make sure s…

…trict mode and warnings is used, fix a bunch of minor bugs, use a simplified config file.
  • Loading branch information...
jeresig committed Feb 8, 2011
1 parent e9d482e commit 772566fd5fcc4fcf39e9f9ca24dd5264a9d67079
Showing with 273 additions and 185 deletions.
  1. +1 −0 .gitignore
  2. +62 −0 sample-config.ini
  3. +210 −185 wtpa-bot.pl
View
@@ -0,0 +1 @@
+config.ini
View
@@ -0,0 +1,62 @@
+[config]
+# Where the event data is backed up (JSON)
+backup = backup.json
+
+# An optional place for the JSONP version of the same data
+backup_jsonp = backup.js
+
+# The JSONP function prefix
+backup_jsonp_fn = wtpa_jsonp
+
+# The long timezone
+timezone = America/New_York
+
+# The short one
+timezone_short = EST
+
+[places]
+# Where to backup/retreive the places from
+file = places.txt
+
+# A public URL where the places are listed (optional)
+url =
+
+[google]
+# Google username and password (for Google Calendar updates)
+user =
+pass =
+
+# The email you want people to reply to in the calendar entry
+email =
+
+# The name of the calendar to update
+calendar_name =
+
+[ping]
+# PingFM username and key (for Twitter and Facebook updates)
+user =
+key =
+
+[bitly]
+# Bitly username and key (for short Google Map URLs)
+user =
+key =
+
+[irc]
+# The server to connect to (e.g. 'irc.freenode.net')
+server =
+
+# The channel to connect to (e.g. 'test')
+channel =
+
+# The port to connect to
+port = 6697
+
+# Should SSL be used?
+ssl = 1
+
+# The nick of the bot
+nick = wtpa
+
+# The name of the bot
+name = wtpa
Oops, something went wrong.

0 comments on commit 772566f

Please sign in to comment.