Short:    Creates index.html ftp area, adds 'short:' info to index
Author:   Robert Wal <reptile@lodz.pdi.net>
Uploader: Robert Wal <reptile@lodz.pdi.net>
Version:  1.00
Type:     util/rexx
Requires: ARexx, commands: SORT JOIN DELETE DATE from workbench

*** IMPORTANT *** IMPORTANT *** IMPORTANT *** IMPORTANT *** IMPORTANT ***

Due to my lazyness, the archive that I uploaded on aminet, didn't contain
the program itself, only two versions of readme file... :-( I just haven't
checked it....
I appologize all people that downloaded it, and I want to thank here
Martin Brunkow who reported this...
Sorry guys...

**************************************************************************

  This program is distributed under gnu general public license
(not included here, because it is bigger then the program itself ;-)

  Additionally, if you generate the index using this program,

   YOU MUST LEAVE THE COPYRIGHT NOTE ON THE ROOT PAGE INTACT!!!

**************************************************************************

Reason:

  Friend of mine, who is system administrator in commercial internet services
  provider, has got his amiga connected to the net. He installed the httpd
  for AmiTCP, but unfortunatelly this daemon doesn't know how to make indexes
  for the directories that don't have the index.html file. eg. ftp area
  directories. And we both like aminet www indexes that show you short field
  from readme, and allow you to read this by just clicking on this field.
  So this script was born to  do this job.

  It creates index.html in the given directory and subdirectories. Inserts
  the file '.message' if exists, and adds the field 'short:' from
  corresponding '.readme' file (if exists), making link from this field
  to the '.readme' file itself. If the '.readme' file doesn't contain
  the 'short:' field, present the name of the readme file.

  YOU'LL DEFINITELLY RUN INTO TROUBLES IF YOU ARE USING MULTIUSERFILESYSTEM
  AND WANT TO GENERATE INDEX FOR DIRECTORY THAT IS INACCESIBLE FOR
  'NOBODY'. REASON IS SIMPLE: REXXMASTER TASK IS OWNED BY 'NOBODY' AND LET
  IT BETTER STAY THAT WAY :))

  I'm thinking about rewriting it in C, but if you know both C and Rexx, you
  know how big work is needed for that job, so be patient. Or better: write
  to me if you need it.

  REQUIRES COMMANDS 'SORT', 'JOIN', 'DELETE' and 'DATE' TO BE IN THE PATH!!!

  config variables:

   guide: if set to 1 the files are generated in the amigaguide format;
          not very smart :) but useful for testing purpouses

   hostname: the text that appears in the title, before the directory name
          could be something like: http://plukwa.lodz.pdi.net/ftp/

**************************************************************************

  Author:

    Robert Wal

  e-mail:

    reptile@lodz.pdi.net

  snail-mail:

         Robert Wal
    11-go Listopada 35 m 12
         91-371 Lodz
           POLAND

**************************************************************************

  History:
+ - new feature
- - removed feature
! - bugfix

0.90 - 04-Mar-96
     initial release, beta in ARexx, for friends only
1.00 - 12-Apr-96
   - no longer generates guides: found good html viewer :)
   ! changed layout of the html file: previous one was a total mess
   + added ability to read productinfo files (extension .pi) like defined
     by Fred Fish on his ADE distribution sites.
   + added "Parent" button to get one level higher. Normally can be
     replaced by using "Back" button of your Browser, except the case when
     you started browsing from inside the archive eg.

         http://plukwa.lodz.pdi.net/ftp/amiga/


============================= Archive contents =============================

Original  Packed Ratio    Date     Time    Name
-------- ------- ----- --------- --------  -------------
    3632    1795 50.5% 10-Jun-96 23:09:18  indexer.readme
    5174    1820 64.8% 10-Jun-96 11:05:36  indexer.rexx
-------- ------- ----- --------- --------
    8806    3615 58.9% 11-Jun-96 01:41:04   2 files
