
|
|
|
Pagenews website
|
|
|
|
|
|
|
|
|
|
|
|
Pagenews website
Copyright (C) 2004,2005,2006
by Philipp Kindt
|
|
Donparser Option handlers
Option handlers [OPTION "myfunction" "myvalue"[] set the option myoption to myvalue
Options are:
- recursive_parsing (yes|no), default: no
allows/prohibits recursive parsing,
that is parsing of handlers within a [FILE]-handler, a simple handler or a synonym
WARNING: the [DONPARSER_OPEN_BRACKET]/[DONPARSER_CLOSE_BRACKET]-handler count as normal bracket
if this option is set.
for example, [DONPARSER_OPEN_BRACKET]FILE myfile.pl[DONPARSER_CLOSE_BRACKET] is now a file handler!
- dontparse (yes|no), default: no
if "yes", the template is not parsed but the document object tree is created
- dontparse_completely (yes|no): default: no
if "yes", the template is not parsed and teh dot is NOT created
!THIS OPTION MUST BE SET BEFORE THE PARSING PROCESS AND CANNOT BE SET BY A TEMPLATE
- rm_unsupported (yes|no): default: no
if yes, all unknown handlers are removed (standard). otherwise, they
are kept intact entirely
- line_by_line (yes|no), default: yes
if yes, the document is parsed line by line. That means a handler
in a line abouve another is parsed first.
- remove_silly_lines (yes|no), default: no
if the document is parsed line by line, lines, that contain
a remark, an option handler, a code handler or a function handler ("silly handlers") are removed completely.
in addition, the header-footer-separating newline is removed.
handle with care. This is normally set via the API's set_option functions!
- volatile (yes/no), default: no
if a document is declared "volatile", it will not be converted into a static html when doing COF
|
->
admin log-in
Powered by Pagenews DN 6.1.2 by Philipp Kindt
|