home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Amiga 14 / MA_Cover_14.iso / internet / carchtml / carchtml.readme < prev    next >
Encoding:
Text File  |  1999-12-16  |  3.4 KB  |  90 lines

  1. Short:    V1.00 Create HTML page for archived files +src
  2. Uploader: mark@kontumnam.freeserve.co.uk (Mark Weller)
  3. Author:   mark@kontumnam.freeserve.co.uk (Mark Weller)
  4. Type:     comm/www
  5. Replaces:
  6. URL:      www.kontumnam.freeserve.co.uk
  7.  
  8. CarcHTML
  9. --------
  10. This program searches a given directory containing archived files
  11.  zip,lha,dms and so on .... and produces an HTML page (index.html)
  12.  in the given directory used for downloading.
  13. The HTML page will display a table of all the files and sizes and the
  14.  readme files and if option chosen different colours for each column
  15.  and background colour for the page.
  16.  also if option chosen you can display Short: description (instead of
  17.  myfile.readme) taken from the files readme file.
  18.  
  19.  
  20. Usage:
  21. ------
  22.  
  23. CarcHTML [-vab] <directoryname> [pagecolour] [clmn1col] [clmn2col] [clmn3col]
  24.  
  25.  [-vab] Options   -
  26.                    v  : Verbose - List files being processed.
  27.                    a  : Aminet  - Use Short: description.
  28.                    b  : use chosen background colours (default is WHITE).
  29.                         [pagecolour]  - html page background colour.
  30.                         [clmn1col]    - filename column colour.
  31.                         [clmn2col]    - filesize column colour.
  32.                         [clmn3col]    - readmefile/Short: column colour.
  33.  
  34.  <directoryname> - directory containing archived files.
  35.  
  36.  -*-Note-*- colours range from  black     white    [R]ed [G]reen [B]lue
  37.                                 000000 -> FFFFFF   00    00      00
  38.   for this version its assumed there is  a readme file for each archive.
  39.         ( CarcHTML.lha  CarcHTML.readme)
  40.         (  myprogs.lha   myprogs.readme)
  41.   also if aminet option chosen - there is a Short: description at top of
  42.    the readme file (like this readme you are reading).
  43.  
  44. Examples:
  45. ---------
  46.   CarcHTML  Work:archive
  47.      This will create HTML page with default colours and no Short: option.
  48.  
  49.            mypics.lha  2.5MB   mypics.readme
  50.           myprogs.lha  686KB   myprogs.readme
  51.          mysounds.lha  1.2MB   mysounds.readme
  52.  
  53.   CarcHTML -a  Work:archive
  54.      This will create HTML page with default colours and Short: option if
  55.       found.
  56.  
  57.            mypics.lha  2.5MB   Spice Girls Pictures [Horror]
  58.           myprogs.dms  686KB   myprogs.readme
  59.          mysounds.zip  1.2MB   Selected Loony Tunes [Classical]
  60.  
  61.   CarcHTML -ab Work:archive  FFFFFF 888888 FFFF00 0000FF
  62.      This will create HTML page with chosen colours and  Short: option.
  63.  
  64.            mypics.lha  2.5MB   Spice Girls Pictures [Horror]
  65.           myprogs.dms  686KB   myprogs.readme
  66.          mysounds.zip  1.2MB   Selected Loony Tunes [Classical]
  67.  
  68.   CarcHTML -vab Work:archive  FFFFFF 888888 FFFF00 0000FF
  69.      Same as last example except will list files being processed
  70.       in shell (cli).
  71.  
  72.   This version is fully working and contains some error checking
  73.    but some not finished yet.
  74.    example: the program will index all files in the directory assuming
  75.             they are all archive files - but will ignore files with
  76.             these extensions .readme .html .htm .shtml.
  77.    so a file called myprogs.doc will be classed as a archive - it is
  78.     nearly impossible to check each archive file as ther are so many
  79.     different types.
  80.  
  81.    I have included the source code with this program - I used Dice to
  82.      compile it, but should compile using any compiler.
  83.  
  84.    If you find this program or source code useful please e-mail me
  85.     if not - sorry for wasting your time!
  86.  
  87.     -*- Mark Weller -*-
  88.  
  89.  
  90.