aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/spine.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2021-08-12 13:14:49 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2021-08-20 12:03:17 -0400
commit24269204508d8cf8f963eb9c7d149d18840e4dad (patch)
treec94ac0fdab5496fa4969098604ffcfaa87c18678 /src/doc_reform/spine.d
parentconfiguration reorganized into config files (diff)
config, clean up and make a bit more consistent
- check version settings with: rg -A2 _version_set$ org
Diffstat (limited to 'src/doc_reform/spine.d')
-rwxr-xr-xsrc/doc_reform/spine.d18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/doc_reform/spine.d b/src/doc_reform/spine.d
index d7d175e..752d3ee 100755
--- a/src/doc_reform/spine.d
+++ b/src/doc_reform/spine.d
@@ -174,14 +174,14 @@ string program_name = "spine";
string[string] settings = [
"output" : "", //_cfg.www_doc_root, // "/srv/www/spine/static" or "/var/www/html"
"www-http" : "", //_cfg.www_http, // "http" or "https"
- "www-domain" : "", //_cfg.www_domain, // start with "localhost" ?
- "www-domain-doc-root" : "", //_cfg.www_domain_doc_root, // start with "localhost" ?
+ "www-host" : "", //_cfg.www_host, // start with "localhost" ?
+ "www-host-doc-root" : "", //_cfg.www_host_doc_root, // start with "localhost" ?
"www-url-doc-root" : "", //_cfg.www_url_doc_root, // start with "http://localhost" ?
"cgi-bin-root" : "", //_cfg.cgi_bin_root, // suggest "/var/www/cgi/cgi-bin"
"cgi-sqlite-search-filename" : "", //_cfg.cgi_filename, // suggest "spine_search" (though "spine-search" would have been preferable?)
"cgi-url-root" : "", //_cfg.cgi_url_root, // start with "http://localhost/cgi-bin" ?
"cgi-url-action" : "", //_cfg.cgi_url_action, // start with "http://localhost/cgi-bin/spine-search"
- "cgi-search-title" : "", //_cfg.cgi_title, // e.g. "≅ SiSU Spine search"
+ "cgi-search-title" : "", //_cfg.cgi_search_form_title, // e.g. "≅ SiSU Spine search"
"config" : "",
"lang" : "all", //_cfg.default_language, // suggest "all" or "en" (default which language to process)
"set-papersize" : "", //_cfg.default_papersize, // suggest: a4
@@ -254,8 +254,8 @@ string program_name = "spine";
"sqlite-insert", "sqlite output", &opts["sqlite-insert"],
"sqlite-update", "sqlite output", &opts["sqlite-update"],
"www-http", "http or https", &settings["www-http"],
- "www-domain", "web server domain name", &settings["www-domain"],
- "www-domain-doc-root", "web host domain name with path to doc root", &settings["www-domain-doc-root"],
+ "www-host", "web server host (domain) name", &settings["www-host"],
+ "www-host-doc-root", "web host host (domain) name with path to doc root", &settings["www-host-doc-root"],
"www-url-doc-root", "e.g. http://localhost", &settings["www-url-doc-root"],
"text", "text output", &opts["text"],
"theme-dark", "alternative dark theme", &opts["theme-dark"],
@@ -496,11 +496,11 @@ string program_name = "spine";
@trusted string latex_papersize() {
return settings["set-papersize"];
}
- @trusted string webserver_domain_name() {
- return settings["www-domain"];
+ @trusted string webserver_host_name() {
+ return settings["www-host"];
}
- @trusted string webserver_domain_doc_root() {
- return settings["www-domain-doc-root"];
+ @trusted string webserver_host_doc_root() {
+ return settings["www-host-doc-root"];
}
@trusted string webserver_url_doc_root() {
return settings["www-url-root"];