EWS::Calendar::Viewer - View Your MS Exchange Calendar as a Standalone Web App
version 1.111982
I recommend you use something like App::BundleDeps to deploy this under a fastcgi server environment. Configure the application like so:
privacy_level = limited start_of_week = 1 <Model::EWSClient> <args> server = myserver.example.com username = oliver password = s3kr1t # or in EWS_PASS environment variable </args> </Model::EWSClient>
And then start the Catalyst application, perhaps using one of the bundled server scripts.
This can be set to public to show only your free/busy status, limited to show the title of the event as well, or private to show all details of the event in a tooltip.
public
limited
private
Set this to a number from 0 to 6 representing Sunday through to Saturday respectively.
You'll need to set the server fully qualified domain name, and username for the calendar's account. The password can be set in the file using the password option or via the environment variable EWS_PASS.
password
EWS_PASS
If the Exchange server uses NTLM Negotiated Auth then also pass the following:
<Model::EWSClient> <args> use_negotiated_auth = 1 </args> </Model::EWSClient>
Obviously, this setting is in addition to the other args mentioned above. If you're unsure whether NTLM is required, try it without and if you get an Error: Unauthorised response then you probably need the setting.
args
Error: Unauthorised
This application brings with it a lightweight web server environment, so you can get up and running quickly. First, install the module and its dependencies.
Then create a configuration file as in the "SYNOPSIS" section, above, and save it in your current directory as ews_calendar_viewer_local.conf. Finally, run the ews_calendar_viewer_server.pl script. It listens on port 3000 by default but you can change that (see --help):
ews_calendar_viewer_local.conf
ews_calendar_viewer_server.pl
--help
$> EWS_PASS=s3kr1t ews_calendar_viewer_server.pl [info] EWS::Calendar::Viewer powered by Catalyst 5.80032 You can connect to your server at http://localhost:3000
Oliver Gorwits <oliver@cpan.org>
This software is copyright (c) 2011 by Oliver Gorwits.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install EWS::Calendar::Viewer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm EWS::Calendar::Viewer
CPAN shell
perl -MCPAN -e shell install EWS::Calendar::Viewer
For more information on module installation, please visit the detailed CPAN module installation guide.