home *** CD-ROM | disk | FTP | other *** search
- $zonkpage 1.00
-
- # any line beginning with a '#' is taken as a comment
- # blank lines are also ignored
- # the first line for any Zonk datafile or template must start '$zonkpage'
- # the number then specifies the earliest version of the program that
- # will be able to understand this file
-
- pagename: Example 1
-
- textcolour: ff0000
-
- graphic: <zonkexamp$dir>.htm.logo/gif
-
- bodytext:{<header>Welcome!</header>
- The first example is very straightforward it illustrates the following things:
-
- <ul><li>How a variable can be used more than once, note that 'pagename' is used both for the page title and also as a title above
- <li>The case insensitivity of Zonk to variable names
- <li>How a variable can be embedded inside a normal html tag
- <li>a 'Pseudo-style' (header)
- <li>How transforms can be applied
- <li>Entity tranformation (look at the ampersand in the line below)
- <li>The availablity of internal variables & a simple use of formats
- </ul>