Permalink
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (17 sloc) 859 Bytes

Data Source

ICalendar is a widely used format for defining calendars. A lot of Calendar-Services like i.e. Google give you a private url of your calendar, which you can easily use with this module.

Requirements

  • icalendar Python package install it with
    $ easy install icalendar
        

Example Invocation:

Calendar at a url

/path/to/Memacs/calendars/memacs_calendar.py -c "http://example.com/foo.ics" -o "/home/user/orgmode/memacs/calendar.org_archive"

Calendar file

/path/to/Memacs/calendars/memacs_calendar.py -cf "/home/user/calendars/private.ics" -o "/home/user/orgmode/memacs/calendar.org_archive"

What will not work

  • Repeating events Because Org-mode doesn’t support repeating events in datetime ranges