home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / dir2html.zip / sample.rc < prev   
Text File  |  1996-03-06  |  4KB  |  92 lines

  1. ;    Directory to HTML Convertor - sample resource file
  2. ;    Copyright (C) 1996   Helge Walter
  3. ;    
  4. ;    This program is free software; you can redistribute it and/or
  5. ;    modify it under the terms of the GNU General Public License
  6. ;    as published by the Free Software Foundation; either version 2
  7. ;    of the License, or any later version.
  8. ;    
  9. ;    This program is distributed in the hope that it will be useful,
  10. ;    but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. ;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. ;    GNU General Public License for more details.
  13. ;    
  14. ;    You should have received a copy of the GNU General Public License
  15. ;    along with this program; if not, write to the Free Software
  16. ;    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  17. ;
  18. ;    Contact me at hwa@master.hrz.th-zwickau.de or
  19. ;                  Helge.Walter@banyan.th-zwickau.de
  20. ;     or via snail-mail at
  21. ;                  Helge Walter
  22. ;                  Friedrichstr. 15
  23. ;                  08124 Cainsdorf
  24. ;                  Germany
  25. ;
  26. ; It describes the usage of response files to automate the creation
  27. ; of directory indices. Response files support also special features
  28. ; not available thrue command line options. So you can customize
  29. ; all texts used in the final HTML document. This is useful for
  30. ; automatic porting the document to another language.
  31. ;
  32. ; Use this file commandig: DIR2HTML -r sample.rc
  33. ;
  34. ; You can find the page created using this file at
  35. ;  http://www.th-zwickau.de/~hwa/midi
  36. ;
  37. ;
  38. ; First we include our master response file
  39. ;  This is useful, when you are managing more than one directory
  40. ;  and you want e.g. to put on every directory the same postscriptum
  41. ;  (described later). Here you can put your e-mail adress and if it
  42. ;  changes you have to change it only once. I find this feature really
  43. ;  cool ;-))
  44. ;-r d:\ftp-area\master.rc
  45. ;
  46. ; Then we override some command line switches
  47. ;  Create an indexing zip file
  48. -i index.zip
  49. ;  Use file description stored in Os/2's .SUBJECT EA
  50. -s
  51. ;  Display the file file_id.diz
  52. -f
  53. ;  Convert filenames to lower case
  54. -l
  55. ;  Specify the files to index
  56. -files *.mid
  57. ;
  58. ; Now we use the extended features to create a really good page
  59. ;  Specify parameters to use for BODY tag. A background bitmap
  60. ;  would be nice
  61. -body BACKGROUND="http://www.th-zwickau.de/backgn/bkgrd-4.gif"
  62. ;  The target browser also may show a nice document title
  63. -title Walts MIDI-Page
  64. ;  Shock the user with a heading
  65. -heading Welcome to Walts chaotic MIDI-Page
  66. ;  We should give the user a chance to access the summoned index
  67. ;  file in a real crazy manner
  68. -index Choose an index file to download all files <UL><LI>%i,<LI>%i or<LI>%i</UL>
  69. ;  A little intro should give the user a kick to down and load
  70. -begin preface
  71. Hi Folks! This is my collection of some fine and not so fine MIDI files.
  72. You know this is digital music and there are some really fine tunes you
  73. can find here. So use your chance and download them. You are visitor number
  74. <img src= "http://www.th-zwickau.de/cgi-bin/counter/~hwa/midi/index.html" align=middle alt="Counter Off-Line"> .
  75. -end
  76. ;  Leave an adress, where letter bombs have to be sent to
  77. -begin postscriptum
  78. If you enjoy this music and if you're female, so send me a letter of
  79. love to my <A HREF="mailto:hwa@master.hrz.th-zwickau.de">mailbox</A>.
  80. Males have to mail <A HREF="mailto:hwa@master.hrz.th-zwickau.de">here</A>
  81. instead.<BR>
  82. I last updated this page %d %t.
  83. -end
  84. ; If you were looking strongly at the text above, you can find some
  85. ; useful features. Yes ... the macros. Here they are listed:
  86. ;  %d   the current date
  87. ;  %f   the filemasks given to index the files
  88. ;  %i   a hyper reference to the index file
  89. ;  %t   the current time
  90. ;  %v   version information of DIR2HTML
  91. ;  %%   this simply result a '%' :-)
  92.