home *** CD-ROM | disk | FTP | other *** search
/ Internet 53 / INTERNET53.iso / pc / software / windows / building / html_px / sample / index.htt < prev    next >
Encoding:
Text File  |  1999-01-19  |  5.7 KB  |  138 lines

  1. #set title htmlPX - The HTML Programmer's Extension
  2.  
  3. {hdr}
  4.  
  5. <p>
  6. Please read the <a href="license.htm">License Agreement</a> before using this program.  By using the program,
  7. you have implicitly agreed to abide by these terms.
  8.  
  9. <p align="center">
  10. <a href="{webaddr}">
  11. <img src="htmlpx.gif" alt="This site developed with htmlPX." border=0"></a>
  12.  
  13. <p align="center">
  14. <table border=1>
  15. <tr>
  16. <td width="50%" align="center"><a href="uguide.htm">User's Guide</a></td>
  17. <td width="50%" align="center"><a href="ref.htm">Reference Guide</a></td>
  18. </tr>
  19. </table>
  20.  
  21. #call section Introduction
  22.  
  23. <p>
  24. The HTML Programmer's Extension, <b>htmlPX</b>, is a simple command-line HTML preprocessor that can be used to build
  25. websites from template files.  The template files and other, auxilliary files, are combined by htmlPX
  26. to produce HTML files that can be uploaded to a website.
  27.  
  28. <p>
  29. htmlPX is designed to allow someone who is well-versed with HTML to quickly build <i>template</i> files and <i>code
  30. library</i> files with a simple text editor.  A wide variety of HTML editors can also be used to create these files.
  31. These files are then combined based on a <i>site file</i>, which is a set of directives to htmlPX, to create an
  32. entire website.  This process is referred to as <i>compiling</i> or <i>generating</i>.  The advantages
  33. of using htmlPX over straight, hand-coded HTML files are:
  34.  
  35. <ul>
  36. <li> Easier to use than many other "database-driven" approaches
  37. <li> Allows use of your choice of HTML tools
  38. <li> Provides a means of building multi-pages sites with a great deal of consistency
  39. <li> Allows rapid changes to the "look" of the site upon recompilation
  40. <li> Provides a means of reusing HTML code by a means other than cut-and-pasting
  41. <li> Provides an easy means of creating "mirror" sites with very slight modifications
  42. <li> Produces HTML code that can work with all browsers, unlike code that uses style sheets
  43. </ul>
  44.  
  45. <p>
  46. I started building htmlPX because I needed a tool to build my own websites and I couldn't find a free tool that
  47. was as powerful and as easy to learn and use as I needed.  I hope you take a few moments to learn how to use
  48. htmlPX.  I believe it will be well worth the investment in time you give.  The 30 minutes it takes you to learn
  49. to use this tool will be paid back many times over in productivity improvements.  I hope htmlPX makes you more
  50. productive and makes building your websites easier and more fun.
  51.  
  52. #call section System Requirements
  53.  
  54. <p>
  55. htmlPX was originally developed as an exercise to learn the Java programming language.  It is written completely in
  56. Java using JDK 1.1.5 and therefore requires a Java 1.1 Virtual Machine <i>(JVM)</i> to run.  It was tested under
  57. Windows 95 and Windows NT 4.0 with both Sun's JVM <i>(java.exe)</i> and Microsoft's JVM <i>(jview.exe)</i>.  It
  58. should run on Windows 98, OS/2, UNIX, Linux and Macintosh as well, but it has not been tested.  I would be excited
  59. to hear of any non-Windows operating systems that it is used on.
  60.  
  61. <p>
  62. If you do not have a JVM, you can get Sun's runtime environment free.  Download the JRE from
  63. <a href="http://java.sun.com/products/jdk/1.1/jre/index.html">
  64. http://java.sun.com/products/jdk/1.1/jre/index.html</a>.
  65.  
  66. #call section Installation
  67.  
  68. <p>
  69. The actual Java classes that are needed to run htmlPX are located in the htpxs1_0.jar file.  This file is the only
  70. one that is really needed to run htmlPX.  Installation involves unzipping the downloaded file <i>htpxs1_0.zip</i>
  71. into a directory.  This directory will be called the <i>program directory</i>.
  72.  
  73. <p>
  74. For Windows use, a batch file named htmlpx.bat is included in the installation file.  This file can be used to
  75. actually run htmlPX.  You will need to modify htmlpx.bat so that the line<br><br>
  76. <code>java -classpath <b>c:\pgm\htmlpx\htpxs1_0.jar</b>;%CLASSPATH% htmlpx %1 %2 %3 %4 %5 %6 %7 %8 %9</code>
  77. <br><br>
  78. will contain your program directory instead of <code>c:\pgm\htmlpx</code>.  Notice that the <i>jar</i> file name
  79. is included in the directory specification.  Java needs the entire file name to find the classes in a compressed
  80. archive.
  81.  
  82. <p>
  83. You can modify the batch file to use <b>jview</b> from Microsoft if you wish to.  It could be modified to use
  84. whichever JVM you prefer.
  85.  
  86. <p>
  87. After modifying the htmlpx.bat file, you should copy it into a directory that is located in your path.  Once this
  88. has been correctly done, you can execute htmlPX with a command such as:<br><br>
  89. <code>htmlpx my.sf</code><br><br>
  90. where <i>my.sf</i> is your site file.  (More on that later.)
  91.  
  92. <p>
  93. For other operating systems you will need to create your own shell scripts or whatever to execute htmlPX in your
  94. environment.  If you have problems with this, please feel free to contact me at <a href="mailto:{email}">
  95. {email}</a> and I will try to help you determine how to run it on your system.
  96.  
  97. #call section Documentation
  98.  
  99. <p>
  100. The following documentation files will guide you through using htmlPX.
  101.  
  102. <center>
  103. <table>
  104. <tr>
  105. <td>
  106. <a href="uguide.htm">User's Guide</a>
  107. </td>
  108. <td width=50></td>
  109. <td>
  110. A quick tutorial and a basic user's guide
  111. </td>
  112. </tr>
  113. <tr>
  114. <td>
  115. <a href="ref.htm">Reference Guide</a>
  116. </td>
  117. <td width=50></td>
  118. <td>
  119. A detailed reference to all htmlPX directives
  120. </td>
  121. </tr>
  122. </table>
  123. </center>
  124.  
  125. #call section Support and Questions
  126.  
  127. <p>
  128. If you have questions or comments about htmlPX, please email me at <a href="mailto:{email}">
  129. {email}</a>.  Since this is free software, I cannot promise to fix the problem, but I will certainly
  130. try.  I want you to be successful and tell all of your friends.  I might even want you to buy an
  131. improved version of htmlPX at some future time.
  132.  
  133. <p>
  134. You can also visit the htmlPX webpage at <a href="{webaddr}">{webaddr}</a>.
  135.  
  136. {foot}
  137.  
  138.