make_site.pl creates a table-based website from a template.
make_theme.pl creates a Hebrew theme for the album program,
based on an outline like make_site.pl uses.

Sites which are built using the make_site.pl system are, for example:
http://haifux.org/ Haifa Linux Club
http://syscalltrack.sourceforge.net/ Syscalltrack project
http://mulix.org/agmon/ Aryeh Agmon - The person and the artist
http://billauer.co.il/ Eli Billauer

Copyright (C) 2004-2005 Orna Agmon ladypine at haifux.org

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

In order to work the make_site package, prepare a source directory with 
html snippets: standard html body parts, beginning with an <h1> line such as

<h1>Welcome to my site</h1>

For example, see the file try.htm. The files should be named *.htm.
Run the following command to create the site:
./make_site.pl *.htm 
A sub directory called gen will be generated, if it does not exist. 
The generated site will be created in this directory. 
Copy or link the css file (agmon.css) to the generated directory.

Now that you know what your site looks like,
edit outline.html to fit your purpose: Have it link from the sidebar 
to the files you created.

You can make sure the site you created is standard compliant by clicking on the w3c icon.

Now we are ready to prepare the album:

Run 

./make_theme.pl *.thp

to create a simple Hebrew theme for the album program, based on the css and the outline you already have.

Place all your pictures in directory gen/gallery, in subdirectories it you like. 
You can also insert caption files: captions.txt in each directory, 
where each line is tab-delimited, and has the following fields:
filename	picture name	comment		alt

The presentation of the picture name and comments in Hebrew depends on you
Inserting Hebrew in this file - otherwise, the picture's name will 
be built according to the file name.

You can also add footer.txt and header.txt, which will be inserted as they are.
You can always add them later, only you will have to run album again.
Run album, telling it to choose the theme we prepared earlier:

album -theme=../album_theme/simple

Link or copy the css file (in this example, agmon.css) from the main dir
to gen/gallery and any subdirectory. 
Alternatively, change the outline file to use an absolute location of 
the css file.

In order to get your site to be xhtml 1.0 compliant, you will need to patch 
album version 3.04 with the following patch:

92c92
<            "Example:  -exif \"<br>Camera: %Camera model%\"",
---
>            "Example:  -exif \"<br/>Camera: %Camera model%\"",
1622c1622
<   $name = "<font size='-1'>$1</font><br>$3"
---
>   $name = "<font size='-1'>$1</font><br/>$3"
2448c2448,2452
<   \$str .= " alt=\$obj->{alt}" if \$obj->{alt};
---
>   if (\$obj->{alt}) {
>   	\$str .= " alt=\$obj->{alt}";
>   }else{
>   	  \$str .= " alt=\$src ";
>   }
2567c2571
<   \$name =~ s/<br>//g if \$nobr;
---
>   \$name =~ s/<br/>//g if \$nobr;
4204c4208
< Example:  -exif "<br>Camera: %Camera model%"
---
> Example:  -exif "<br/>Camera: %Camera model%"

