AminetAminet
Search:
83856 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/rexx/indexer.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Creates index.html ftp area, adds 'short:' info to index
Author:Robert Wal <reptile at lodz.pdi.net>
Uploader:Robert Wal <reptile lodz pdi net>
Type:util/rexx
Version:1.00
Requires:ARexx, commands: SORT JOIN DELETE DATE from workbench
Architecture:m68k-amigaos
Date:1996-06-11
Download:http://aminet.net/util/rexx/indexer.lha - View contents
Readme:http://aminet.net/util/rexx/indexer.readme
Downloads:471

*** 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 at 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/


Contents of util/rexx/indexer.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1795    3632  49.4% -lh5- 69d0 Jun 10  1996 indexer.readme
[generic]                 1820    5174  35.2% -lh5- 8302 Jun 10  1996 indexer.rexx
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         2 files    3615    8806  41.1%            Jun 11  1996

Aminet © 1992-2022 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>