Main page 
 HTML PLAIN reference V1.1 
   7. Test results 
  next up previous contents index
Next: 8. Changelogs Up: HTML PLAIN reference V1.1 Previous: 6. Summary and conclusions

Subsections

7. Test results

  
7.1 Example page

This example is discussed at Section 5.2 on page [*]. This appendix lists all files, which are also included for reference in every distribution of HTML PLAIN.

   
7.1.1 Setup

7.1.1.1 Full configuration file


verbatim20

7.1.1.2 Input directory

See Table A.1.


 
Table A.1: Input directory of example page
File name Purpose
arrow.gif Picture with arrow
config.pl Configuration file
example.html Example page
filetable.txt File table
index.html First example
skip.html A page that is not parsed
template.html Template for all pages
template_2.html Template for *.data pages
test1.data First set of demo data
test2.data Second set of demo data
variables.txt Variable file


7.1.1.3 File table

The .data entries are quite long and do not fit on one line.


verbatim21

7.1.1.4 Template

Because this file is quite small, it has also been included in full length in Section 5.3.


verbatim22

7.1.1.5 Variable file

Because this file is quite small, it has also been included in full length in Section 5.3. The tab characters are not properly reproduced here; they will appear differently in most editors (such as vi).


verbatim23

7.1.2 HTML documents

7.1.2.1 index.html


verbatim24

7.1.2.2 example.html


verbatim25

7.1.2.3 skip.html

This page is simply copied to the destination directory and therefore of little interest.

7.1.2.4 template_2.html

This document generates test1.html and test2.html, using  
<!- foreach -> (see Section 2.8.2 on page [*]).


verbatim26

7.1.2.5 test1.data


verbatim27

7.1.2.6 test2.data


verbatim28

7.1.3 Output

Some of the changes are more subtle, and not visible on the first look. At the second look, it should become obvious that this preprocessor has many uses, some of which have not even been thought of by the author :-)

7.1.3.1 Output directory

See Table A.2.


 
Table A.2: Output directory of example page
File name Remark
arrow.gif Symbolic link to picture
example.html Example page (overrides body tag)
index.html Uses custom defined tag
skip.html A page that is not parsed
test1.html First output page of template_2.html
test2.html Second output page of template_2.html


7.1.3.2 index.html


verbatim29

7.1.3.3 example.html


verbatim30

7.1.3.4 skip.html

This page is simply copied to the destination directory and therefore of little interest.

7.1.3.5 test1.html


verbatim31

7.1.3.6 test2.html


verbatim32

7.2 Other test pages

There were a few other pages used for testing, but the features tested there were the same. Because it would take a large amount of paper to list these, too, I would rather spare a few trees. These pages can be obtained by request - go to artho.com |http://artho.com/| for a contact form.

Also, the entire artho.com page was made using HTML PLAIN, and many of the more advanced features could only be tested there, using a ``real'' page. The test pages from above were just too simple for showing some of the more subtle bugs. It was also a good way to test the inclusion of latex2html documents (see Section 5.5).


next up previous contents index
Next: 8. Changelogs Up: HTML PLAIN reference V1.1 Previous: 6. Summary and conclusions