Skip to content
This repository has been archived by the owner on Jun 16, 2020. It is now read-only.
/ ews-orgmode Public archive

Fetches your exchange calendar into orgmode format using ews.

License

Notifications You must be signed in to change notification settings

kautsig/ews-orgmode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

ews-orgmode is a python script to fetch your exchange calendar using exchange webservices and format it into an orgmode readable format for using it in your orgmode agenda.

Installation

Clone the repository using:

git clone http://github.com/kautsig/ews-orgmode.git

Change into the directory and create a config file:

cd ews-orgmode
cp config.cfg.sample config.cfg
emacs config.cfg

The only mandatory field of the configuration file is ‘host’, pointing to your server. Other fields have somewhat sane values that should fit your needs.

  • host - server name without protocol, e.g. your.exchange.host.org.
  • path - web-service path, defaults to e.g. /ews/Exchange.asmx.
  • username - user’s name for HTTP authentications, may be omitted in some situations (e.g. with GSSAPI).
  • password - password for HTTP authentications.
  • auth_type - One of: ‘any’, ‘basic’, ‘digest’, ‘ntlm’, ‘negotiate’. ‘any’ makes the choice automatically and chooses any of the mechanisms provided by a server except ‘Basic. This one has enabled explicitly.
  • cainfo - file holding certificate used to sign server key.
  • timezone - Your time zone e.g. Europe/Vienna, defaults to UTC.
  • days_history - How old entries to fetch.
  • days_future - How long in the future to look for entries.
  • max_entries - How many entries to fetch.

The config.cfg is within the .gitignore file, so you don’t publish it by accident. Now, run the script:

./ews-fetch-calendar.py

If everythings ok, you should see your exchange calendar in orgmode format as console output. You can redirect it into an orgmode file for using in your agenda. E.g. you could use something like this in a cronjob:

./ews-fetch-calendar.py > ~/org/exchange.org

Disclaimer

Use the script at your own risk. Read it, understand it, modify it. But do not blame me if something goes wrong.

About

Fetches your exchange calendar into orgmode format using ews.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages