aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/meta
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc_reform/meta')
-rw-r--r--src/doc_reform/meta/conf_make_meta_structs.d2
-rw-r--r--src/doc_reform/meta/conf_make_meta_yaml.d30
2 files changed, 0 insertions, 32 deletions
diff --git a/src/doc_reform/meta/conf_make_meta_structs.d b/src/doc_reform/meta/conf_make_meta_structs.d
index 878e87b..664c1b1 100644
--- a/src/doc_reform/meta/conf_make_meta_structs.d
+++ b/src/doc_reform/meta/conf_make_meta_structs.d
@@ -249,9 +249,7 @@ struct MetaComposite {
string classify_loc;
string classify_subject;
string classify_topic_register;
- string classify_topic_register_json; // experimental use in sqlite topics table
string[] classify_topic_register_arr;
- string[] classify_topic_register_json_arr; // experimental use in sqlite topics table
string[] classify_topic_register_expanded_arr; // experimental use in sqlite topics table
string[] creator_author_arr;
string creator_author;
diff --git a/src/doc_reform/meta/conf_make_meta_yaml.d b/src/doc_reform/meta/conf_make_meta_yaml.d
index 71befdc..e2f4c43 100644
--- a/src/doc_reform/meta/conf_make_meta_yaml.d
+++ b/src/doc_reform/meta/conf_make_meta_yaml.d
@@ -963,34 +963,6 @@ template contentYAMLtoSpineStruct() {
_topic_register = _topic_register
.replaceAll(wrds, "\"$1\"")
.replaceAll(mkp_delim, ":$1$2");
- string[] _topics_json_arr;
- //+
- foreach (_topic; _topic_register.split(";")) {
- while (_topic.match(":")) {
- foreach (m; _topic.match(":")) {
- _topic = m.pre ~ " ☼ [ " ~ m.post ~ " ] ";
- }
- }
- _topics_json_arr ~= (" ") ~ (_topic
- .split("☼").join(":")
- .split("|").join(", "));
- }
- // +/
- /+
- foreach (_topic; _topic_register.split(";")) {
- while (_topic.match(":")) {
- foreach (m; _topic.match(":")) {
- _topic = m.pre ~ " ☼ { " ~ m.post ~ " } ";
- }
- }
- _topics_json_arr ~= (" { ") ~ (_topic
- .split("☼").join(":")
- .split("|").join(", "))
- ~ " }";
- }
- +/
- _struct_composite.meta.classify_topic_register_json_arr = _topics_json_arr;
- _struct_composite.meta.classify_topic_register_json = "{\n" ~ _topics_json_arr.join(",\n") ~ "\n}";
}
string[] main_topics_ = _struct_composite.meta.classify_topic_register.strip.split(rgx.topic_register_main_terms_split);
string[] topics;
@@ -1020,8 +992,6 @@ template contentYAMLtoSpineStruct() {
_struct_composite.meta.classify_topic_register_expanded_arr = topics_expanded;
// writeln("\n------\n", _struct_composite.meta.title_full);
// writeln(_struct_composite.meta.classify_topic_register);
- // writeln(_struct_composite.meta.classify_topic_register_json_arr);
- // writeln(_struct_composite.meta.classify_topic_register_json);
// writeln(_struct_composite.meta.classify_topic_register_expanded_arr.sort.join("\n"));
// writeln(_struct_composite.meta.classify_topic_register_arr);
}