Commits

Anonymous committed 6a1c5be

Merged the changes from the "conversion-to-latemp" branch. I.e: we are now
using Latemp here.

Comments (0)

Files changed (87)

-WML_FLAGS += --passoption=2,-X3074 --passoption=3,-I../lib/ --passoption=3,-w -I../lib/ -DROOT~.
-
-# t2 macros
-
-include make_helpers/include.mak
+WML_FLAGS += --passoption=2,-X3074 --passoption=3,-I../lib/ --passoption=3,-w -I../lib/ -I/home/shlomi/progs/wml/Latemp/latemp/trunk/multi-host-site/lib -DROOT~. -DLATEMP_THEME=shlomifish.org-tabular-1
 
 ALL_DEST_BASE = dest
 
-T2_DEST_BASE = $(ALL_DEST_BASE)
-T2_DEST_DIR = t2-homepage
-T2_DEST = $(T2_DEST_BASE)/$(T2_DEST_DIR)
+DOCS_COMMON_DEPS = template.wml lib/MyNavData.pm
 
+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 $(T2_DEST)/*
 	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

common/images/arrow-left-disabled.png

Added
New image

common/images/arrow-right-disabled.png

Added
New image

common/images/arrow-up-disabled.png

Added
New image
     font-size : small;
     margin-left : 0.3em;
 }
+
+.nav_links
+{
+    text-align: center;
+    padding-left : 0em;
+    padding-top : 0em;
+}
+.nav_links li
+{
+    display: inline;
+    list-style-type: none;
+    padding-right: 0.2em;
+    padding-top: 0em;
+}
+
 p.desc { margin-left : 3em }
 ul.navbarmain { padding-left : 1em ; margin-left : 1em }
 ul.navbarnested { padding-left : 0em ; margin-left : 2em }
 {
     background-color : #FFA500; /* orange */
 }
+/* Border-less */
+.bless
+{
+    border : none;
+}
+
+#!/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;
+

lib/MyNavLinks.pm

+package MyNavLinks;
+
+use strict;
+use warnings;
+
+use vars qw($nav_buttons_html);
+
+use base 'Class::Accessor';
+
+__PACKAGE__->mk_accessors(qw(root nav_links));
+
+use Template;
+
+# load Template::Stash to make method tables visible
+use Template::Stash;
+
+# Define a method to return a substring.
+$Template::Stash::SCALAR_OPS->{ 'substr' } = sub {
+    return substr($_[0], $_[1], $_[2]);
+};
+
+
+sub new
+{
+    my $class = shift;
+    my $self = {};
+    bless $self, $class;
+    $self->initialize(@_);
+    return $self;
+}
+
+sub initialize
+{
+    my $self = shift;
+    my %args = (@_);
+    %{$self} = %args;
+}
+
+sub get_nav_buttons_html
+{
+    my $self = shift;
+
+    my (%args) = (@_);
+    
+    my $with_accesskey = $args{'with_accesskey'};
+
+    my $nav_links = $self->nav_links();
+    my $root = $self->root();    
+
+    my $template = 
+        Template->new(
+        {
+            'POST_CHOMP' => 1,
+        }
+        );
+
+    my @buttons =
+    (
+        { 
+            'dir' => "prev", 
+            'button' => "left", 
+            'title' => "Previous Page",
+        },
+        { 
+            'dir' => "up", 
+            'button' => "up", 
+            'title' => "Up in the Site",
+        },
+        {
+            'dir' => "next", 
+            'button' => "right", 
+            'title' => "Next Page",
+        },
+    );
+
+    foreach my $button (@buttons)
+    {
+        my $dir = $button->{'dir'};
+        if ($button->{'exists'} = exists($nav_links->{$dir}))
+        {
+            $button->{'link'} = $nav_links->{$dir};
+        }
+    }
+    
+    my $vars = 
+    {
+        'buttons' => \@buttons,
+        'root' => $root,
+        'with_accesskey' => $with_accesskey,
+    };
+    
+    my $nav_links_template = <<'EOF';
+[% USE HTML %]
+[% FOREACH b = buttons %]
+[% SET key = b.dir.substr(0, 1) %]
+<li>
+[% IF b.exists %]
+<a href="[% HTML.escape(b.link) %]" title="[% b.title %] (Alt+[% key FILTER upper %])"
+[% IF with_accesskey %]
+accesskey="[% key %]"
+[% END %]
+>[% END %]<img src="[% root %]/images/arrow-[% b.button %][% UNLESS b.exists %]-disabled[% END %].png"
+alt="[% b.title %]" class="bless" />[% IF b.exists %]</a>
+[% END %]
+</li>
+[% END %]
+EOF
+    
+    my $nav_buttons_html = "";
+    
+    $template->process(\$nav_links_template, $vars, \$nav_buttons_html);
+    return $nav_buttons_html;
+}
+
+sub get_total_html
+{
+    my $self = shift;
+
+    return "<ul class=\"nav_links\">\n" .
+        $self->get_nav_buttons_html(@_) .
+        "\n</ul>";
+}
+
+1;
+

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>
+
+<latemp_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>

