Open Object Rexx
in NetBSD -
MakeHtmlPage.rexx
Created - Apr 31, 2007 | Modified - Sep 20, 2007
P2O2 WWW Homepage -> Open Object Rexx in NetBSD -> MakeHtmlPage.rexx
ooRexx Sources and Links
Open Object Rexx must be compiled from sources provided by Open Object Rexx (ooRexx) website [1].
[1] Open Object Rexx Downloads
All Files to Make HTML Page(s)
ATTENTION
1.) This article describes how Open Object Rexx in NetBSD - Compilation page is created with help of Rexx scripting language.
2.) Only first four files are essential. x.old and x.html files are generated by the two scripts: 0_make_html_page.sh and 0_make_html_page.rexx (see a picture of Midnight Commander window: left panel shows compile.html directory, right one this page "factory").
3.) Numbers in file names at their beginnings place them at the top of a list of the directory they are in. It is highly convenient to have them at hand and easy to find when there are many page templates within the same directory.
- 00_tmpl_page.descr
- Main documentation file explaining all variables used by rexx script (0_make_html_page.rexx), html page layouts, and list definitions.
- 00_html_page.templ
- Main template containing HTML code of the page and variables which are defined in another template file - compile.tmpl.
- compile.tmpl
- All important information like page titles, date, footer with author's address, and most important list items are placed in this file.
- 0_make_html_page.rexx
- Main REXX script which can be run separately but should be better invoked by BASH script - 0_make_html_page.sh. All explanation can be found within the code of the files.
- 0_make_html_page.sh
- Only this script should be run to make new HTML page. It keeps directory tidy. It also makes backup copies (x.old files), and detects all x.tmpl files which will be processed by rexx script 0_make_html_page.rexx.
- compile.tmpl.old
- Previous copy of second page template.
- compile.html
- HTML file generated by rexx script 0_make_html_page.rexx using data contained in 00_html_page.templ and compile.tmpl files.
- compile.html.old
- Previous copy of HTML page
Download Files
1.) 00_tmpl_page.descr
2.) 00_html_page.templ
3.) compile.tmpl
4.) 0_make_html_page.rexx
5.) 0_make_html_page.sh
|
![[Logo P2O2]](./../images/p2o2_50_8.png)
![[Logo NetBSD]](./../images/NetBSD-flag.png)
![[Logo Open Object Rexx]](./../images/oorexx_50.png)
![[Powered by Rexx Logo]](./../images/powrexx2.png)
|