open Pxp_types;;
open Pxp_yacc;;
+let version = "0.2.0"
+
type setting_src =
| Environment (* read setting from environment variables *)
| Conffile (* read setting from configuration file *)
let dump_env () =
printf
-"xml_dbm:\t%s
+"HTTP Getter %s (the OCaml one!)
+
+xml_dbm:\t%s
rdf_dbm:\t%s
xsl_dbm:\t%s
xml_index:\t%s
servers:
\t%s
"
- xml_dbm rdf_dbm xsl_dbm xml_index rdf_index xsl_index
- xml_dir rdf_dir dtd_dir servers_file host port
- my_own_url dtd_base_url
+ version xml_dbm rdf_dbm xsl_dbm xml_index rdf_index xsl_index
+ xml_dir rdf_dir dtd_dir servers_file host port my_own_url dtd_base_url
(match cache_mode with Enc_normal -> "Normal" | Enc_gzipped -> "GZipped")
conf_file conf_dir (String.concat "\n\t" !servers);
flush stdout
open Http_getter_types;;
+ (* general information *)
+
+val version : string (* getter version *)
+
(* environment gathered data *)
val xml_dbm : string (* XML map DBM file *)