lib/latemp/themes/shlomifish.org-tabular-1/template.wml

+#include "utils.wml"
+
+<latemp_init_h_w_navmenu />
+
+# Utility Functions.
+<define-tag software_patents>1</define-tag>
+
+<define-tag printable_style>
+<style type="text/css">
+table.cv { width : 100% ; border : none ; }
+table.cv td { vertical-align : top }
+</style>
+</define-tag>
+
+<latemp_html_header standard="xhtml1.1" />
+<latemp_html_head_tag />
+<body>
+<define-tag start_table>
+<table summary="Layout Table: The first cell contains a navigation bar, the second the main page" border="0" width="99%">
+<tr>
+<td colspan="2" class="leading_path">
+<latemp_get_breadcrumbs_trail />
+</td>
+</tr>
+<tr>
+<td valign="top" class="navbar" style="width:20%">
+
+<if "<software_patents />" 
+    "<div class="center"><a href="http://swpat.ffii.org/" 
+     title="Stop Software Patents!"><img 
+     src="$(ROOT)/images/noepatents_liberty.png" 
+     alt="Stop Software Patents" class="highlight" 
+     style="border:0;margin-bottom:0.5em;" /></a></div>"
+    ""
+    />
+<latemp_get_html_body_nav_links with_accesskey="1" />
+<latemp_get_nav_menu_html />
+<p>
+<a href="<rellink host="t2" url="site-map/" />"><b>Site Map</b></a>
+</p>
+
+<latemp_affiliations_buttons_text />
+
+</td>
+<td valign="top" class="main">
+</define-tag>
+
+# </define-tag>
+<if "<mynot "$(PRINTABLE)" />" "<start_table />" "" />
+
+<h1>{#LATEMP_SUBJECT_LOC#}</h1>
+{#LATEMP_BODY#}
+
+<define-tag end_table>
+</td>
+</tr>
+</table>
+<hr />
+
+
+
+<define-tag hosted:at:tech>
+<div class="rightalign">
+<a href="http://www.actcom.co.il/"><img src="images/actcom-50-2.gif" 
+   alt="Hosted at Actcom" class="highlight" style="border : 0" 
+   title="Hosted at Actcom" /></a>
+</div>
+</define-tag>
+
+<define-tag backtomyhp>
+<div>
+<a href="<rellink url="" host="t2" />"><img src="$(ROOT)/images/bk2hp.png" class="highlight" style="border : 0" alt="Back to my Homepage" /></a>
+</div>
+</define-tag>
+<p>
+Written, designed and maintained by Shlomi Fish, <a href="mailto:shlomif@iglu.org.il">shlomif@iglu.org.il</a>
+</p>
+
+;;; If it is the t2 index than display the hosted:at:tech macro
+;;; Else - display the back to my homepage image
+<if <ifeq "$(LATEMP_FILENAME)" "index.html" 
+        <ifeq "$(LATEMP_SERVER)" "t2" "t2" "" /> "" /> 
+    <hosted:at:tech />
+    <backtomyhp />
+    />
+</define-tag>
+
+<if <mynot "$(PRINTABLE)" /> "<end_table />" "" />
+
+</body>
+</html>
+
+#   per default we are in body
+{#LATEMP_BODY#:
+
 <restore href />
 </define-tag>
 
+<define-tag rellink whitespace="delete">
+<preserve url />
+<preserve host />
+<set-var %attributes />
+<set-var host=<if "<get-var host />" "<get-var host />" "t2" /> />
+<if <match "<get-var url />" "^http://" action="report" />
+    "<get-var url />" 
+    <ifeq "$(LATEMP_SERVER)" "<get-var host />"
+        "$(ROOT)/<get-var url />"
+        <ifeq "<get-var host />" "t2"
+            "http://www.shlomifish.org/<get-var url />"
+            "http://vipe.technion.ac.il/~shlomif/<get-var url />"
+            />
+    />
+/>
+<restore host />
+<restore url /></define-tag>
+
+<define-tag vipe:url>http://vipe.technion.ac.il/~shlomif/%0</define-tag>
+
+<define-tag longblank>
+<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
+<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
+<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
+<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
+</define-tag>
+
+<define-tag email:link>
+<a href="mailto:%0">%0</a>
+</define-tag>
+

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

t2/.wmlrc

--DROOT~.

t2/DeCSS/index.html.wml

 #include '../template.wml'
 
-<subject "Shlomi Fish' Opinion on DeCSS" />
+<latemp_subject "Shlomi Fish' Opinion on DeCSS" />
 <h2>Note</h2>
 
 <p>

t2/MathVentures/3d_outof_4d.html.wml

 #include '../template.wml'
 
-<subject "Combinatorics and the art of Dungeons and Dragons" />
+<latemp_subject "Combinatorics and the art of Dungeons and Dragons" />
 
 <p>
 I used to play "Advanced Dungeons &amp; Dragons" in the 8th and 9th grades. I

t2/MathVentures/bug_square.html.wml

 #include '../template.wml'
 
-<subject "Bugs in a Square" />
+<latemp_subject "Bugs in a Square" />
 
 <p>
 I first encountered this problem in the science journal of a laboratory

t2/MathVentures/disco_circle.html.wml

 #include '../template.wml'
 
-<subject "A Solidarian Disco Circle" />
+<latemp_subject "A Solidarian Disco Circle" />
 
 <p>
 Are you familiar with disco circles? I participated in quite a lot of them

t2/MathVentures/dodeca.html.wml

 #include '../template.wml'
 
-<subject "What's the Volume of a Dodecahedron?" />
+<latemp_subject "What's the Volume of a Dodecahedron?" />
 
 <img src="dodeca.gif" alt="A Dodecahedron" /> <br />
 

t2/MathVentures/index.html.wml

 #include '../template.wml'
 
-<subject "Math-Ventures - Mathematics in Real-Life" />
+<latemp_subject "Math-Ventures - Mathematics in Real-Life" />
 
 <p>
 This section of my homepage is dedicated to various math problems that I

t2/MathVentures/repeating_code.html.wml

 #include '../template.wml'
 
-<subject "On and on it seems to go..." />
+<latemp_subject "On and on it seems to go..." />
 
 A while ago, I was introduced to a couple of questions about
 digital codes being broadcasted. This made me think of a new code

t2/MathVentures/toggle_squares.html.wml

 #include '../template.wml'
 
-<subject "Toggling Squares is not that Trivial..." />
+<latemp_subject "Toggling Squares is not that Trivial..." />
 
 <p>
 Well, this page is not ready yet, and will take some time to be written.

t2/SFresume.html.wml

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

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>

t2/SFresume_detailed.html.wml

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

t2/art/bk2hp/index.html.wml

 #include '../template.wml'
 
-<subject "Shlomi Fish' Art - Back to my homepage" />
+<latemp_subject "Shlomi Fish' Art - Back to my homepage" />
 
 <img src="../../images/bk2hp.png" alt="Back to my homepage" style="margin-bottom : 1.5em"/>
 <p>

t2/art/index.html.wml

 #include '../template.wml'
 
-<subject "Shlomi Fish' Art" />
+<latemp_subject "Shlomi Fish' Art" />
 <p>
 I dedicate this section to the various pieces of computer graphics which I 
 designed. Here I will explain how I created them, so you can shamelessly 

t2/art/linux_banner/index.html.wml

 #include '../template.wml'
 
-<subject "Shlomi Fish' Art : Linux Slogan" />
+<latemp_subject "Shlomi Fish' Art : Linux Slogan" />
 
 <img src="../images/linux1.gif" alt="Linux - Because software problems should not cost money" />
 

t2/humour.html.wml

 #include '../template.wml'
 
-<subject "My Humour Collection" />
+<latemp_subject "My Humour Collection" />
 
 <define-tag joke endtag="required">
 %body

t2/humour/Pope/index.html.wml

 #include '../template.wml'
 
-<subject "The Pope Died on Sunday" />
+<latemp_subject "The Pope Died on Sunday" />
 
 <h2>A story by Shlomi Fish</h2>
 

t2/humour/RoadToHeaven/index.html.wml

 #include '../template.wml'
 
-<subject "The Road to Heaven is Paved with Bad Intentions" />
+<latemp_subject "The Road to Heaven is Paved with Bad Intentions" />
 
 <p>
 This is the sequel to <a href="../TheEnemy/">The Enemy and How I Helped

t2/humour/TOWTF/index.html.wml

 #include '../template.wml'
 
-<subject "The One with the Fountainhead" />
+<latemp_subject "The One with the Fountainhead" />
 
 <p>
 This is a parody about Ayn Rand's book, "The Fountainhead", modelled around

t2/humour/TheEnemy/index.html.wml

 #include '../template.wml'
-<subject "The Enemy and How I Helped to Fight it" />
+<latemp_subject "The Enemy and How I Helped to Fight it" />
 
 <p>
 This is a story I wrote and I placed it here so many Internet 

t2/humour/index.html.wml

 #include '../template.wml'
 
-<subject "Shlomi Fish' Humorous Creations" />
+<latemp_subject "Shlomi Fish' Humorous Creations" />
 
 <p>
 I very much enjoy humorous things and like to laugh or be amused a lot.

t2/humour/ways_to_do_it.html.wml

 #include '../template.wml'
-<subject "Ways to do it According to the Programming Languages of the World" />
+<latemp_subject "Ways to do it According to the Programming Languages of the World" />
 
 <ul>
 <li>

t2/index.html.wml

 #include '../template.wml'
-<subject "Shlomi Fish' Homepage" />
+<latemp_subject "Shlomi Fish' Homepage" />
 
 <define-tag software_patents_notice>
 <div class="colored_frame">

t2/jmikmod/index.html.wml

 #include '../template.wml'
 
-<subject "MikMod for Java" />
+<latemp_subject "MikMod for Java" />
 
 <h2>Important Note!</h2>
 

t2/links.html.wml

 #include '../template.wml'
 
-<subject "My Cool Links List" />
+<latemp_subject "My Cool Links List" />
 
 <h2>Studies Related</h2>
 

t2/linux_banner/index.html.wml

 #include '../template.wml'
 
-<subject "Linux Installataion Party (Technion, Winter 97/98) Banner" />
+<latemp_subject "Linux Installataion Party (Technion, Winter 97/98) Banner" />
 
 <img src="linux3.gif" 
 alt="Linux - Because Software Problems Should Not Cost Money" />

t2/me/contact-me/index.html.wml

 #include '../template.wml'
 #include <utils.wml>
-<subject "How to Reach Me" />
+<latemp_subject "How to Reach Me" />
 
 <dl class="contact">
 <dt>Homepage:</dt>

t2/me/favorites/index.html.wml

 #include '../template.wml'
 
-<subject "My Favourite Things" />
+<latemp_subject "My Favourite Things" />
 
 <p>
 This section of my site deals with my favourite things. It may change as I

t2/me/index.html.wml

 #include '../template.wml'
-<subject "About Myself" />
+<latemp_subject "About Myself" />
 
 <h2><a href="$(ROOT)/personal.html">About Myself</a></h2>
 

t2/me/resumes/index.html.wml

 #include '../template.wml'
-<subject "My Resum&eacute;s" />
+<latemp_subject "My Resum&eacute;s" />
 
 <h2><a href="$(ROOT)/SFresume.html">English Resumé</a></h2>
 

t2/no-ie/index.html.wml

 #include '../template.wml'
-<subject "Stop Using Internet Explorer!" />
+<latemp_subject "Stop Using Internet Explorer!" />
 
 <p>
 <b>Last Updated:</b> 25-March-2005

t2/old-news.html.wml

 #include '../template.wml'
 
-<subject "Shlomi Fish' Homepage Old News Items" />
+<latemp_subject "Shlomi Fish' Homepage Old News Items" />
 
 <h3 class="newsitem">26-Jun-2003</h3>
 

t2/open-source/bits-and-bobs/gringotts-patch/index.html.wml

 #include '../template.wml'
-<subject "The gringotts-shlomif Patch" />
+<latemp_subject "The gringotts-shlomif Patch" />
 
 <p>
 <b>Last Updated:</b> 14-February-2005.

t2/open-source/bits-and-bobs/open-inventor-bsd-daemon/index.html.wml

 #include '../template.wml'
-<subject "Open Inventor BSD Daemon" />
+<latemp_subject "Open Inventor BSD Daemon" />
 
 <h2><a href="OpenInventor-BSD-Daemon-0.2.0.tar.gz">Download the Archive</a></h2>
 

t2/open-source/bits.html.wml

 #include '../template.wml'
 
-<subject "Open Source Bits and Bobs" />
+<latemp_subject "Open Source Bits and Bobs" />
 
 <define-tag bit_link whitespace="delete">
 ./bits-and-bobs/%0

t2/open-source/contributions/index.html.wml

 #include '../template.wml'
 
-<subject "Contributions Made to external Open-Source Projects" />
+<latemp_subject "Contributions Made to external Open-Source Projects" />
 
 <p>
 <b>Last Updated:</b> 4-October-2004.

t2/open-source/favourite/index.html.wml

 #include '../template.wml'
 
-<subject "Favourite Free Software of Mine" />
+<latemp_subject "Favourite Free Software of Mine" />
 
 <p>
 This page documents my favourite pieces of free software. You are welcome

t2/open-source/index.html.wml

 #include '../template.wml'
-<subject "Open Source Software I wrote" />
+<latemp_subject "Open Source Software I wrote" />
 
 <define-tag linkto:vipe endtag="required">
 <preserve where />

t2/open-source/interviews/index.html.wml

 #include '../template.wml'
-<subject "Interviews with Open Source People" />
+<latemp_subject "Interviews with Open Source People" />
 
 <h2>Introduction</h2>
 

t2/open-source/projects/freecell-solver/index.html.wml

 #include '../template.wml'
-<subject "Freecell Solver" />
+<latemp_subject "Freecell Solver" />
 
 <define-tag linkto:vipe endtag="required">
 <preserve where />

t2/open-source/projects/quad-pres/index.html.wml

 #include '../template.wml'
-<subject "Quad-Pres" />
+<latemp_subject "Quad-Pres" />
 
 <p>
 <a href="http://quad-pres.berlios.de/">Quad-Pres</a> is a software for writing

t2/open-source/reviews/gtk-2.4-file-chooser/old-review.html.wml

 #include '../template.wml'
 
-<subject "Mini-Review: the Gtk+ 2.4.x File Chooser" />
+<latemp_subject "Mini-Review: the Gtk+ 2.4.x File Chooser" />
 
 <h2>Important Note!</h2>
 

t2/personal.html.wml

 #include '../template.wml'
 
-<subject "About Myself" />
+<latemp_subject "About Myself" />
 
 <img src="$(ROOT)/images/shlomif1.jpg" alt="Picture of Shlomi Fish" 
  style="float : right ; margin-left : 2em ; margin-bottom : 2em" />

t2/philosophy/Index/index.html.wml

 #include '../template.wml'
 
-<subject "Index to Shlomi Fish' Essays" />
+<latemp_subject "Index to Shlomi Fish' Essays" />
 
 <:{
 use XML::LibXSLT;

t2/philosophy/foss-other-beasts/index.html.wml

 #include '../template.wml'
 
-<subject "Open Source, Free Software and Other Beasts" />
+<latemp_subject "Open Source, Free Software and Other Beasts" />
 
 <p>
 What is Open Source? What is Free Software? Why is it important? Read the

t2/philosophy/ideas/index.html.wml

 * Add cups/glasses with identifying marks.
 -->
 
-<subject "Shlomi Fish' Random Ideas" />
+<latemp_subject "Shlomi Fish' Random Ideas" />
 
 <h2>Introduction</h2>
 

t2/philosophy/index.html.wml

 #include '../template.wml'
 
-<subject "Shlomi Fish' Philosophical Writings" />
+<latemp_subject "Shlomi Fish' Philosophical Writings" />
 
 <h2><a href="./solving/">Solving</a></h2>
 

t2/philosophy/obj-oss/index.html.wml

 #include '../template.wml'
-<subject "Objectivism and Open Source" />
+<latemp_subject "Objectivism and Open Source" />
 
 <p>
 Here you can find an essay I wrote titled "Objectivism and Open Source"

t2/philosophy/perl-newcomers/index.html.wml

 #include '../template.wml'
 
-<subject "\"Usability\" of the Perl Online World for Newcomers" />
+<latemp_subject "\"Usability\" of the Perl Online World for Newcomers" />
 
 <p>
 How usable is the <a href="http://www.perl.org/">Perl</a> Online World and

t2/philosophy/the-eternal-jew/index.html.wml

 #include '../template.wml'
 
-<subject "The Eternal Jew" />
+<latemp_subject "The Eternal Jew" />
 
 <ul>
 <li>

t2/shlomif.il.eu.org-questions.html.wml

 #include '../template.wml'
 
-<subject "About the Location Change" />
+<latemp_subject "About the Location Change" />
 
 <p>
 Well <a href="http://t2.technion.ac.il/">t2.technion.ac.il</a>

t2/site-map/index.html.wml

 #include '../template.wml'
 
-<subject "Site Map" />
+<latemp_subject "Site Map" />
 
 <div class="sitemap">
 <:{

t2/site-source/index.html.wml

 #include '../template.wml'
-<subject "This Site's Source Code" />
+<latemp_subject "This Site's Source Code" />
 
 <p>
 This site source code is maintained inside <a href="http://stalker.iguide.co.il:8080/svn/shlomif-homepage/">a Subversion repository</a>. To check out the

t2/work/academic/Thermo/Material-Summary/index.html.wml

 #include '../template.wml'
 
-<subject "Material Summary for &quot;Introduction to Thermodynamics and Statistical Physics&quot;" />
+<latemp_subject "Material Summary for &quot;Introduction to Thermodynamics and Statistical Physics&quot;" />
 
 <p>
 This is a <a href="Thermo-Material-Summary.tar.gz">summary I prepared</a>

t2/work/index.html.wml

 #include '../template.wml'
 
-<subject "Work-Related Pages" />
+<latemp_subject "Work-Related Pages" />
 
 <p>
 These are pages related to my work and income. Nothing too much here.

t2/work/private-lessons/index.html.wml

 #include '../template.wml'
 
-<subject "I'm Giving Private Lessons" />
+<latemp_subject "I'm Giving Private Lessons" />
 
 <p>
 I'm giving private lessons in either High School topics (Mathematics,

t2/wysiwyt.html.wml

 #include '../template.wml'
 
-<subject "IRPWUG Announces Project &quot;What you see is what you think&quot;" />
+<latemp_subject "IRPWUG Announces Project &quot;What you see is what you think&quot;" />
 
 <p>
 <b>IRPWUG</b>, short for "International Really Pissed-off Win95 Users' Group"
-# #use wml::des::navbar
-#include '../std/logo.wml'
+<set-var latemp_with_favicon="1" />
+#include "latemp/latemp-main.wml"
 
-<:{
-use MyNavData;
-use HTML::Widgets::NavMenu;
-
-my $filename = "$(FILENAME)";
-$filename =~ s!index\.html$!!;
-$filename = "/$filename";
-
-use vars qw($nav_bar);
-
-$nav_bar = HTML::Widgets::NavMenu->new(
-    'path_info' => $filename,
-    'current_host' => "$(SERVER)",
-    MyNavData::get_params(),
-    'ul_classes' => [ "navbarmain", ("navbarnested") x 10 ],
-    );
-
-my $rendered_results = $nav_bar->render();
-
-use vars qw($nav_links);
-
-$nav_links = $rendered_results->{nav_links};
-
-use vars qw($nav_html);
-
-$nav_html = $rendered_results->{html};
-
-my $leading_path = $rendered_results->{leading_path};
-
-my $render_leading_path_component = sub {
-    my $component = shift;
-    my $title = $component->title();
-    my $title_attr = defined($title) ? " title=\"$title\"" : "";
-    return "<a href=\"" . CGI::escapeHTML($component->direct_url()) .
-        "\"$title_attr>" .
-        $component->label() . "</a>";
-};
-
-use vars qw($leading_path_string);
-
-$leading_path_string =
-    join(" &rarr; ",
-        (map
-        { $render_leading_path_component->($_) }
-        @$leading_path
-        ));
-
-}:>
-
-
-# Utility Functions.
-
-<define-tag software_patents>1</define-tag>
-
-<define-tag mynot><if "%0" "" "1" /></define-tag>
-
-<define-tag printable_style>
-<style type="text/css">
-table.cv { width : 100% ; border : none ; }
-table.cv td { vertical-align : top }
-</style>
-</define-tag>
-
-# The Definition of the page itself
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE
-    html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
-    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
-<head>
-<title>{#SUBJECT_LOC#}</title>
-<link rel="StyleSheet" href="$(ROOT)/style.css" type="text/css" />
-<link rel="shortcut icon" href="$(ROOT)/favicon.ico" type="image/x-icon" />
-<:{
-use CGI qw();
-
-my @keys = (sort { $a cmp $b } keys(%$nav_links));
-foreach my $key (@keys)
-{
-    my $url = $nav_links->{$key};
-    print "<link rel=\"$key\" href=\"" . CGI::escapeHTML($url) . "\" />\n"
-}
-}:>
-<if "$(PRINTABLE)" "<printable_style />" "" />
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-</head>
-<body>
-<define-tag rellink whitespace="delete">
-<preserve url />
-<preserve host />
-<preserve title />
-<set-var %attributes />
-<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 />"
-        "$(ROOT)/<get-var url />"
-        <ifeq "<get-var host />" "t2"
-            "http://www.shlomifish.org/<get-var url />"
-            "http://vipe.technion.ac.il/~shlomif/<get-var url />"
-            />
-    />
-/>
-<restore title />
-<restore host />
-<restore url /></define-tag>
-
-<define-tag vipe:url>http://vipe.technion.ac.il/~shlomif/%0</define-tag>
-
-<define-tag validhtml>
+<latemp_lang "en-US" />
+<latemp_encoding "utf-8" />
+<latemp_affiliations_buttons>
 <p>
 <a href="http://www.spreadfirefox.com/?q=affiliates&amp;id=0&amp;t=70"><img 
    style="margin-top:1em; border:0;" alt="Get Firefox!" 
 alt="Stop Using Internet Explorer!" /><br />
 Stop Using Internet Explorer!</a>
 </p>
-</define-tag>
-
-
-<define-tag start_table>
-<table summary="Layout Table: The first cell contains a navigation bar, the second the main page" border="0" width="99%">
-<tr>
-<td colspan="2" class="leading_path">
-<:{ 
-    print +($leading_path_string || 
-        ("<a href=\"<rellink url="" host="t2" title="Home" />\" " . 
-         "title=\"Shlomi Fish' Homepage\">Shlomi Fish</a>")
-         );
-}:>
-</td>
-</tr>
-<tr>
-<td valign="top" class="navbar" style="width:20%">
-
-<if "<software_patents />" 
-    "<div class="center"><a href="http://swpat.ffii.org/" 
-     title="Stop Software Patents!"><img 
-     src="$(ROOT)/images/noepatents_liberty.png" 
-     alt="Stop Software Patents" class="highlight" 
-     style="border:0;margin-bottom:0.5em;" /></a></div>"
-    ""
-    />
-<:{ 
-    my $nav_buttons_html = "";
-    foreach my $button 
-        (
-            { 
-                'dir' => "prev", 
-                'button' => "left", 
-                'title' => "Previous Page",
-            },