diff options
| -rw-r--r-- | .dr/config_local_site_example | 2 | ||||
| -rw-r--r-- | README | 2 | ||||
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | doc/man/man1/spine.1 | 2 | ||||
| -rw-r--r-- | flake.lock | 12 | ||||
| -rw-r--r-- | org/COPYRIGHT | 6 | ||||
| -rw-r--r-- | org/config_d_cfte.org | 2 | ||||
| -rw-r--r-- | org/meta_conf_make_meta.org | 4 | ||||
| -rw-r--r-- | org/out_curate_metadata.org | 19 | ||||
| -rw-r--r-- | org/out_metadata.org | 32 | ||||
| -rw-r--r-- | org/out_xmls.org | 21 | ||||
| -rw-r--r-- | org/spine_info.org | 4 | ||||
| -rw-r--r-- | src/doc_reform/io_out/metadata.d | 32 | ||||
| -rw-r--r-- | src/doc_reform/io_out/xmls.d | 19 | ||||
| -rw-r--r-- | src/doc_reform/meta/metadoc_curate_authors.d | 11 | ||||
| -rw-r--r-- | src/doc_reform/meta/metadoc_curate_topics.d | 10 | ||||
| -rw-r--r-- | views/configuration_example.txt | 2 | 
17 files changed, 116 insertions, 66 deletions
| diff --git a/.dr/config_local_site_example b/.dr/config_local_site_example index 2ddbfac..3882cf5 100644 --- a/.dr/config_local_site_example +++ b/.dr/config_local_site_example @@ -19,7 +19,7 @@ webserv:    data_root_path:              "/srv/www/spine"                   # "/var/www/html"    data_root_part:              ""                                 # "/spine"    images_root_part:            "image" -  cgi_search_form_title:       "≅ SiSU Spine search" +  cgi_search_form_title:       "≅ SiSU Spine search ፨"    cgi_http:                    "http"                             # "https"    cgi_domain:                  "localhost"                        # "mysite.org"    cgi_bin_url:                 "http://localhost/cgi-bin"         # "https://mysite.org/cgi-bin" @@ -119,7 +119,7 @@ webserv:    data_root_path:              "/var/www/html"    data_root_part:              ""    images_root_part:            "image" -  cgi_search_form_title:       "≅ SiSU Spine search" +  cgi_search_form_title:       "≅ SiSU Spine search ፨"    cgi_http:                    "http"    cgi_host:                    "localhost"    cgi_bin_url:                 "http://localhost/cgi-bin" @@ -102,7 +102,7 @@ webserv:    data_root_path:              "/var/www/html"    data_root_part:              ""    images_root_part:            "image" -  cgi_search_form_title:       "≅ SiSU Spine search" +  cgi_search_form_title:       "≅ SiSU Spine search ፨"    cgi_http:                    "http"    cgi_host:                    "localhost"    cgi_bin_url:                 "http://localhost/cgi-bin" diff --git a/doc/man/man1/spine.1 b/doc/man/man1/spine.1 index 5701e03..ac3fe19 100644 --- a/doc/man/man1/spine.1 +++ b/doc/man/man1/spine.1 @@ -501,7 +501,7 @@ webserv:    data_root_path:              "/var/www/html"    data_root_part:              ""    images_root_part:            "image" -  cgi_search_form_title:       "≅ SiSU Spine search" +  cgi_search_form_title:       "≅ SiSU Spine search ፨"    cgi_http:                    "http"    cgi_host:                    "localhost"    cgi_bin_url:                 "http://localhost/cgi-bin" @@ -5,11 +5,11 @@          "systems": "systems"        },        "locked": { -        "lastModified": 1685518550, -        "narHash": "sha256-o2d0KcvaXzTrPRIo0kOLV0/QXHhDQ5DTi+OxcjO8xqY=", +        "lastModified": 1687171271, +        "narHash": "sha256-BJlq+ozK2B1sJDQXS3tzJM5a+oVZmi1q0FlBK/Xqv7M=",          "owner": "numtide",          "repo": "flake-utils", -        "rev": "a1720a10a6cfe8234c0e93907ffe81be440f4cef", +        "rev": "abfb11bd1aec8ced1c9bb9adfe68018230f4fb3c",          "type": "github"        },        "original": { @@ -20,11 +20,11 @@      },      "nixpkgs": {        "locked": { -        "lastModified": 1685894048, -        "narHash": "sha256-QKqv1QS+22k9oxncj1AnAxeqS5jGnQiUW3Jq3B+dI1w=", +        "lastModified": 1687518131, +        "narHash": "sha256-KirltRIc4SFfk8bTNudIqgKAALH5oqpW3PefmkfWK5M=",          "owner": "NixOS",          "repo": "nixpkgs", -        "rev": "2e56a850786211972d99d2bb39665a9b5a1801d6", +        "rev": "3d8a93602bc54ece7a4e689d9aea1a574e2bbc24",          "type": "github"        },        "original": { diff --git a/org/COPYRIGHT b/org/COPYRIGHT index 4480c58..53834a0 100644 --- a/org/COPYRIGHT +++ b/org/COPYRIGHT @@ -1,10 +1,10 @@  - Name: spine - SiSU Spine, Doc Reform    - Description: documents, structuring, processing, publishing, search      - static content generator - +      - Author: Ralph Amissah      [ralph.amissah@gmail.com] - +      - Copyright: (C) 2015 - 2023 Ralph Amissah    - Spine, Doc Reform (related to SiSU) uses standard: @@ -13,7 +13,7 @@          modifications      - docReform object numbering (based on SiSU object citation numbering)        - standard SiSU document object numbering - +      - Homepages:      [https://www.sisudoc.org] diff --git a/org/config_d_cfte.org b/org/config_d_cfte.org index 40669dd..845e44d 100644 --- a/org/config_d_cfte.org +++ b/org/config_d_cfte.org @@ -220,7 +220,7 @@ spine_search  #+NAME: cgi_search_form_title  #+BEGIN_SRC sh -≅ SiSU Spine search +≅ SiSU Spine search ፨  #+END_SRC  #+NAME: db_sqlite_filename diff --git a/org/meta_conf_make_meta.org b/org/meta_conf_make_meta.org index a7987e4..64a8b0f 100644 --- a/org/meta_conf_make_meta.org +++ b/org/meta_conf_make_meta.org @@ -152,7 +152,7 @@ struct Cfg {    string cgi_port                 = "";    string cgi_user                 = "";    string cgi_url_action           = "http://localhost/cgi-bin/spine_search"; -  string cgi_search_form_title    = "≅ SiSU Spine search"; +  string cgi_search_form_title    = "≅ SiSU Spine search ፨";    string db_sqlite_path           = "/var/www/sqlite";    string db_sqlite_filename       = "spine.search.db";    string default_language         = "en"; @@ -188,7 +188,7 @@ webserv:    data_root_path:              "/srv/www/spine"                   # "/var/www/html"    data_root_part:              ""                                 # "/spine"    images_root_part:            "image" -  cgi_search_form_title:       "≅ SiSU Spine search" +  cgi_search_form_title:       "≅ SiSU Spine search ፨"    cgi_http:                    "http"                             # "https"    cgi_domain:                  "localhost"                        # "mysite.org"    cgi_bin_url:                 "http://localhost/cgi-bin"         # "https://mysite.org/cgi-bin" diff --git a/org/out_curate_metadata.org b/org/out_curate_metadata.org index 61247c2..9022463 100644 --- a/org/out_curate_metadata.org +++ b/org/out_curate_metadata.org @@ -218,7 +218,7 @@ foreach(k, doc_curate; hvst.curates) {  <html>  <head>  <meta charset="utf-8"> -<title>Curated metadata - Topics</title> +<title>⌘ Curated metadata - Topics</title>  #+END_SRC  *** curated topics html head @@ -230,11 +230,11 @@ foreach(k, doc_curate; hvst.curates) {  <a name="top" id="top"></a>  <a name="up" id="up"></a>  <a name="start" id="start"></a> -<h1>Curated metadata - Topics (output organised by language & filetype)</h1> +<h1>⌘ Curated metadata - Topics (output organised by language & filetype)</h1>  <div class="flex-menu-bar">  <div class="flex-menu-option"> -<p>[<a href="../../index.html"> HOME </a>] - [<a href="authors.html"> Curated metadata - Authors </a>] +<p>[<a href="../../index.html"> ≅ HOME </a>] + [<a href="authors.html"> ⌘ Curated metadata - Authors </a>]  </p>  </div>   %s @@ -513,7 +513,7 @@ template spineMetaDocCuratesAuthors() {  <html>  <head>  <meta charset="utf-8"> -<title>Curated metadata - Authors</title> +<title>⌘ Curated metadata - Authors</title>  #+END_SRC  *** curated authors html head @@ -525,12 +525,11 @@ template spineMetaDocCuratesAuthors() {  <a name="top" id="top"></a>  <a name="up" id="up"></a>  <a name="start" id="start"></a> -<h1>Curated metadata - Authors (output organised by language & filetype)</h1> +<h1>⌘ Curated metadata - Authors (output organised by language & filetype)</h1>  <div class="flex-menu-bar">  <div class="flex-menu-option"> -<p>[<a href="../../index.html"> HOME </a>] - [<a href="topics.html"> Curated metadata - Topics </a>] -</p> +<p>[<a href="../../index.html"> ≅ HOME </a>] + [<a href="topics.html"> ⌘ Curated metadata - Topics </a>] </p>  </div>  %s  </div> @@ -816,7 +815,7 @@ string theme_light_1 = format(q"┃  <input type="hidden" name="sml" value="1000">  <input type="hidden" name="ec" value="on">  <input type="hidden" name="url" value="on"> -<button type="submit" form="search">※ db</button> +<button type="submit" form="search">㏈ ፨</button>  </font></form>  <!-- SiSU Spine Search -->  </div>┃", diff --git a/org/out_metadata.org b/org/out_metadata.org index f8b0e3a..aa57303 100644 --- a/org/out_metadata.org +++ b/org/out_metadata.org @@ -88,7 +88,7 @@ metadata_ ~= format(q"┃<body lang="en" xml:lang="en">  ┃");  metadata_ ~= "<div class=\"flex-menu-bar\"><div class=\"flex-menu-option\">";  if (doc_matters.opt.action.html_link_curate) { -  metadata_ ~= format(q"┃<p>[<a href="../../../index.html"> <b>≅</b> HOME </a>] Curated metadata: +  metadata_ ~= format(q"┃<p>[<a href="../../../index.html"> <b>≅</b> ≅ HOME </a>] ⌘ Curated metadata:     [<a href="../../authors.html"> Authors </a>]     [<a href="../../topics.html"> Topics </a>]</p>  ┃"); @@ -137,9 +137,9 @@ if (doc_matters.opt.action.html_link_markup_source) {                 ~ " pod tree </a>]";  }  metadata_ ~= "<p class=\"lev1\">● outputs: [<a href=\""    ~ doc_matters.src.filename_base ~ ".html\">" -             ~ " ▣ html scroll </a>] " +             ~ " ▤ html scroll </a>] "               ~ "[<a href=\""    ~ doc_matters.src.filename_base ~ "/toc.html\">" -             ~ " ▤ html seg </a>]" +             ~ " ※ html seg </a>]"               ~ "[<a href=\"../../" ~ pth_epub.internal_base ~ "/" ~ doc_matters.src.filename_base ~ "." ~ doc_matters.src.language ~ ".epub\">"               ~ " ◆ epub </a>]";  if ((doc_matters.opt.action.html_link_pdf) || (doc_matters.opt.action.html_link_pdf_a4)) { @@ -379,7 +379,7 @@ string theme_light_1 = format(q"┃  <html>  <head>  <meta charset="utf-8"> -<title>Curated metadata - Topics</title> +<title>⌘ Curated metadata - Topics</title>  #+END_SRC  #+NAME: curated_topics_html_head_2 @@ -557,6 +557,19 @@ string theme_light_1 = format(q"┃    string _form;    if (doc_matters.opt.action.html_link_search) {      o = format(q"┃ +    <div class="flex-menu-option"> +      <!-- SiSU Spine Search --> +      <form action="%s" target="_top" method="POST" accept-charset="UTF-8" id="searchtxt"> +        <font size="2">🔎  +      <input type="text" name="sf" size="24" maxlength="255">%s +      <input type="hidden" name="sml" value="1000"> +      <input type="hidden" name="ec" value="on"> +      <input type="hidden" name="url" value="on"> +      <input type="hidden" name="rt" value="txt"> +      <button type="submit" form="searchtxt" name="fn" value="%s"> • ⚏ </button> +      </font></form> +      <!-- SiSU Spine Search --> +    </div>  <div class="flex-menu-option">  <!-- SiSU Spine Search -->  <form action="%s" target="_top" method="POST" accept-charset="UTF-8" id="search"> @@ -565,8 +578,8 @@ string theme_light_1 = format(q"┃  <input type="hidden" name="sml" value="1000">  <input type="hidden" name="ec" value="on">  <input type="hidden" name="url" value="on"> -<button type="submit" form="search" name="fn" value="%s">doc</button> -<button type="submit" form="search">※ db</button> +<button type="submit" form="search" name="fn" value="%s">• ፨</button> +<button type="submit" form="search">㏈ ፨</button>  </font></form>  <!-- SiSU Spine Search -->  </div>┃", @@ -577,6 +590,13 @@ string theme_light_1 = format(q"┃          ~ doc_matters.conf_make_meta.conf.w_srv_db_sqlite_filename          ~ "\">",      doc_matters.src.filename_base, +    doc_matters.conf_make_meta.conf.w_srv_cgi_action, +    (doc_matters.conf_make_meta.conf.w_srv_db_sqlite_filename.empty) +      ? "" +      : "\n    <input type=\"hidden\" name=\"db\" value=\"" +        ~ doc_matters.conf_make_meta.conf.w_srv_db_sqlite_filename +        ~ "\">", +    doc_matters.src.filename_base,      );    } else {      o = ""; diff --git a/org/out_xmls.org b/org/out_xmls.org index eb3f87a..6d0e624 100644 --- a/org/out_xmls.org +++ b/org/out_xmls.org @@ -376,13 +376,13 @@ import      <div class="flex-menu-option">        <!-- SiSU Spine Search -->        <form action="%s" target="_top" method="POST" accept-charset="UTF-8" id="searchtxt"> -        <font size="2"> +        <font size="2">%s        <input type="text" name="sf" size="24" maxlength="255">%s        <input type="hidden" name="sml" value="1000">        <input type="hidden" name="ec" value="on">        <input type="hidden" name="url" value="on">        <input type="hidden" name="rt" value="txt"> -      <button type="submit" form="searchtxt" name="fn" value="%s"> • txt </button> +      <button type="submit" form="searchtxt" name="fn" value="%s"> • ⚏ </button>        </font></form>        <!-- SiSU Spine Search -->      </div> @@ -395,14 +395,19 @@ import        <input type="hidden" name="ec" value="on">        <input type="hidden" name="url" value="on">        <input type="hidden" name="rt" value="idx"> -      <button type="submit" form="searchidx">※ db</button> -      <button type="submit" form="searchidx" name="fn" value="%s"> • idx </button> +      <button type="submit" form="searchidx" name="fn" value="%s"> • ፨ </button> +      <button type="submit" form="searchidx"> ㏈ ፨</button>        </font></form>        <!-- SiSU Spine Search -->      </div>┃",      doc_matters.conf_make_meta.conf.w_srv_cgi_action,      (doc_matters.conf_make_meta.conf.w_srv_db_sqlite_filename.empty)        ? "" +      : "\n    <a href=\"" +        ~ doc_matters.conf_make_meta.conf.w_srv_cgi_action +        ~ "\">🔎 </a>", +    (doc_matters.conf_make_meta.conf.w_srv_db_sqlite_filename.empty) +      ? ""        : "\n    <input type=\"hidden\" name=\"db\" value=\""          ~ doc_matters.conf_make_meta.conf.w_srv_db_sqlite_filename          ~ "\">", @@ -424,6 +429,8 @@ import  ***** html head & head banner +▣ ▤ ⁜ ☀ ፨ ፠ ※ ■ □ ▢ ▣ ▤ ▥ ▦ ▧ ▨ 〓 ⚏ ⚏ ⌘ 🫛 ⌥ ⟰ +  #+NAME: xhtml_format_objects_html_head  #+BEGIN_SRC d  @safe string html_head(M)( @@ -432,7 +439,7 @@ import  ) {    string o;    string metadata_links = ((doc_matters.opt.action.html_link_curate) -    ? format(q"┃<p class="small">[<a href="%s"> ≅ </a>|<a href="%s"> %s </a>|<a href="%sepub/%s.%s.epub"> ◆ </a>|%s%s<a href="%smetadata.%s.html"> m </a>|<a href="%s../../authors.html"> A </a>|<a href="%s../../topics.html"> T </a>]</p>┃", +    ? format(q"┃<p class="small">[<a href="%s"> ≅ </a>|<a href="%s"> %s </a>|<a href="%sepub/%s.%s.epub"> ◆ </a>|%s%s<a href="%smetadata.%s.html"> ⌘• </a>|<a href="%s../../authors.html"> ⌘A </a>|<a href="%s../../topics.html"> ⌘T </a>]</p>┃",          (doc_matters.opt.action.webserver_url_doc_root.length > 0)            ? doc_matters.opt.action.webserver_url_doc_root            : doc_matters.conf_make_meta.conf.w_srv_data_root_url @@ -440,7 +447,7 @@ import          (type == "seg")            ? "../" ~ doc_matters.src.filename_base ~ ".html"            : "./" ~ doc_matters.src.filename_base ~ "/toc.html", -        (type == "seg") ? "▣" : "▤", // ■ □ ▢ ▣ ▤ ▥ ▦ ▧ ▨ 〓 +        (type == "seg") ? "▤" : "※",          (type == "seg") ? "../../" : "../",          doc_matters.src.filename_base,          doc_matters.src.lng, @@ -616,7 +623,7 @@ import    <hr />    <div class="generator">      <p class="small_center" id="sisu_spine"><a name="sisu_spine"></a> -      <a href="https://sisudoc.org">≅ SiSU Spine</a> (object numbering & object search) +      <a href="https://sisudoc.org">≅ SiSU Spine ፨</a> (object numbering & object search)      </p>      <p class="small_center" id="sisu_spine"><a name="sisu_spine"></a>        (web 1993, object numbering 1997, object search 2002 ...) <<year>> diff --git a/org/spine_info.org b/org/spine_info.org index b613a14..d369368 100644 --- a/org/spine_info.org +++ b/org/spine_info.org @@ -252,7 +252,7 @@ webserv:    data_root_path:              "/var/www/html"    data_root_part:              ""    images_root_part:            "image" -  cgi_search_form_title:       "≅ SiSU Spine search" +  cgi_search_form_title:       "≅ SiSU Spine search ፨"    cgi_http:                    "http"    cgi_host:                    "localhost"    cgi_bin_url:                 "http://localhost/cgi-bin" @@ -1146,7 +1146,7 @@ webserv:    data_root_path:              "/var/www/html"    data_root_part:              ""    images_root_part:            "image" -  cgi_search_form_title:       "≅ SiSU Spine search" +  cgi_search_form_title:       "≅ SiSU Spine search ፨"    cgi_http:                    "http"    cgi_host:                    "localhost"    cgi_bin_url:                 "http://localhost/cgi-bin" diff --git a/src/doc_reform/io_out/metadata.d b/src/doc_reform/io_out/metadata.d index f9c1cc6..3fab452 100644 --- a/src/doc_reform/io_out/metadata.d +++ b/src/doc_reform/io_out/metadata.d @@ -57,6 +57,19 @@ template outputMetadata() {        string _form;        if (doc_matters.opt.action.html_link_search) {          o = format(q"┃ +        <div class="flex-menu-option"> +          <!-- SiSU Spine Search --> +          <form action="%s" target="_top" method="POST" accept-charset="UTF-8" id="searchtxt"> +            <font size="2">🔎  +          <input type="text" name="sf" size="24" maxlength="255">%s +          <input type="hidden" name="sml" value="1000"> +          <input type="hidden" name="ec" value="on"> +          <input type="hidden" name="url" value="on"> +          <input type="hidden" name="rt" value="txt"> +          <button type="submit" form="searchtxt" name="fn" value="%s"> • ⚏ </button> +          </font></form> +          <!-- SiSU Spine Search --> +        </div>      <div class="flex-menu-option">      <!-- SiSU Spine Search -->      <form action="%s" target="_top" method="POST" accept-charset="UTF-8" id="search"> @@ -65,8 +78,8 @@ template outputMetadata() {      <input type="hidden" name="sml" value="1000">      <input type="hidden" name="ec" value="on">      <input type="hidden" name="url" value="on"> -    <button type="submit" form="search" name="fn" value="%s">doc</button> -    <button type="submit" form="search">※ db</button> +    <button type="submit" form="search" name="fn" value="%s">• ፨</button> +    <button type="submit" form="search">㏈ ፨</button>      </font></form>      <!-- SiSU Spine Search -->      </div>┃", @@ -77,6 +90,13 @@ template outputMetadata() {              ~ doc_matters.conf_make_meta.conf.w_srv_db_sqlite_filename              ~ "\">",          doc_matters.src.filename_base, +        doc_matters.conf_make_meta.conf.w_srv_cgi_action, +        (doc_matters.conf_make_meta.conf.w_srv_db_sqlite_filename.empty) +          ? "" +          : "\n    <input type=\"hidden\" name=\"db\" value=\"" +            ~ doc_matters.conf_make_meta.conf.w_srv_db_sqlite_filename +            ~ "\">", +        doc_matters.src.filename_base,          );        } else {          o = ""; @@ -173,7 +193,7 @@ string theme_light_1 = format(q"┃  <html>  <head>  <meta charset="utf-8"> -<title>Curated metadata - Topics</title> +<title>⌘ Curated metadata - Topics</title>  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />  <meta name="dc.title" content= "metadata curate, Authors & Topics - information Structuring Universe, Structured information Serialised Units" />  <meta name="dc.subject" content= "document structuring, ebook, publishing, PDF, LaTeX, XML, ODF, SQL, postgresql, sqlite, electronic book, electronic publishing, electronic document, electronic citation, data structure, citation systems, granular search, digital library" /> @@ -352,7 +372,7 @@ string theme_light_1 = format(q"┃      ┃");      metadata_ ~= "<div class=\"flex-menu-bar\"><div class=\"flex-menu-option\">";      if (doc_matters.opt.action.html_link_curate) { -      metadata_ ~= format(q"┃<p>[<a href="../../../index.html"> <b>≅</b> HOME </a>] Curated metadata: +      metadata_ ~= format(q"┃<p>[<a href="../../../index.html"> <b>≅</b> ≅ HOME </a>] ⌘ Curated metadata:         [<a href="../../authors.html"> Authors </a>]         [<a href="../../topics.html"> Topics </a>]</p>      ┃"); @@ -401,9 +421,9 @@ string theme_light_1 = format(q"┃                     ~ " pod tree </a>]";      }      metadata_ ~= "<p class=\"lev1\">● outputs: [<a href=\""    ~ doc_matters.src.filename_base ~ ".html\">" -                 ~ " ▣ html scroll </a>] " +                 ~ " ▤ html scroll </a>] "                   ~ "[<a href=\""    ~ doc_matters.src.filename_base ~ "/toc.html\">" -                 ~ " ▤ html seg </a>]" +                 ~ " ※ html seg </a>]"                   ~ "[<a href=\"../../" ~ pth_epub.internal_base ~ "/" ~ doc_matters.src.filename_base ~ "." ~ doc_matters.src.language ~ ".epub\">"                   ~ " ◆ epub </a>]";      if ((doc_matters.opt.action.html_link_pdf) || (doc_matters.opt.action.html_link_pdf_a4)) { diff --git a/src/doc_reform/io_out/xmls.d b/src/doc_reform/io_out/xmls.d index 2b67978..2b1f55b 100644 --- a/src/doc_reform/io_out/xmls.d +++ b/src/doc_reform/io_out/xmls.d @@ -265,13 +265,13 @@ template outputXHTMLs() {          <div class="flex-menu-option">            <!-- SiSU Spine Search -->            <form action="%s" target="_top" method="POST" accept-charset="UTF-8" id="searchtxt"> -            <font size="2"> +            <font size="2">%s            <input type="text" name="sf" size="24" maxlength="255">%s            <input type="hidden" name="sml" value="1000">            <input type="hidden" name="ec" value="on">            <input type="hidden" name="url" value="on">            <input type="hidden" name="rt" value="txt"> -          <button type="submit" form="searchtxt" name="fn" value="%s"> • txt </button> +          <button type="submit" form="searchtxt" name="fn" value="%s"> • ⚏ </button>            </font></form>            <!-- SiSU Spine Search -->          </div> @@ -284,14 +284,19 @@ template outputXHTMLs() {            <input type="hidden" name="ec" value="on">            <input type="hidden" name="url" value="on">            <input type="hidden" name="rt" value="idx"> -          <button type="submit" form="searchidx">※ db</button> -          <button type="submit" form="searchidx" name="fn" value="%s"> • idx </button> +          <button type="submit" form="searchidx" name="fn" value="%s"> • ፨ </button> +          <button type="submit" form="searchidx"> ㏈ ፨</button>            </font></form>            <!-- SiSU Spine Search -->          </div>┃",          doc_matters.conf_make_meta.conf.w_srv_cgi_action,          (doc_matters.conf_make_meta.conf.w_srv_db_sqlite_filename.empty)            ? "" +          : "\n    <a href=\"" +            ~ doc_matters.conf_make_meta.conf.w_srv_cgi_action +            ~ "\">🔎 </a>", +        (doc_matters.conf_make_meta.conf.w_srv_db_sqlite_filename.empty) +          ? ""            : "\n    <input type=\"hidden\" name=\"db\" value=\""              ~ doc_matters.conf_make_meta.conf.w_srv_db_sqlite_filename              ~ "\">", @@ -315,7 +320,7 @@ template outputXHTMLs() {      ) {        string o;        string metadata_links = ((doc_matters.opt.action.html_link_curate) -        ? format(q"┃<p class="small">[<a href="%s"> ≅ </a>|<a href="%s"> %s </a>|<a href="%sepub/%s.%s.epub"> ◆ </a>|%s%s<a href="%smetadata.%s.html"> m </a>|<a href="%s../../authors.html"> A </a>|<a href="%s../../topics.html"> T </a>]</p>┃", +        ? format(q"┃<p class="small">[<a href="%s"> ≅ </a>|<a href="%s"> %s </a>|<a href="%sepub/%s.%s.epub"> ◆ </a>|%s%s<a href="%smetadata.%s.html"> ⌘• </a>|<a href="%s../../authors.html"> ⌘A </a>|<a href="%s../../topics.html"> ⌘T </a>]</p>┃",              (doc_matters.opt.action.webserver_url_doc_root.length > 0)                ? doc_matters.opt.action.webserver_url_doc_root                : doc_matters.conf_make_meta.conf.w_srv_data_root_url @@ -323,7 +328,7 @@ template outputXHTMLs() {              (type == "seg")                ? "../" ~ doc_matters.src.filename_base ~ ".html"                : "./" ~ doc_matters.src.filename_base ~ "/toc.html", -            (type == "seg") ? "▣" : "▤", // ■ □ ▢ ▣ ▤ ▥ ▦ ▧ ▨ 〓 +            (type == "seg") ? "▤" : "※",              (type == "seg") ? "../../" : "../",              doc_matters.src.filename_base,              doc_matters.src.lng, @@ -480,7 +485,7 @@ template outputXHTMLs() {    <hr />    <div class="generator">      <p class="small_center" id="sisu_spine"><a name="sisu_spine"></a> -      <a href="https://sisudoc.org">≅ SiSU Spine</a> (object numbering & object search) +      <a href="https://sisudoc.org">≅ SiSU Spine ፨</a> (object numbering & object search)      </p>      <p class="small_center" id="sisu_spine"><a name="sisu_spine"></a>        (web 1993, object numbering 1997, object search 2002 ...) 2023 diff --git a/src/doc_reform/meta/metadoc_curate_authors.d b/src/doc_reform/meta/metadoc_curate_authors.d index 6ed7f44..ee78b23 100644 --- a/src/doc_reform/meta/metadoc_curate_authors.d +++ b/src/doc_reform/meta/metadoc_curate_authors.d @@ -83,7 +83,7 @@ template spineMetaDocCuratesAuthors() {        <input type="hidden" name="sml" value="1000">        <input type="hidden" name="ec" value="on">        <input type="hidden" name="url" value="on"> -      <button type="submit" form="search">※ db</button> +      <button type="submit" form="search">㏈ ፨</button>        </font></form>        <!-- SiSU Spine Search -->        </div>┃", @@ -259,7 +259,7 @@ string theme_light_1 = format(q"┃  <html>  <head>  <meta charset="utf-8"> -<title>Curated metadata - Authors</title> +<title>⌘ Curated metadata - Authors</title>  <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />  <meta name="dc.title" content= "metadata curate, Authors & Topics - information Structuring Universe, Structured information Serialised Units" />  <meta name="dc.subject" content= "document structuring, ebook, publishing, PDF, LaTeX, XML, ODF, SQL, postgresql, sqlite, electronic book, electronic publishing, electronic document, electronic citation, data structure, citation systems, granular search, digital library" /> @@ -391,12 +391,11 @@ string theme_light_1 = format(q"┃  <a name="top" id="top"></a>  <a name="up" id="up"></a>  <a name="start" id="start"></a> -<h1>Curated metadata - Authors (output organised by language & filetype)</h1> +<h1>⌘ Curated metadata - Authors (output organised by language & filetype)</h1>  <div class="flex-menu-bar">  <div class="flex-menu-option"> -<p>[<a href="../../index.html"> HOME </a>] - [<a href="topics.html"> Curated metadata - Topics </a>] -</p> +<p>[<a href="../../index.html"> ≅ HOME </a>] + [<a href="topics.html"> ⌘ Curated metadata - Topics </a>] </p>  </div>  %s  </div> diff --git a/src/doc_reform/meta/metadoc_curate_topics.d b/src/doc_reform/meta/metadoc_curate_topics.d index 53f8d87..82f0060 100644 --- a/src/doc_reform/meta/metadoc_curate_topics.d +++ b/src/doc_reform/meta/metadoc_curate_topics.d @@ -83,7 +83,7 @@ template spineMetaDocCuratesTopics() {        <input type="hidden" name="sml" value="1000">        <input type="hidden" name="ec" value="on">        <input type="hidden" name="url" value="on"> -      <button type="submit" form="search">※ db</button> +      <button type="submit" form="search">㏈ ፨</button>        </font></form>        <!-- SiSU Spine Search -->        </div>┃", @@ -300,7 +300,7 @@ string theme_light_1 = format(q"┃  <html>  <head>  <meta charset="utf-8"> -<title>Curated metadata - Topics</title> +<title>⌘ Curated metadata - Topics</title>  <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />  <meta name="dc.title" content= "metadata curate, Authors & Topics - information Structuring Universe, Structured information Serialised Units" />  <meta name="dc.subject" content= "document structuring, ebook, publishing, PDF, LaTeX, XML, ODF, SQL, postgresql, sqlite, electronic book, electronic publishing, electronic document, electronic citation, data structure, citation systems, granular search, digital library" /> @@ -432,11 +432,11 @@ string theme_light_1 = format(q"┃  <a name="top" id="top"></a>  <a name="up" id="up"></a>  <a name="start" id="start"></a> -<h1>Curated metadata - Topics (output organised by language & filetype)</h1> +<h1>⌘ Curated metadata - Topics (output organised by language & filetype)</h1>  <div class="flex-menu-bar">  <div class="flex-menu-option"> -<p>[<a href="../../index.html"> HOME </a>] - [<a href="authors.html"> Curated metadata - Authors </a>] +<p>[<a href="../../index.html"> ≅ HOME </a>] + [<a href="authors.html"> ⌘ Curated metadata - Authors </a>]  </p>  </div>   %s diff --git a/views/configuration_example.txt b/views/configuration_example.txt index be0d9c5..509a711 100644 --- a/views/configuration_example.txt +++ b/views/configuration_example.txt @@ -12,7 +12,7 @@ struct Cfg {    string cgi_port                 = "";    string cgi_user                 = "";    string cgi_url_action           = "http://localhost/cgi-bin/spine_search"; -  string cgi_search_form_title    = "≅ SiSU Spine search"; +  string cgi_search_form_title    = "≅ SiSU Spine search ፨";    string db_sqlite_path           = "/var/www/sqlite";    string db_sqlite_filename       = "spine.search.db";    string default_language         = "en"; | 
