home *** CD-ROM | disk | FTP | other *** search
- ; Directory to HTML Convertor - sample resource file
- ; Copyright (C) 1996 Helge Walter
- ;
- ; This program is free software; you can redistribute it and/or
- ; modify it under the terms of the GNU General Public License
- ; as published by the Free Software Foundation; either version 2
- ; of the License, or any later version.
- ;
- ; This program is distributed in the hope that it will be useful,
- ; but WITHOUT ANY WARRANTY; without even the implied warranty of
- ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- ; GNU General Public License for more details.
- ;
- ; You should have received a copy of the GNU General Public License
- ; along with this program; if not, write to the Free Software
- ; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- ;
- ; Contact me at hwa@master.hrz.th-zwickau.de or
- ; Helge.Walter@banyan.th-zwickau.de
- ; or via snail-mail at
- ; Helge Walter
- ; Friedrichstr. 15
- ; 08124 Cainsdorf
- ; Germany
- ;
- ; It describes the usage of response files to automate the creation
- ; of directory indices. Response files support also special features
- ; not available thrue command line options. So you can customize
- ; all texts used in the final HTML document. This is useful for
- ; automatic porting the document to another language.
- ;
- ; Use this file commandig: DIR2HTML -r sample.rc
- ;
- ; You can find the page created using this file at
- ; http://www.th-zwickau.de/~hwa/midi
- ;
- ;
- ; First we include our master response file
- ; This is useful, when you are managing more than one directory
- ; and you want e.g. to put on every directory the same postscriptum
- ; (described later). Here you can put your e-mail adress and if it
- ; changes you have to change it only once. I find this feature really
- ; cool ;-))
- ;-r d:\ftp-area\master.rc
- ;
- ; Then we override some command line switches
- ; Create an indexing zip file
- -i index.zip
- ; Use file description stored in Os/2's .SUBJECT EA
- -s
- ; Display the file file_id.diz
- -f
- ; Convert filenames to lower case
- -l
- ; Specify the files to index
- -files *.mid
- ;
- ; Now we use the extended features to create a really good page
- ; Specify parameters to use for BODY tag. A background bitmap
- ; would be nice
- -body BACKGROUND="http://www.th-zwickau.de/backgn/bkgrd-4.gif"
- ; The target browser also may show a nice document title
- -title Walts MIDI-Page
- ; Shock the user with a heading
- -heading Welcome to Walts chaotic MIDI-Page
- ; We should give the user a chance to access the summoned index
- ; file in a real crazy manner
- -index Choose an index file to download all files <UL><LI>%i,<LI>%i or<LI>%i</UL>
- ; A little intro should give the user a kick to down and load
- -begin preface
- Hi Folks! This is my collection of some fine and not so fine MIDI files.
- You know this is digital music and there are some really fine tunes you
- can find here. So use your chance and download them. You are visitor number
- <img src= "http://www.th-zwickau.de/cgi-bin/counter/~hwa/midi/index.html" align=middle alt="Counter Off-Line"> .
- -end
- ; Leave an adress, where letter bombs have to be sent to
- -begin postscriptum
- If you enjoy this music and if you're female, so send me a letter of
- love to my <A HREF="mailto:hwa@master.hrz.th-zwickau.de">mailbox</A>.
- Males have to mail <A HREF="mailto:hwa@master.hrz.th-zwickau.de">here</A>
- instead.<BR>
- I last updated this page %d %t.
- -end
- ; If you were looking strongly at the text above, you can find some
- ; useful features. Yes ... the macros. Here they are listed:
- ; %d the current date
- ; %f the filemasks given to index the files
- ; %i a hyper reference to the index file
- ; %t the current time
- ; %v version information of DIR2HTML
- ; %% this simply result a '%' :-)
-