]> hackdaworld.org Git - lectures/dfb-slides.git/commitdiff
jop
authorhunz <hunz>
Sat, 22 Mar 2003 01:21:20 +0000 (01:21 +0000)
committerhunz <hunz>
Sat, 22 Mar 2003 01:21:20 +0000 (01:21 +0000)
parse.pl

index d5695f2bca4301ca1e65d03079a4434c381597ea..a25052fa9a13ce2f4960665fe89fce227078015d 100755 (executable)
--- a/parse.pl
+++ b/parse.pl
@@ -5,11 +5,18 @@ chomp @content;
 
 @slide=();
 
-print "<?xml version='1.0'?>\n";
-print "<slides effect=\"slide top left, blend\"
-        bgcolor=\"#000000\" fgcolor=\"#FFFFFF\" 
+@actions=( "slide top",
+                               "slide top right",
+                               "slide top left",
+                               "slide bottom",
+                               "slide bottom left",
+                               "slide bottom right",
+                               "slide left",
+                               "slide right");
+
+print "<?xml version='1.0' encoding='iso-8859-1'?>\n";
+print "<slides bgcolor=\"#222266\" fgcolor=\"#9999ff\" 
         face=\"../ttf/decker.ttf\" size=\"15\"
-        bgimage=\"../img/bg.png\"
         bullet=\"../img/bullet.png\"
         screen_width=\"1024\" screen_height=\"768\">\n";
 
@@ -20,12 +27,20 @@ foreach(@content) {
        s/&/&amp;/g;
        s/</&lt;/;
        s/>/&gt;/;
+       
+       #s/ue/ü/g;
+       #s/ae/ä/g;
+       #s/oe/ö/g;
+       
+       s/Ue/Ü/g;
+       s/Ae/Ä/g;
+       s/Oe/Ö/g;
        # unterpunkt
        if(/^ \d/) {
                if(@slide) {
                        print "<slide>\n";
                        pop(@slide);
-                       print "<header size=\"20\">$topic</header>\n<text></text>\n";
+                       print "<header size=\"20\" fgcolor=\"#22FF22\">$topic</header>\n<text></text>\n";
                        foreach(@slide) {
                                if(/ \+ /) {
                                        s/\+//;