X-Git-Url: https://hackdaworld.org/gitweb/?p=lectures%2Fdfb-slides.git;a=blobdiff_plain;f=parse.pl;h=ff374bcda01b87d579fcdcc1e9599efbbb1ed60d;hp=42f453f7f1ba91d6d5a595d75a4ec11dafe70dec;hb=9fbed0b74b8ec6ae70e10b0514cfd54254888069;hpb=3797656d7cd3de9c370a1b4d830d6cda47c7a88f diff --git a/parse.pl b/parse.pl index 42f453f..ff374bc 100755 --- a/parse.pl +++ b/parse.pl @@ -16,20 +16,39 @@ chomp @content; "slide right"); print "\n"; -print "\n"; +open(IN,"../head2xml header|") or die "no head2xml / header!!\n"; +while() { + print $_; +} +close(IN); + @topics=(); foreach(@content) { if((/^\d/) or (/^ \d/)) { push(@topics,$_); - #print STDERR "$_\n"; } } +print "\n\n"; +print "
Inhalt
\n\n"; +foreach(@topics) { + if(/^\d/) { + print "\n"; + $add="fgcolor=\"#ff00cc\""; + } + else { + $add=""; + } + print "$_\n"; +} +print "
\n\n"; + $topic=0; push(@content," 23");