An ADP parser implements a specific syntax for ADPs. Two ADP parsers are pre-defined for AOLserver:
fancy: The "fancy" parser handles the <script language=tcl runat=server stream=on> syntax in addition to the other two syntaxes. It also handles registered ADP tags. The TagLocks parameter is enabled, and the ns_register_adptag and ns_adp_registertag commands are enabled. This parser offers a moderate performance degradation as compared to the "adp" parser.
You can register additional ADP parsers using the Ns_AdpRegisterParser C API function.
To configure ADP parsers, set parameters in two configuration file sections as follows:
ns_section "ns/server/server1/adp/parsers" ns_param "adp" ".adp" ns_param "fancy" ".fadp"
ns_section "ns/server/server1/adp" ns_param "map" "/*.adp" ns_param "map" "/*.inc" ns_param "map" "/*.fadp" ns_param "DefaultParser" "adp" ns_section "ns/server/server1/adp/parsers" ns_param "adp" ".adp" ns_param "fancy" ".fadp"
For more information on configuring ADPs, see the ADP configuration file sections starting on page page 56 of the AOLserver Administrator's Guide.