Download ... and installation

From December 2000, available version is 0.9

Download

the ManyPage Package 0.9 : manypage0.9.0.tar.gz

or the last available version : manypage.tar.gz

Uncompress and untar the package

for instance : gunzip manypage.tar.gz and then tar xvf manypage.tar

or gunzip < manypage.tar.gz | tar xvf -

or tar -xvzf manypage.tar.gz with a recent tar.

You will get a directory tree like the one you already may explore on this download site :

manypage0.9   The root directory contains an INSTALL.txt file which is a summary of what you can find in this page
  Bin Contains all the important files : script (the launching one is habille.pl), README.txt, LICENCE.txt and modification.txt
  Src Contains a little example of configuration with 3 file to manage
  Docs Is empty. It is where the files produced by ManyPage from the example should go

Installation

  1. Find where Perl is ( 'which perl' ).
    If you don't have perl on your system, install it or change your OS
    (Why not using MacOSX for instance, it is as easy to install than MacOS and as powerfull than Unix : it is a unix and come with Perl 5 installed ... :-).
    If perl is in /usr/bin/perl, you don't need the second point and go directly to point 3)

  2. If it is not at /usr/bin/perl
    - you may add an alias to perl in your /usr/bin directory with
    'ln -s /whereYourPerlIs/perl /usr/bin/perl'
    (anyway, it is a useful thing to do, cause a lot of perl installations place it in that
    location)
    - you could either edit the first line of the 2 files 'Bin/habille.pl' and 'Bin/main.pl'
    and replace '/usr/bin/perl' by '/whereYourPerlIs/perl'.

  3. Modify the file 'Bin/config' in order to define the 'Src' part (where you put the plain HTML file that you have written) and the 'Docs' part (where ManyPage will write the rich HTML pages). See the process of the information for details about these two directories.
    These directories don't need to be called 'Src' and 'Docs'...
    Another example file 'config' can be found at 'Bin/ConfigExample/config.example'
    To begin with, you can use the two directories in that package.
    Be sure that the 'Src' directory is readable by the user of the script and that he has writing right
    in the 'Docs' directory.

Configuration

The former part 3 was the main central configuration step. You may find some more detail about it and other configuration files here. Then you will need to read about the way to set up a template (.dress is the only compulsory file to put in the 'Src' root directory), how to use some HTML object in your template .obj files), and how to describe your web site's browsing trees in .link files.

But to begin with you could try to use manypage in the example 'Src' directory given in this package.

First use, first test

Use the script Bin/habille.pl in the 'Src' directory or in one of its subdirectories. You will get an error message if you use it somewhere else. Be sure to edit the config file to make it point to the example Src directory or will get an error.
You should make an alias to 'habille.pl' (alias manypage ~/manypage/Bin/habille.pl for instance)
Without any option (or with -h), it print a light manual with all the options.

To know more about the options to run ManyPage, use it with -h option or consult directly its answer..

Copyright 1994-2009
Pascal Vuylsteker

Last modified:
19/2/2001

Send your comments at :
<pvk@vuylsteker.net>