belphanior-calendar-watcher-servant

belphanior-calendar-watcher-servant

Watches a specified iCal-format calendar for events. When the time for an event comes, sends the name of the event to a servant that supports the "commandable" role (http://belphanior.net/roles/commandable/v1). For example, say you have an iCal at www.foo.com/calendar that has an entry named "wake me up" at 10AM today. If you have a servant at 127.0.0.1:3000 that supports "commandable" and understands the "wake me up" command, you could run the calendar_watcher_servant with a servant_config file that looks as follows: { "ip":"127.0.0.1", "port":"4000", "calendar url":"http://www.foo.com/calendar" "servant url":"http://127.0.0.1:3000" "update seconds":"60" } With this configuration, the calendar watcher servant will check the calendar every 60 seconds for new events. When it checks after 10AM, it will discover the "wake me up" event and send it to the servant at 127.0.0.1:3000.

Rubygem belphanior-calendar-watcher-servant

Total Downloads
1521
Releases
1
Current Version
0.0.1
Released
2012-11-04 00:00:00 UTC
First Release
2012-11-04 00:00:00 UTC
Depends on following gems
Depending Gems
0

Comments

There are no comments yet, be the first to write one!

Post a comment

Markdown supported
or
×

In order to continue, you must be signed in using your Github account.

If you're signing in using this account for the first time Github will ask for your permission to give access to your public user data to the Ruby Toolbox.

Although the Github Authorization page does not mention it, the request includes read-only access to your verified email address (user:email OAuth scope). This is neccessary so there's a way to notify you about comments, information about your accepted project edits and the like. You can review your notification settings on your account page once you're signed in.