diff options
| author | Ralph Amissah <ralph.amissah@gmail.com> | 2023-06-10 22:54:47 -0400 | 
|---|---|---|
| committer | Ralph Amissah <ralph.amissah@gmail.com> | 2023-06-23 18:12:49 -0400 | 
| commit | 516165c0969641479eeadde09bc8258aa5ff8b25 (patch) | |
| tree | 6ee890d85371928de7bd21a11618e5afae4f9502 /org | |
| parent | make set_depends (dyaml update) (diff) | |
unicode, changes in use of symbols to represent things
Diffstat (limited to 'org')
| -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 | 
7 files changed, 57 insertions, 31 deletions
| 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" | 
