Compare commits

...

6 commits
v1.0 ... master

Author SHA1 Message Date
Ralph J.Mayer
70fb07999e
update dates 2018-02-01 18:30:11 +01:00
Ralph J.Mayer
4200d89775
Update makefile 2018-02-01 18:15:55 +01:00
Ralph J.Mayer
4d4b4acc55
Change date 2018-02-01 18:15:23 +01:00
Ralph J.Mayer
3c1b2e1401 Added Jenkinsfile 2018-01-28 16:38:12 +01:00
Ralph J.Mayer
80dcedc5dc beautify perl headers 2014-09-05 22:22:02 +02:00
TabTwo
319a8bd1c0 Update README.md 2014-08-25 20:21:35 +02:00
8 changed files with 97 additions and 22 deletions

11
Jenkinsfile vendored Normal file
View file

@ -0,0 +1,11 @@
pipeline {
agent none
stages {
stage('') {
steps {
sh '''echo Test
'''
}
}
}
}

View file

@ -1,8 +1,3 @@
github:
git add .
git commit -a -m "automatic commit"
git push origin master
sense: sense:
cat source/*.csv > temp/stage1-from-csv.csv cat source/*.csv > temp/stage1-from-csv.csv
cat source/*.rem > temp/stage1.rem cat source/*.rem > temp/stage1.rem
@ -15,5 +10,5 @@ sense:
# outputs # outputs
perl scripts/csv2ikiwiki.pl temp/stage3.csv > output/events-ikiwiki.csv perl scripts/csv2ikiwiki.pl temp/stage3.csv > output/events-ikiwiki.csv
remind -m -p36 temp/events-html.rem | perl ../rem2html/rem2html --nomini --title Events > output/events.html remind -m -p36 temp/events-html.rem | perl ../rem2html/rem2html --nomini --title Events > output/events.html
remind -s360 -irem2ics=1 temp/events-ics.rem 1 Jan 2014 | TZ=CEST HOSTNAME=foo perl ../rem2ics/rem2ics -do -norecur -usetag > output/events.ics remind -s360 -irem2ics=1 temp/events-ics.rem 1 Jan 2018 | TZ=CEST HOSTNAME=foo perl ../rem2ics/rem2ics -do -norecur -usetag > output/events.ics
perl scripts/csv2rem.pl temp/stage3.csv > output/events.rem perl scripts/csv2rem.pl temp/stage3.csv > output/events.rem

View file

@ -42,7 +42,7 @@ I also use remind here as processor for the html-calendar and for the ics.
Output Output
====== ======
* events-ikiwiki.csv, use it with events.mdwn in ikiwikis table directive https://ikiwiki.info/ikiwiki/directive/table/ * 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.rem, a basic remind-script with all events
* events.ics, import it to your calendar * events.ics, import it to your calendar
* events.html, a html calendar * events.html, a html calendar

View file

@ -1,10 +1,26 @@
#!/usr/bin/perl #!/usr/bin/env perl
# CSV zu CSV für ikiwiki #===============================================================================
# Version 1 #
# FILE: csv2ikiwiki.pl
#
# USAGE: ./csv2ikiwiki.pl
#
# DESCRIPTION:
#
# OPTIONS: ---
# REQUIREMENTS: ---
# BUGS: ---
# NOTES: ---
# AUTHOR: Ralph J.Mayer (rm),
# ORGANIZATION:
# VERSION: 1.0
# CREATED: 05.09.2014 22:19:18
# REVISION: ---
#===============================================================================
use strict; use strict;
use warnings; use warnings;
use utf8;
my $file = $ARGV[0] or die "Need to get CSV file on the command line\n"; my $file = $ARGV[0] or die "Need to get CSV file on the command line\n";

View file

@ -1,9 +1,27 @@
#!/usr/bin/perl #!/usr/bin/env perl
# CSV zu Remind mit HTML für Webseite #===============================================================================
# Version 1 #
# FILE: csv2rem-html.pl
#
# USAGE: ./csv2rem-html.pl
#
# DESCRIPTION:
#
# OPTIONS: ---
# REQUIREMENTS: ---
# BUGS: ---
# NOTES: ---
# AUTHOR: Ralph J.Mayer (rm),
# ORGANIZATION:
# VERSION: 1.0
# CREATED: 05.09.2014 22:20:20
# REVISION: ---
#===============================================================================
use strict; use strict;
use warnings; use warnings;
use utf8;
use DateTime; use DateTime;
my $file = $ARGV[0] or die "Need to get CSV file on the command line\n"; my $file = $ARGV[0] or die "Need to get CSV file on the command line\n";

View file

@ -1,9 +1,27 @@
#!/usr/bin/perl #!/usr/bin/env perl
# CSV zu Remind #===============================================================================
# Version 1 #
# FILE: csv2rem-ics.pl
#
# USAGE: ./csv2rem-ics.pl
#
# DESCRIPTION:
#
# OPTIONS: ---
# REQUIREMENTS: ---
# BUGS: ---
# NOTES: ---
# AUTHOR: Ralph J.Mayer (rm),
# ORGANIZATION:
# VERSION: 1.0
# CREATED: 05.09.2014 22:20:45
# REVISION: ---
#===============================================================================
use strict; use strict;
use warnings; use warnings;
use utf8;
use DateTime; use DateTime;
my $file = $ARGV[0] or die "Need to get CSV file on the command line\n"; my $file = $ARGV[0] or die "Need to get CSV file on the command line\n";

View file

@ -1,10 +1,27 @@
#!/usr/bin/perl #!/usr/bin/env perl
# CSV zu CSV für ikiwiki #===============================================================================
# Version 1 #
# FILE: csv2rem.pl
#
# USAGE: ./csv2rem.pl
#
# DESCRIPTION:
#
# OPTIONS: ---
# REQUIREMENTS: ---
# BUGS: ---
# NOTES: ---
# AUTHOR: Ralph J.Mayer (rm),
# ORGANIZATION:
# VERSION: 1.0
# CREATED: 05.09.2014 22:21:15
# REVISION: ---
#===============================================================================
use strict; use strict;
use warnings; use warnings;
use utf8;
my $file = $ARGV[0] or die "Need to get CSV file on the command line\n"; my $file = $ARGV[0] or die "Need to get CSV file on the command line\n";

View file

@ -1 +1 @@
10;6;2017;17;9;2017;dOCUMENTA;various;Kassel;Germany;http://www.documenta.de/ 10;6;2022;17;9;2022;dOCUMENTA;various;Kassel;Germany;http://www.documenta.de/

1 10 6 2017 2022 17 9 2017 2022 dOCUMENTA various Kassel Germany http://www.documenta.de/