Commits

shl...@cec68495-dca5-4e2b-845c-11fdaaa4f967  committed 030af78

Made the conversion to gen-helpers.pl. Fixed some bugs in the process.

  • Participants
  • Parent commits e407dcd
  • Branches conversion-to-latemp

Comments (0)

Files changed (12)

 WML_FLAGS += --passoption=2,-X3074 --passoption=3,-I../lib/ --passoption=3,-w -I../lib/ -DROOT~.
 
-# t2 macros
-
-include make_helpers/include.mak
-
 ALL_DEST_BASE = dest
 
-T2_DEST_BASE = $(ALL_DEST_BASE)
-T2_DEST_DIR = t2-homepage
-T2_DEST = $(T2_DEST_BASE)/$(T2_DEST_DIR)
+all: latemp_targets
+	
+include include.mak
+include rules.mak
 
-
-
-T2_WML_FLAGS = $(WML_FLAGS) -DSERVER=t2
-
-T2_DOCS_DEST = $(patsubst t2/%.wml,$(T2_DEST)/%,$(T2_DOCS))
-
-T2_DIRS_DEST = $(patsubst t2/%,$(T2_DEST)/%,$(T2_DIRS))
-
-T2_IMAGES_DEST = $(patsubst t2/%,$(T2_DEST)/%,$(T2_IMAGES))
-
-T2_COMMON_IMAGES_DEST = $(patsubst common/%,$(T2_DEST)/%,$(COMMON_IMAGES))
-
-T2_COMMON_DIRS_DEST = $(patsubst common/%,$(T2_DEST)/%,$(COMMON_DIRS))
-
-
-
-# vipe macros
-
-VIPE_DEST_BASE = $(ALL_DEST_BASE)
-VIPE_DEST_DIR = vipe-homepage
-VIPE_DEST = $(VIPE_DEST_BASE)/$(VIPE_DEST_DIR)
-
-VIPE_WML_FLAGS = $(WML_FLAGS) -DSERVER=vipe
-
-VIPE_DOCS_DEST = $(patsubst vipe/%.wml,$(VIPE_DEST)/%,$(VIPE_DOCS))
-
-VIPE_DIRS_DEST = $(patsubst vipe/%,$(VIPE_DEST)/%,$(VIPE_DIRS))
-
-VIPE_IMAGES_DEST = $(patsubst vipe/%,$(VIPE_DEST)/%,$(VIPE_IMAGES))
-
-VIPE_COMMON_IMAGES_DEST = $(patsubst common/%,$(VIPE_DEST)/%,$(COMMON_IMAGES))
-
-VIPE_COMMON_DIRS_DEST = $(patsubst common/%,$(VIPE_DEST)/%,$(COMMON_DIRS))
-
-T2_TARGETS = $(T2_DIRS_DEST) $(T2_COMMON_DIRS_DEST) $(T2_COMMON_IMAGES_DEST) $(T2_IMAGES_DEST) $(T2_DOCS_DEST) 
-
-VIPE_TARGETS = $(VIPE_DIRS_DEST) $(VIPE_COMMON_DIRS_DEST) $(VIPE_COMMON_IMAGES_DEST) $(VIPE_IMAGES_DEST) $(VIPE_DOCS_DEST) 
-
-all: $(T2_TARGETS) $(VIPE_TARGETS)
-#all: $(T2_DIRS_DEST) $(T2_DOCS_DEST) 
+# t2 macros
 
 RSYNC = rsync --progress --verbose --rsh=ssh
 
 	rm -fr $(VIPE_DEST)/*
 
 DOCS_COMMON_DEPS = template.wml lib/MyNavData.pm
-# t2 targets
-$(T2_DOCS_DEST) :: $(T2_DEST)/% : t2/%.wml t2/.wmlrc $(DOCS_COMMON_DEPS) 
-	( cd t2 && wml $(T2_WML_FLAGS) -DFILENAME=$(patsubst $(T2_DEST)/%,%,$(patsubst %.wml,%,$@)) $(patsubst t2/%,%,$<) ) > $@
 
-$(T2_DIRS_DEST) :: $(T2_DEST)/% : unchanged
-	mkdir -p $@
+t2/SFresume.html.wml : lib/SFresume_base.wml
 	touch $@
 
-$(T2_IMAGES_DEST) :: $(T2_DEST)/% : t2/%
-	cp -f $< $@
-
-$(T2_COMMON_IMAGES_DEST) :: $(T2_DEST)/% : common/%
-	cp -f $< $@
-
-$(T2_COMMON_DIRS_DEST) :: $(T2_DEST)/% : unchanged
-	mkdir -p $@
-	touch $@
-
-
-# vipe targets
-
-$(VIPE_DOCS_DEST) :: $(VIPE_DEST)/% : vipe/%.wml vipe/.wmlrc $(DOCS_COMMON_DEPS)
-	( cd vipe && wml $(VIPE_WML_FLAGS) -DFILENAME=$(patsubst $(VIPE_DEST)/%,%,$(patsubst %.wml,%,$@)) $(patsubst vipe/%,%,$<) ) > $@
-
-$(VIPE_DIRS_DEST) :: $(VIPE_DEST)/% : unchanged
-	mkdir -p $@
-	touch $@
-
-$(VIPE_IMAGES_DEST) :: $(VIPE_DEST)/% : vipe/%
-	cp -f $< $@
-
-$(VIPE_COMMON_IMAGES_DEST) :: $(VIPE_DEST)/% : common/%
-	cp -f $< $@
-
-$(VIPE_COMMON_DIRS_DEST) :: $(VIPE_DEST)/% : unchanged
-	mkdir -p $@
-	touch $@
-
-t2/SFresume.html.wml : t2/SFresume_base.wml
-	touch $@
-
-t2/SFresume_detailed.html.wml : t2/SFresume_base.wml
+t2/SFresume_detailed.html.wml : lib/SFresume_base.wml
 	touch $@
 
 t2/philosophy/Index/index.html.wml : lib/article-index/article-index.dtd lib/article-index/article-index.xml lib/article-index/article-index.xsl

File gen-helpers.pl

+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+use lib "/home/shlomi/progs/wml/Latemp/latemp/trunk/multi-host-site";
+
+use HTML::Latemp::GenMakeHelpers;
+
+my $generator = 
+    HTML::Latemp::GenMakeHelpers->new(
+        'hosts' =>
+        [ map { 
+            +{ 'id' => $_, 'source_dir' => $_, 
+                'dest_dir' => "\$(ALL_DEST_BASE)/$_-homepage" 
+            } 
+        } (qw(common t2 vipe)) ],
+    );
+    
+$generator->process_all();
+
+1;
+

File lib/SFresume_base.wml

+#include '../template.wml'
+
+<define-tag detailed endtag="required">
+<if "<get-var is:detailed />" "%body" "" />
+</define-tag>
+
+<define-tag undetailed endtag="required">
+<if "<get-var is:detailed />" "" "%body" />
+</define-tag>
+
+<subject "Shlomi Fish' Resume" />
+
+<br />
+<br />
+
+Shlomi Fish<br />
+4 Hakim Eliyaho St.<br />
+Tel Aviv, 69120<br />
+Phone Number: 03-6424668<br />
+Cell Phone: 054-6232377<br />
+Fax Number: 03-6414319<br />
+E-mail Address: shlomif@iglu.org.il<br />
+Home Page: http://www.shlomifish.org/<br />
+<br />
+<br />
+<br />
+
+<table cellspacing="0" cellpadding="7" class="cv" summary="main C.V. table. Left Column contains the dates. Right Column contains the entries">
+
+<tr>
+<td colspan="2">
+<h2>Education</h2>
+</td>
+</tr>
+
+<tr>
+<td>
+1997 - 2003<br />
+</td>
+<td>
+The Technion<br />
+B.Sc. in Electrical Engineering (Proper)<br />
+Average: 84.6% (Cum Laude)<br />
+</td>
+</tr>
+
+<tr>
+<td>
+1991-1995
+</td>
+<td>
+Gymnasia Ivrit "Herzlia"<br />
+Major Subjects: Mathematics, English, Physics and Arabic<br />
+</td>
+</tr>
+
+<tr>
+<td colspan="2">
+<h2>Experience</h2>
+</td>
+</tr>
+
+<tr>
+<td colspan="2">
+<h3>Programming</h3>
+</td>
+</tr>
+
+<tr>
+    <td>
+    2001 - Present
+    </td>
+    <td>
+<undetailed>
+The Israeli Group of Linux Users Server<br />
+Co-Administrator<br />
+<br />
+Administrating a 100% uptime server carrying FTP, SMTP and numerous
+WWW-services.
+</undetailed>
+<detailed>    
+        <p>
+        An Administrator for the <a href="http://www.iglu.org.il/">iglu.org.il</a>
+        site.
+        </p>
+
+
+        <p>
+        Maintaining several online services supported by the main server of 
+        the Israeli Group of Linux Users (IGLU). Experience with Apache, Zope,
+        Perl, rsync, qmail and other programs. Created several online pieces
+        of content using these tools.
+        </p>
+</detailed>
+    </td>
+</tr>
+<detailed>
+<tr>
+    <td>
+        1999-Present
+    </td>
+    <td>
+        <p>
+        Maintaining a private Linux workstation
+        </p>
+
+        <p>
+        Maintained several home systems and one at the Computer Networks 
+        Laboratory of the EE Department of the Technion. Experience with 
+        package maintenance, system configuration, installing software, 
+        fixing glitches, and daily use. Used RedHat Linux (version 5.x, 6.x) 
+        and Mandrake Linux (version 7.x, 8.2 and 9.x).
+        </p>
+
+    </td>
+</tr>
+</detailed>
+<tr>
+<td>
+2000
+</td>
+<td>
+    <a href="http://vipe.technion.ac.il/~shlomif/freecell-solver/">Freecell Solver</a> (an independent project)<br />
+Main Programmer<br />
+<br />
+<undetailed>
+A C program that automatically solves games of Freecell and similar variants
+of card solitaire.<br />
+</undetailed>
+<detailed>
+<p>
+Started a C project to automatically solved games of Freecell. Continued in
+adding more features, optimizations, and clean-ups. Experienced with ANSI C
+Programming, writing portable code, Autoconf/Automake/Libtool, GNU Make, 
+Writing RPM Specs, maintaining a web-site and interacting with users and co-developers over the 
+Internet.
+</p>
+
+<p>
+Freecell Solver is distributed under the public domain, and has been integrated
+into three Freecell implementations so far. 
+</p>
+</detailed>
+</td>
+</tr>
+
+
+<tr>
+<td>
+1997
+</td>
+<td>
+MikMod for Java (an independent project)<br />
+Programmer<br />
+<br />
+Converting a program from ANSI C to Java<br />
+<detailed>
+<br />
+Mod Files are music files whose instruments are given as samples, and are 
+played at different notes and effects to create the melody. The conversion 
+was done by converting to C++, and then several steps of Javaization. The 
+resultant code was working and produced good output, but was not very conformant
+to the Java style.
+</detailed>
+</td>
+</tr>
+
+<tr>
+<td>
+January 1997 - October 1997
+</td>
+<td>
+Smart Link Ltd.<br />
+Programmer and Tester<br />
+<br />
+Testing a software-based modem (Modio), Windows 95 Programming<br />
+<detailed>
+<br />
+<p>
+I began working at Smart-Link as a tester for their software-based modem
+which was based on a soundcare and implemented the connection logic and the DSP
+in software. I worked with Windows 95 and Windows 95 OSR2. When Smart-Link hired
+a dedicated and more experienced Q&amp;A Engineer, I became a part-time tester/
+high-level programmer/general jack-of-all-trades.
+</p>
+
+<p>
+I worked with the Windows Drivers, MFC, Perl for Win32, DJGPP, Cygwin, a myriad
+of games and modem-related software, as well as Microsoft IIS.
+</p>
+</detailed>
+</td>
+</tr>
+
+<tr>
+<td>
+April 1996 - October 1996
+</td>
+<td>
+Cortext Inc.<br />
+Programmer, WWW Site Maintainer, Limited UNIX Maintenance<br />
+<br />
+HTML composition, CGI programming, TCP/IP client/server programs<br />
+<br />
+<detailed>
+<p>
+I worked in Cortext as a web-designer and CGI programmer. I worked with HTML, 
+Apache, Perl, various UNIX flavours (FreeBSD, SunOS 4.1.3, IRIX) and Windows
+95 Workstations. Built several sites there, while still using almost exclusively
+Perl due to my limited knowledge (at that point) of UNIX.
+</p>
+</detailed>
+</td>
+</tr>
+
+<tr>
+<td>
+June 1995 - March 1996
+</td>
+<td>
+Elpas Electro-optic Systems, Ltd.<br />
+Chief Programmer of EIRIS (Elpas Infra-Red Identification System)<br />
+<br />
+Databases, client/server programs (with NetDDE), English/Hebrew
+MS-Windows GUI<br />
+<br />
+<detailed>
+<p>
+Elpas manufactured a network of sensors that was installed in each room
+of a building (say a hospital), received input from infra-red badges, that made
+it possible to determine where each person or piece of equipment was located. I
+maintained the software that ran on a centralized computer, received the raw 
+input from the sensors and processed it. My main issue was to replace an SCO 
+UNIX server software with something internal of out own. We inspected working
+with Microsoft Access and ODBC, and eventually realized our own in-memory data
+managing was the most suitable solution due to the real-time nature of the application. 
+</p>
+<p>
+Specialized in Windows (16-bit) Programming, SQL, ODBC, ANSI C and C++. Worked
+primarily with Borland C++ 4.5 and the Microsoft Developer Network CD.
+</p>
+</detailed>
+</td>
+</tr>
+
+<tr>
+<td colspan="2">
+<h3>Mathematics</h3>
+</td>
+</tr>
+
+<tr>
+<td>
+1994
+</td>
+<td>
+1st place, first Annual Israel's Mathematics Contest for School Teams<br />
+Along with: Kobi Karlibakh, Or Tsok and Amit Zinger<br />
+</td>
+</tr>
+
+<tr>
+<td colspan="2">
+<h3>Creative Writing</h3>
+</td>
+</tr>
+
+<tr>
+<td>
+1998
+</td>
+<td>
+The One with The Fountainhead<br />
+<br />
+A parody on "The Fountainhead" (by Ayn Rand) modelled on an episode of
+"Friends"<br />
+</td>
+</tr>
+
+<tr>
+<td>
+1996-1997
+</td>
+<td>
+The Enemy and How I Helped to Fight it<br />
+<br />
+A satire about the situation in the Israeli-Lebanese border<br />
+</td>
+</tr>
+
+<tr>
+<td colspan="2">
+<h2>References</h2>
+</td>
+</tr>
+
+<tr>
+<td colspan="2">
+Will be supplied upon request
+</td>
+</tr>
+
+<tr>
+<td colspan="2">
+<h2>Fields of Expertise</h2>
+</td>
+</tr>
+
+<tr>
+<td>
+<b>Programming Languages:</b>
+</td>
+<td>
+C/C++, Perl, Basic, Java, JavaScript, 
+Object Pascal, Bourne Shell, Scheme, Haskell,
+Matlab
+</td>
+</tr>
+
+<tr>
+<td>
+<b>Operating Systems:</b>
+</td>
+<td>
+UNIX (Linux, FreeBSD, others), Windows 95/98, Windows 3.11, DOS
+</td>
+</tr>
+
+<tr>
+<td>
+<b>Databases:</b>
+</td>
+<td>
+SQL, Delphi, ODBC, MS-Access, miniSQL/MySQL, PostgreSQL
+</td>
+</tr>
+
+<tr>
+<td>
+<b>Internet Related:</b>
+</td>
+<td>
+HTML, CGI programming, JavaScript, TCP/IP Sockets, Web Meta Language
+</td>
+</tr>
+
+<tr>
+<td>
+<b>Various Programs:</b>
+</td>
+<td>
+Word, Excel, WordPerfect, Corel-Draw, The GIMP, LaTeX, DocBook/XML
+</td>
+</tr>
+
+<tr>
+<td>
+<b>Development Tools:</b>
+</td>
+<td>
+Autoconf/Automake/Libtool, CVS, Subversion, BitKeeper
+</td>
+</tr>
+
+<tr>
+<td colspan="2">
+<h2>Personal</h2>
+</td>
+</tr>
+
+<tr>
+<td colspan="2">
+Born May 5, 1977<br />
+Single<br />
+</td>
+</tr>
+
+</table>

File t2/.bash_history

-cd h:
-ls
-exit
-cd h:
-ls
-ls --color
-ls --color -l
-ls -l --color
-ls -l --color
-ls
-ls --color
-ls
-less c:/Shlomi/Download/send.bat 
-cd c:
-cd .,
-cd ..
-cd cgi-bin
-ls
-ls *.exe
-cp temp.exe h:
-temp
-./temp
-h:
-cd h:
-cp c:/msdev/Projects/stl/Debug/stl.exe .
-ls
-./stl.exe 
-./stl.exe 
-ls
-rm -fr temp.exe 
-rm temp.exe 
-exit

File t2/.wmlrc

--DROOT~.

File t2/SFresume.html.wml

 <set-var is:detailed="" />
 
-#include 'SFresume_base.wml'
+#include "SFresume_base.wml"
 

File t2/SFresume_base.wml

-#include '../template.wml'
-
-<define-tag detailed endtag="required">
-<if "<get-var is:detailed />" "%body" "" />
-</define-tag>
-
-<define-tag undetailed endtag="required">
-<if "<get-var is:detailed />" "" "%body" />
-</define-tag>
-
-<subject "Shlomi Fish' Resume" />
-
-<br />
-<br />
-
-Shlomi Fish<br />
-4 Hakim Eliyaho St.<br />
-Tel Aviv, 69120<br />
-Phone Number: 03-6424668<br />
-Cell Phone: 054-6232377<br />
-Fax Number: 03-6414319<br />
-E-mail Address: shlomif@iglu.org.il<br />
-Home Page: http://www.shlomifish.org/<br />
-<br />
-<br />
-<br />
-
-<table cellspacing="0" cellpadding="7" class="cv" summary="main C.V. table. Left Column contains the dates. Right Column contains the entries">
-
-<tr>
-<td colspan="2">
-<h2>Education</h2>
-</td>
-</tr>
-
-<tr>
-<td>
-1997 - 2003<br />
-</td>
-<td>
-The Technion<br />
-B.Sc. in Electrical Engineering (Proper)<br />
-Average: 84.6% (Cum Laude)<br />
-</td>
-</tr>
-
-<tr>
-<td>
-1991-1995
-</td>
-<td>
-Gymnasia Ivrit "Herzlia"<br />
-Major Subjects: Mathematics, English, Physics and Arabic<br />
-</td>
-</tr>
-
-<tr>
-<td colspan="2">
-<h2>Experience</h2>
-</td>
-</tr>
-
-<tr>
-<td colspan="2">
-<h3>Programming</h3>
-</td>
-</tr>
-
-<tr>
-    <td>
-    2001 - Present
-    </td>
-    <td>
-<undetailed>
-The Israeli Group of Linux Users Server<br />
-Co-Administrator<br />
-<br />
-Administrating a 100% uptime server carrying FTP, SMTP and numerous
-WWW-services.
-</undetailed>
-<detailed>    
-        <p>
-        An Administrator for the <a href="http://www.iglu.org.il/">iglu.org.il</a>
-        site.
-        </p>
-
-
-        <p>
-        Maintaining several online services supported by the main server of 
-        the Israeli Group of Linux Users (IGLU). Experience with Apache, Zope,
-        Perl, rsync, qmail and other programs. Created several online pieces
-        of content using these tools.
-        </p>
-</detailed>
-    </td>
-</tr>
-<detailed>
-<tr>
-    <td>
-        1999-Present
-    </td>
-    <td>
-        <p>
-        Maintaining a private Linux workstation
-        </p>
-
-        <p>
-        Maintained several home systems and one at the Computer Networks 
-        Laboratory of the EE Department of the Technion. Experience with 
-        package maintenance, system configuration, installing software, 
-        fixing glitches, and daily use. Used RedHat Linux (version 5.x, 6.x) 
-        and Mandrake Linux (version 7.x, 8.2 and 9.x).
-        </p>
-
-    </td>
-</tr>
-</detailed>
-<tr>
-<td>
-2000
-</td>
-<td>
-    <a href="http://vipe.technion.ac.il/~shlomif/freecell-solver/">Freecell Solver</a> (an independent project)<br />
-Main Programmer<br />
-<br />
-<undetailed>
-A C program that automatically solves games of Freecell and similar variants
-of card solitaire.<br />
-</undetailed>
-<detailed>
-<p>
-Started a C project to automatically solved games of Freecell. Continued in
-adding more features, optimizations, and clean-ups. Experienced with ANSI C
-Programming, writing portable code, Autoconf/Automake/Libtool, GNU Make, 
-Writing RPM Specs, maintaining a web-site and interacting with users and co-developers over the 
-Internet.
-</p>
-
-<p>
-Freecell Solver is distributed under the public domain, and has been integrated
-into three Freecell implementations so far. 
-</p>
-</detailed>
-</td>
-</tr>
-
-
-<tr>
-<td>
-1997
-</td>
-<td>
-MikMod for Java (an independent project)<br />
-Programmer<br />
-<br />
-Converting a program from ANSI C to Java<br />
-<detailed>
-<br />
-Mod Files are music files whose instruments are given as samples, and are 
-played at different notes and effects to create the melody. The conversion 
-was done by converting to C++, and then several steps of Javaization. The 
-resultant code was working and produced good output, but was not very conformant
-to the Java style.
-</detailed>
-</td>
-</tr>
-
-<tr>
-<td>
-January 1997 - October 1997
-</td>
-<td>
-Smart Link Ltd.<br />
-Programmer and Tester<br />
-<br />
-Testing a software-based modem (Modio), Windows 95 Programming<br />
-<detailed>
-<br />
-<p>
-I began working at Smart-Link as a tester for their software-based modem
-which was based on a soundcare and implemented the connection logic and the DSP
-in software. I worked with Windows 95 and Windows 95 OSR2. When Smart-Link hired
-a dedicated and more experienced Q&amp;A Engineer, I became a part-time tester/
-high-level programmer/general jack-of-all-trades.
-</p>
-
-<p>
-I worked with the Windows Drivers, MFC, Perl for Win32, DJGPP, Cygwin, a myriad
-of games and modem-related software, as well as Microsoft IIS.
-</p>
-</detailed>
-</td>
-</tr>
-
-<tr>
-<td>
-April 1996 - October 1996
-</td>
-<td>
-Cortext Inc.<br />
-Programmer, WWW Site Maintainer, Limited UNIX Maintenance<br />
-<br />
-HTML composition, CGI programming, TCP/IP client/server programs<br />
-<br />
-<detailed>
-<p>
-I worked in Cortext as a web-designer and CGI programmer. I worked with HTML, 
-Apache, Perl, various UNIX flavours (FreeBSD, SunOS 4.1.3, IRIX) and Windows
-95 Workstations. Built several sites there, while still using almost exclusively
-Perl due to my limited knowledge (at that point) of UNIX.
-</p>
-</detailed>
-</td>
-</tr>
-
-<tr>
-<td>
-June 1995 - March 1996
-</td>
-<td>
-Elpas Electro-optic Systems, Ltd.<br />
-Chief Programmer of EIRIS (Elpas Infra-Red Identification System)<br />
-<br />
-Databases, client/server programs (with NetDDE), English/Hebrew
-MS-Windows GUI<br />
-<br />
-<detailed>
-<p>
-Elpas manufactured a network of sensors that was installed in each room
-of a building (say a hospital), received input from infra-red badges, that made
-it possible to determine where each person or piece of equipment was located. I
-maintained the software that ran on a centralized computer, received the raw 
-input from the sensors and processed it. My main issue was to replace an SCO 
-UNIX server software with something internal of out own. We inspected working
-with Microsoft Access and ODBC, and eventually realized our own in-memory data
-managing was the most suitable solution due to the real-time nature of the application. 
-</p>
-<p>
-Specialized in Windows (16-bit) Programming, SQL, ODBC, ANSI C and C++. Worked
-primarily with Borland C++ 4.5 and the Microsoft Developer Network CD.
-</p>
-</detailed>
-</td>
-</tr>
-
-<tr>
-<td colspan="2">
-<h3>Mathematics</h3>
-</td>
-</tr>
-
-<tr>
-<td>
-1994
-</td>
-<td>
-1st place, first Annual Israel's Mathematics Contest for School Teams<br />
-Along with: Kobi Karlibakh, Or Tsok and Amit Zinger<br />
-</td>
-</tr>
-
-<tr>
-<td colspan="2">
-<h3>Creative Writing</h3>
-</td>
-</tr>
-
-<tr>
-<td>
-1998
-</td>
-<td>
-The One with The Fountainhead<br />
-<br />
-A parody on "The Fountainhead" (by Ayn Rand) modelled on an episode of
-"Friends"<br />
-</td>
-</tr>
-
-<tr>
-<td>
-1996-1997
-</td>
-<td>
-The Enemy and How I Helped to Fight it<br />
-<br />
-A satire about the situation in the Israeli-Lebanese border<br />
-</td>
-</tr>
-
-<tr>
-<td colspan="2">
-<h2>References</h2>
-</td>
-</tr>
-
-<tr>
-<td colspan="2">
-Will be supplied upon request
-</td>
-</tr>
-
-<tr>
-<td colspan="2">
-<h2>Fields of Expertise</h2>
-</td>
-</tr>
-
-<tr>
-<td>
-<b>Programming Languages:</b>
-</td>
-<td>
-C/C++, Perl, Basic, Java, JavaScript, 
-Object Pascal, Bourne Shell, Scheme, Haskell,
-Matlab
-</td>
-</tr>
-
-<tr>
-<td>
-<b>Operating Systems:</b>
-</td>
-<td>
-UNIX (Linux, FreeBSD, others), Windows 95/98, Windows 3.11, DOS
-</td>
-</tr>
-
-<tr>
-<td>
-<b>Databases:</b>
-</td>
-<td>
-SQL, Delphi, ODBC, MS-Access, miniSQL/MySQL, PostgreSQL
-</td>
-</tr>
-
-<tr>
-<td>
-<b>Internet Related:</b>
-</td>
-<td>
-HTML, CGI programming, JavaScript, TCP/IP Sockets, Web Meta Language
-</td>
-</tr>
-
-<tr>
-<td>
-<b>Various Programs:</b>
-</td>
-<td>
-Word, Excel, WordPerfect, Corel-Draw, The GIMP, LaTeX, DocBook/XML
-</td>
-</tr>
-
-<tr>
-<td>
-<b>Development Tools:</b>
-</td>
-<td>
-Autoconf/Automake/Libtool, CVS, Subversion, BitKeeper
-</td>
-</tr>
-
-<tr>
-<td colspan="2">
-<h2>Personal</h2>
-</td>
-</tr>
-
-<tr>
-<td colspan="2">
-Born May 5, 1977<br />
-Single<br />
-</td>
-</tr>
-
-</table>

File t2/SFresume_detailed.html.wml

 <set-var is:detailed="true" />
 
-#include 'SFresume_base.wml'
+#include "SFresume_base.wml"
 

File template.wml

 use MyNavData;
 use HTML::Widgets::NavMenu;
 
-my $filename = "$(FILENAME)";
+my $filename = "$(LATEMP_FILENAME)";
 $filename =~ s!index\.html$!!;
 $filename = "/$filename";
 
 
 $nav_bar = HTML::Widgets::NavMenu->new(
     'path_info' => $filename,
-    'current_host' => "$(SERVER)",
+    'current_host' => "$(LATEMP_SERVER)",
     MyNavData::get_params(),
     'ul_classes' => [ "navbarmain", ("navbarnested") x 10 ],
     );
 <set-var host=<if "<get-var host />" "<get-var host />" "t2" /> />
 <if <match "<get-var url />" "^http://" action="report" />
     "<get-var url />" 
-    <ifeq "$(SERVER)" "<get-var host />"
+    <ifeq "$(LATEMP_SERVER)" "<get-var host />"
         "$(ROOT)/<get-var url />"
         <ifeq "<get-var host />" "t2"
             "http://www.shlomifish.org/<get-var url />"
 
 ;;; If it is the t2 index than display the hosted:at:tech macro
 ;;; Else - display the back to my homepage image
-<if <ifeq "$(FILENAME)" "index.html" 
-        <ifeq "$(SERVER)" "t2" "t2" "" /> "" /> 
+<if <ifeq "$(LATEMP_FILENAME)" "index.html" 
+        <ifeq "$(LATEMP_SERVER)" "t2" "t2" "" /> "" /> 
     <hosted:at:tech />
     <backtomyhp />
     />

File vipe/.htaccess

-Options +Indexes

File vipe/.wmlrc

--DROOT~.

File vipe/std/logo.wml

-##
-##  wml::std::logo - Logo Insertion
-##  Copyright (c) 1997-2001 Ralf S. Engelschall, All Rights Reserved. 
-##
-
-#  The <preserve>/<restore> tags with multiple arguments require WML 2.0.3
-#use wml::mod::version
-<require 2.0.3 />
-
-#use wml::std::tags
-
-#
-#  Insert a Logo image
-#
-<define-tag logo>
-<preserve name base file format target notag />
-<set-var notag=* />
-<set-var %attributes />
-<defvar name wml />
-<defvar base <or <get-var LOGO_BASE /> <get-var IMAGE_BASE /> /> />
-<defvar format <or <get-var IMAGE_FORMAT /> png /> />
-<perl>
-    my $name   = '<get-var name />';
-    my $ext    = '<get-var format />';
-    my $base   = '<get-var base />';
-    my $file   = '<get-var file />';
-    my $target = '<get-var target />';
-    my $notag  = (qq|<get-var notag />| eq '' ? 1 : 0);
-
-    my $imgfile  = "$(WML_LOC_LIBDIR)/data/logos/logo-$name.$ext";
-    my $infofile = "$(WML_LOC_LIBDIR)/data/logos/logo-$name.info";
-
-    #   make sure the logo exists
-    if (! -f $imgfile or ! -f $infofile) {
-        print STDERR "Error: No such logo named '$name'.\n";
-        exit(1);
-    }
-
-    #   create the output filename
-    if ($file eq '') {
-        if ($base ne '' && $base !~ m|/$|) {
-            if (-d $base) {
-                $base .= '/';
-            }
-            else {
-                $base .= '.';
-            }
-        }
-        $file = sprintf("%slogo-%s.%s", $base, $name, $ext);
-    }
-
-    open(FH_LOGO, "<$infofile");
-    my $alt  = <*FH_LOGO>; $alt  =~ s|^\s+||; $alt  =~ s|\n$||; $alt  =~ s|\s+$||;
-    my $hint = <*FH_LOGO>; $hint =~ s|^\s+||; $hint =~ s|\n$||; $hint =~ s|\s+$||;
-    my $url  = <*FH_LOGO>; $url  =~ s|^\s+||; $url  =~ s|\n$||; $url  =~ s|\s+$||;
-    close(FH_LOGO);
-
-    #   create the logo image copy
-    my $error = `cp $imgfile $file`;
-    if ($? >> 8) {
-        print STDERR "** wml::std::logo:\n$error";
-        exit(1);
-    }
-
-    #   insert the markup code
-    if (not $notag) {
-        <perl:print>\
-           <*a href="$url" \
-              onmouseover="self.status='$hint';return true" \
-              onmouseout="self.status='';return true" \
-              onfocus="self.status='$hint';return true" \
-              onblur="self.status='';return true"\
-        </perl:print>
-        if ($target ne '') {
-          <perl:print> target="$target"</perl:print>
-        }
-        <perl:print>\
-           ><img src="$file" alt="$alt" style="border:0" /><*/a>\
-        </perl:print>
-    }
-</perl>
-<restore  name base file format target notag />
-</define-tag>
-
-##EOF##