home *** CD-ROM | disk | FTP | other *** search
- ****************************
- * *
- * Documentation *
- * for *
- * HTML-Creator V1.24 *
- * *
- * © Martin Henke, 1998 *
- * All rights reserved. *
- * *
- ****************************
-
-
-
- Introduction
- ============
-
- Do you know the problem? You want to clearly arrange a lot of graphics in
- HTML-documents (e.g. for a CD-ROM) and don't like to do all this work by hand?
- Lean back, that's no longer necessary. Now there's `HTML-Crator'. `HTML-Creator'
- is no single program, but a program package with 4 programs, you execute one
- after the other. Because you might hardly wait, let's begin!
- The programs have been placed how they have to be executed (from the top to
- the bottom).
-
- Notice: A word in pointed brackets (e.g. <RETURN>) means you have to press
- a button.
-
-
- Requirements
- ------------
-
- Amiga with OS 2.0, 1 MB of memory
- `Viewtek' (`VT') © Thomas Krehbiel, 1992-1994
-
-
-
- Installation
- ------------
-
- Just copy the directory `HTML-Creator' on any drive you like.
-
-
- Tool Types
- ----------
-
- You can set your national language. This is currently German and English.
- Just enter DEUTSCH or ENGLISH.
- If no Tool Type is set or it is in brackets, e.g. (DEUTSCH), English is set
- as a standard.
-
-
-
- Tip for beginners:
- ------------------
-
- You reach the Tool Types, if you click once on the icon and select
- `Information...' from Workbench's `Icons' menu. Now click on `New' and enter
- the desired language (DEUTSCH or ENGLISH) and press <RETURN>.
- Now click on `Save' and the selected program will display its messages in
- German or English.
-
-
-
- !! Directory layout !! (s. Verz.aufbau.iff)
- ================
-
- `HTML-Creator' expects this directory layout as a standard:
-
-
- [root directory]
- |
- graphics directory
- |
- graphics directory2----subdirectory
- |
- graphics directory..n
- |
- ICONS--+
- |
- graphics directory
- |
- graphics directory2----subdirectory
- |
- graphics directory..n
-
-
- - The root directory can be any path (e.g. DH1:, WORK:, WORK:graphics/Test,...)
-
- - The graphics directory MUST be in the root directory.
- Max. 1 subdirectory is allowed.
-
- - There MUST be a directory named ICONS. In the directory 'ICONS' must be the
- same directory structure like in the root directory, which means that a
- directory 'graphics_dir' must exist, if it exists in the [root directory].
- If there's a subdirectory in the directory 'graphics_dir' it has also to
- exist in 'ICONS/graphics_dir'.
-
-
-
- !! Graphic formats !!
- ===============
-
- `HTML-Creator' has been written by me to create a PC-compatible CD-ROM. This
- is the reason, why all files in the directory 'ICONS' are recognized as
- GIF files (#?.GIF) (even if this is not true). Due to compatibility you should
- use JPG, GIF and PNG as graphic formats anyway.
-
-
-
- Usage
- =====
-
-
- I. ' CREATE_Dir-List'
- --------------------
-
- 1. Start the program ' CREATE_Dir-List'.
-
- 2. Enter the path, where you keep the directories with the graphics
- (e.g. 'Graphicsdisk:Test').
-
- 3. Enter the directory in this path (e.g. 'graphics1'). So the graphics are
- in the path 'Graphicsdisk:Test/graphics1'.
-
- 4. If the graphics are within a subdirectory type a <Y>, when you're asked
- 'Does a subdirectory exist? y/n', else type <N>.
- If you entered "Y", you can enter the subdirectory (e.g. 'subdir1'). So
- the graphics are within the path 'Graphicsdisk:Test/graphics1/subdir1'.
- Further directory levels are not supported by `HTML-Creator'.
-
- 5. If the name of the HTML file shall differ type a <Y>, when you're asked
- 'Shall the pages' name differ from the directories' name? y/n', else type
- <N>.
- If you entered "Y" you can enter the new page name.
-
- 6. If your last entry was a subdirectory you are asked if there's another
- subdirectory in the directory (e.g. 'Graphicsdisk:Test/graphics1').
- Type a <Y> if this is true, else type a <N>.
-
- 7. Now you're asked, if you want to quit. If you enter a <Y> the program will
- exit at once. If you enter a <N> the program continues with topic 2.
-
-
-
- Ia. Files created from ` CREATE_Dir-List'
- ---------------------------------------
-
- Now `CREATE_Dir-List' created 4 files (` CREATE_Lists',
- ` CREATE_ListsII', ` Sort_ListsII' and `directories.txt'.
-
- These files, except `directories.txt' are batch files, which means that
- they contain commands AmigaDOS executes one after the other.
-
- 1. If you started the AmigaBASIC version, select `Update' from the `Window'
- menu.
-
- 2. Now start ` CREATE_Lists' with a double click. The window `Execute A File'
- opens with the entry " CREATE_Lists". Now move the cursor to the left and
- enter 'EXECUTE '. Click on `OK' and ` CREATE_Lists' will be executed.
-
- 3. Handle the file ` CREATE_ListsII' the same way like
- described in topic 2.
-
-
-
- II. ` Swap_ListsII'
- -----------------
-
- Now start ` Swap_ListsII'. ` Swap_ListsII' works completely automatically
- and swaps all entries in the files created by ` CREATE_ListsII'
- (`ram:#?2.txt'). ` Swap_ListsII' will create new files (`ram:#?.icon.txt').
-
-
-
- III. ` Sort_ListsII'
- ----------------
-
- Now start ` Sort_ListsII'. This batch file works completely automatically.
- The files created from ` Swap_ListsII' will be sorted by the 'sort'
- command. Unfortunately 'sort' recognizes the umlauts Ä,ä,Ö,ö,Ü,ü and ß
- as own characters and not as Ae, ae, Oe, oe, Ue, ue and ss. So you should
- avoid these characters in file names.
-
-
-
- IV. ` CREATE_HTM's'
- ---------------
-
- 1. Start the program ` CREATE_HTM's'.
-
- 2. Enter the path the HTML files have to be stored. It is recommended to use
- the same path as in I.2.
-
- 3. ` CREATE_HTM's' asks, if you would like to use a background picture for
- your pages. Please notice, that the background picture will be the same
- for all pages. If you enter 'Y' you will be asked for the picture name.
- The picture must be within the path entered in topic 2 (subdirectories
- are allowed). After the input the program continues with topic 4.
- If you entered 'N' the program continues with topic 4.
-
- 4. ` CREATE_HTM's' will create the HMTL files for the graphic files as a file
- `INDEX.HTM', which contains links to the other HTML files.
-
-
-
- V. 'DOS'
- -----
-
- The program 'DOS' is only required, if you want to check, whether the
- file names are MS-DOS compatible or not.
- Use it this way:
-
- 1. Open a Shell.
-
- 2. Change to the desired [root directory], e.g. 'Graphicsdisk:Test' using
- cd Graphicsdisk:Test <RETURN>
-
- 3. Enter:
- list #?/#? >ram:List.txt <RETURN>
-
- This lists the graphic files within the directories and writes the output
- into the file `List.txt' on the "Ram Disk".
-
- 4. Enter:
- list #?/#?/#? >>ram:List.txt <RETURN>
-
- This lists the graphic files within the subdirectories and writes the output
- into the file `List.txt' on the "Ram Disk".
-
-
- 5. Start `DOS' and enter:
- ram:Liste.txt <RETURN>
-
- 6. Now 'DOS' checks the files listed in the file 'List.txt' you stored on the
- "Ram Disk". The result will be stored into the file 'Errors.txt' on the
- "Ram Disk".
-
-
-
- VI.`Dateigröße' (Filesize)
- ------------
-
- This program is not required for the creation. It does only show how many
- files are within the specified directories and how much space the files in
- them require.
- Use it this way:
-
- 1. Open a Shell.
-
- 2. Change to the desired [root directory], e.g. 'Graphicsdisk:Test' using
- cd Graphicsdisk:Test <RETURN>
-
- 3. Enter:
- list #?/#? >ram:List.txt <RETURN>
-
- This lists the graphic files within the directories and writes the output
- into the file `List.txt' on the "Ram Disk".
-
- 4. Enter:
- list #?/#?/#? >>ram:List.txt <RETURN>
-
- This lists the graphic files within the subdirectories and writes the output
- into the file `List.txt' on the "Ram Disk".
-
- This method has on disadvantage: If there are already thumbnails (within the
- `ICONS' directory, these will be listed as well. So you get more files than
- pictures present on the disk. If you do not want this, you have to name the
- directories by hand
- (e.g. list graphics1/#? >ram:List.txt <RETURN>)
-
- 5. Start `Dateigröße' and enter:
- ram:List.txt <RETURN>
-
- The program reads the file List.txt and will display shortly after that the
- number of files and the required space.
-
- VII. `Create_Index'
- --------------
-
- ~Create_Index' creates an index page as you might know from various ftp servers, which is a list of the file names/directories
- as links and information about the file size and attributes. The program requires a text file, which contains these informations.
- The textfile has to be made using the List command that way: List >filelist
- It is also possible to list only certain files: List #?.txt >filelist
- or to exclude files: List ~(#?(.html|.info)) >filelist
- If you want to append one file list to another you do it that way: List >>filelist
- After creating the file list you start `Create_Index'.
- Now the program asks you for the file name of the file list and the save path. There the file 'index.html' will be created.
- This name should not be changed, because the common WWW-browsers expect this name for directories.
-
-
- History
- =======
-
- V1.24 `Create_Index' added
- New address of the author
-
- V1.23 ` Create_HTM's' is able to use background pictures, now.
- Now ` Create_HTM's' uses the <TR>-tag correctly. (Just a little
- error, that did not really matter.)
-
- V1.22a New eMail address. (s. 'The author')
- No further changes.
-
- V1.22 Bugfix of V1.2. ` CREATE_HTM's' had problems with subdirectories.
- Error 62 should not appear anymore.
-
- V1.21 Bugfix of V1.2. `DOS' did not add the errors found correctly.
- Now `DOS' does not show any 5th line anymore, but the line currently
- processed.
- 'Error 53' has been replaced by 'File not found.'.
-
- V1.2 Bugfix of V1.1. `Dateigröße' did not use its error management.
- Created Program `DOS'.
-
- V1.1 Bugfix of V1.01. `Dateigröße' did not read all files in the directory.
- Added English outputs.
- Added Tool Types DEUTSCH and ENGLISH.
- Created English documentation.
-
- V1.01 Bugfix of V1.0. `INDEX.HTM' was not being closed correctly, so Netscape
- Navigator 3.0 could not display the page.
-
- V1.0 First version (programmed in AmigaBASIC,
- compiled with Cursor © Jürgen Forster)
-
-
-
- Future
- ======
-
- Maybe I'll write a C-Version, that does all the stuff internally.
-
-
-
- Disclaimer
- ==========
-
- The program package `HTML-Creator' is not PD, nor Freeware or Shareware.
-
- The author is not responsible for any damage, that may occur directly or
- indirectly, if you used `HTML-Creator'.
-
- If you want to use `HTML-Creator' to create HTML pages for storage media that
- are for commercial use or those that are not for own use you need a written
- permission from the author.
-
- `HTML-Creator' may appear without written permission only on the
- `AMINET'-CD-ROMs.
-
- The source code may be altered for own use. The altered versions may not
- be distributed.
-
- MS-DOS is Copyright, Microsoft Corp.
- AmigaBASIC is Copyright, Microsoft Corp.
-
-
-
- The Author
- ==========
-
- Martin Henke
- Oelinghovener Str. 2
- D-53639 Koenigswinter
-
- eMail: m.henke@01019freenet.de
-