2014-08-23 20:24:51 +02:00
|
|
|
eventdb
|
|
|
|
=======
|
2014-08-25 20:07:28 +02:00
|
|
|
Take a spreadsheet and convert it to an ics-file.
|
2014-08-23 20:33:09 +02:00
|
|
|
|
|
|
|
Prerequisites
|
|
|
|
=============
|
|
|
|
* Perl http://www.perl.org/
|
|
|
|
* remind http://www.roaringpenguin.com/products/remind
|
|
|
|
* rem2ics https://github.com/scy/rem2ics
|
|
|
|
* rem2html https://github.com/SwissKid/rem2html
|
|
|
|
* make https://www.gnu.org/software/make/
|
2014-08-23 21:50:43 +02:00
|
|
|
|
2014-08-25 20:01:43 +02:00
|
|
|
Installation
|
|
|
|
============
|
|
|
|
$ mkdir events
|
|
|
|
$ cd events
|
|
|
|
$ git clone https://github.com/TabTwo/eventdb.git
|
|
|
|
$ git clone https://github.com/scy/rem2ics
|
|
|
|
$ git clone https://github.com/SwissKid/rem2html
|
|
|
|
|
2014-08-23 21:50:43 +02:00
|
|
|
Sourcefiles
|
|
|
|
===========
|
|
|
|
* remind-scripts for repeating events like Valentine's Day
|
|
|
|
* .csv files for your events
|
|
|
|
|
|
|
|
CSV-format
|
|
|
|
==========
|
|
|
|
I use quite a simple format here
|
|
|
|
|
|
|
|
D;M;Y;D;M;Y;Name;Location;City,Country,URL
|
|
|
|
|
|
|
|
Just place your file(s) in the source directory.
|
|
|
|
|
|
|
|
Remind-scripts
|
|
|
|
==============
|
|
|
|
Remind is an awesome swiss army knive for calendars and alarms.
|
|
|
|
Especially for repeating things like "every last friday of the month", try that with cron.
|
|
|
|
The only problem is, it does not work well with "event lasts from 1.sep to 10.oct".
|
|
|
|
Thouse events should be put in the csv.
|
|
|
|
I also use remind here as processor for the html-calendar and for the ics.
|
|
|
|
|
|
|
|
Output
|
|
|
|
======
|
|
|
|
* events-ikiwiki.csv, use it with events.mdwn in ikiwikis table directive https://ikiwiki.info/ikiwiki/directive/table/
|
|
|
|
* events-remind.rem, a basic remind-script with all events
|
|
|
|
* events.ics, import it to your calendar
|
|
|
|
* events.html, a html calendar
|
|
|
|
|
|
|
|
Scripts
|
|
|
|
=======
|
|
|
|
* Makefile, the glue for everything. Replace it with a shell script according to your needs.
|
|
|
|
|
|
|
|
Directories
|
|
|
|
===========
|
|
|
|
* output, grab your results from here
|
|
|
|
* scripts, this is where the magic happens
|
|
|
|
* source, put your files here
|
2014-08-25 20:03:35 +02:00
|
|
|
* temp, staging directory for scripts
|
2014-08-23 21:50:43 +02:00
|
|
|
|
|
|
|
Future Versions
|
|
|
|
===============
|
|
|
|
* I'm not happy with the ics, basically it's just the date and the name of the event.
|
|
|
|
* export to org-mode
|
|
|
|
* import of ics-files
|