# =============================================================================== # = Short Comments: # =============================================================================== # Template 1: page variables -> e.g. index.tmpl # Template 2: html template -> 00_html_page.templ (always!) # Template 3: describing page -> 00_tmpl_page.descr (this page) # # =============================================================================== # = MAKING HTML FILE: # =============================================================================== # # 1) reading first: index.tmpl # 2) then reading: 00_html_page.templ # 3) making: index.html # # index.tmpl ---------> +-----------------------+ # | 0_make_html_page.rexx | --> index.html # 00_html_page.templ --> +-----------------------+ # # =============================================================================== # = EXAMPLE PAGES: # =============================================================================== # I. Text Area with list II. Text Area + Right Menu + Footer # (one column table) (two column table) # # Text Area Text Area RMenu # +----------------------------+ +--------------------+-------+ # | Page Title_2 | | Page Title_2 | pict1 | # | ------- horiz line ------- | | --- horiz line --- | | # | date | | date | pict2 | # | homepage -> this page | | homepage | | # | | | | pict3 | # | * list item | | * list item | | # | * list item | | * list item | pict4 | # | * list item | | * list item | | # | | | | pict5 | # | | | paragraph | | # | | | | | # | | |--------------------+-------+ # | E-mail | | Footer | # +----------------------------+ +----------------------------+ # | | | | | # +<----------- 800 ---------->+ +<----- 600 -------->+<-200->+ # # III: Left Menu + Text Area + Right Menu # (three column table) # # LMenu Text Area RMenu # +-------+----------------+-------+ # | SECT1 | Page Title_2 | SECT1 | # | item1 | - horiz line - | item1 | # | item2 | date | item2 | # | item3 | homepage ->... | | # | | | SECT2 | # | SECT2 | paragraph 0 | item1 | # | item1 | | item2 | # | item2 | paragraph 1 | | # | item3 | paragraph 2 | SECT3 | # | | paragraph 3 | item1 | # | SECT3 | | item2 | # | item1 | - horiz line - | item3 | # | item2 | E-mail | | # +-------+----------------+-------+ # | | # +<-150->+<--- 550 ------>+<-200->+ # ********************************************************************************* * ATTENTION!!! * * * * There's strict relation between variable names: e.g "var_3": * * Qvar_3Q <--> $var_3$ (00_html_page.templ <--> page.tmpl) * * * ********************************************************************************* # =============================================================================== # = PAGE VARIABLES in 00_html_page.templ files: # Examples: #

Qvar_3Q

 

# =============================================================================== # = PAGE VARIABLES in page.tmpl files: # =============================================================================== # One can create as many variables as he wishes. # For example defining background colors. # ----------------------------------------------- # Examples: # # --- Title --- $var_1$ P2O2's WWW # --- Page Title --- $var_2$ Przemysław Pawełczyk - P2O2's WWW # --- Date --- $var_3$ Created - Apr 31, 2007  |  Modified - May 01, 2007 # --- Table Color --- $var_4$ #000066 # # Other VARIABLES in page.tmpl file: # ---------------------------------- # "_LF" = line feed in Rexx language ( x2c('0A') ) # "X" = 1,2,3,4,5,....... " # "list_X" = list item # "ltypeX" = list-ul, list-ol, list-dl, images, emails, hpage # ********************************************************************************* * NOTES: * * * * 1) "chapter" in address field in list-ul/list-ol means List Chapter Title * * 2) "section" in address field in list-ul/list-ol means List Section Title * * 3) "subsection" in address field in list-ul/list-ol means SubSection Title * * 4) "top" in address field in list-ul/list-ol means End of Chapter (MUST be) * * 5) empty address in images means picture does not have a link * * * * WARNING! * * * * >>>>>>>> "chapter" and "top" must be paired! <<<<<<<<< * * * ********************************************************************************* # Examples: # # --- 1 list (
  • links) --- $ltype1$ list-ul $list_1$ chapter × Chapter 1 × $list_1$ section × Section 1 × $list_1$ http://pp.kv.net.pl/lnbsd/index.html × The LearN@BSD Project × - learning NetBSD step-by-step *) $list_1$ http://pp.kv.net.pl/oorexx/index.html × Open Object Rexx in NetBSD × $list_1$ section × Section 2 × $list_1$ http://pp.kv.net.pl/pl/index.html × Bla Bla Bla × **) $list_1$ http://pp.kv.net.pl/pl/index.html × Foo Foo Bar × $list_1$ top × Top × $list_1$ chapter × Chapter 2 × $list_1$ http://pp.kv.net.pl/lnbsd/index.html × The LearN@BSD Project × - learning NetBSD step-by-step *) $list_1$ http://pp.kv.net.pl/oorexx/index.html × Open Object Rexx in NetBSD × $list_1$ section × Section 1 × $list_1$ http://pp.kv.net.pl/pl/index.html × Bla Bla Bla × **) $list_1$ http://pp.kv.net.pl/pl/index.html × Foo Foo Bar × $list_1$ top × Top × # --- 2 list (

    images with or w/o links) --- $ltype2$ images $list_2$ × ./images/p2o2_50_8.png × [Logo P2O2] $list_2$ http://www.netbsd.org/ × ./images/NetBSD-flag.png × [Logo NetBSD] $list_2$ http://www.oorexx.org × ./images/oorexx_50.png × [Logo Open Object Rexx] # --- 3 list (e-mail links) --- $ltype3$ emails $list_3$ pp_o2@o2.pl × Przemysław Pawełczyk × - Cracow, Poland