carta
kwartz-ruby(1)

kwartz-ruby1

Language independent html templating system

Part of kwartz(1).

Usage

kwartz [options] files ...

Overview

kwartz is a template system which allows you to separate HTML design from programming logic. It creates a script in one of several languages from the template, which you then call from your web application.

Options

-h, --help

help

-v

version

-a action

compile/parse/translate/convert/analyze (default 'compile')

-l lang

eruby/erb/php/jstl10/jstl11 (default 'eruby')

-s, -e

sanitize(escape) (equvarent to --escape=true)

-p file1,file2,...

presentation logic filenames

-i file1,file2,...

import element from outer files

--escape[=true]

sanitize(escape)

--rename[=true]

rename local variables (ex. rename 'var' to '_var')

--charset=name

add '<%@ page contentType="text/html; charset=name" %>'

--odd=value

odd value in FOREACH or LIST (default "'odd'")

--even=value

even value in FOREACH or LIST (default "'even'")

--dattr=name

use attribute name as directive (default "kw:d")

--header=text

header text

--extract=name

extract an marked element

--include-dirs=dir1,dir2,...

directories for 'include:' directive

Author

This manual page was written by Wesley J. Landaker <[email protected]>, for the Debian project (but may be used by others without restriction).

From kwartz 1:2.0.0-beta3-1 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.