chomp @content;
@slide=();
+@topics=();
@actions=( "",
"slide top",
"slide right");
print "<?xml version='1.0' encoding='iso-8859-1'?>\n";
-print "<slides bgcolor=\"#222266\" fgcolor=\"#9999ff\"
+print "\n<slides bgcolor=\"#222266\" fgcolor=\"#9999ff\"
face=\"../ttf/decker.ttf\" size=\"15\"
bullet=\"../img/bullet.png\"
screen_width=\"1024\" screen_height=\"768\">\n";
-@topics=();
+open(IN,"../head2xml header|") or die "no head2xml / header!!\n";
+while(<IN>) {
+ print $_;
+}
+close(IN);
foreach(@content) {
if((/^\d/) or (/^ \d/)) {
push(@topics,$_);
- #print STDERR "$_\n";
}
}
+print "\n<slide effect=\"slide top left, blend\">\n";
+print "<header size=\"20\" fgcolor=\"#22FF22\">Inhalt</header>\n<text></text>\n";
+foreach(@topics) {
+ if(/^\d/) {
+ print "<text></text>\n";
+ $add="fgcolor=\"#ff00cc\"";
+ }
+ else {
+ $add="";
+ }
+ print "<text $add>$_</text>\n";
+}
+print "</slide>\n\n";
+
$topic=0;
push(@content," 23");
foreach(@content) {
s/\#.*//;
+ if(not /^\s+$/) {
s/&/&/g;
s/</</;
s/>/>/;
push(@slide,$_);
}
}
+}
print "</slides>\n";
\ No newline at end of file