aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/out_metadata.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2021-09-01 15:40:20 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2021-09-09 22:03:15 -0400
commit1f8b96b650ea645c1a92b40f29c8625b6228d53a (patch)
tree8e261492e487432d42d4d24d4908b634ab87e3d3 /org/out_metadata.org
parentxmls, epub3 toc_nav.xhtml toc.ncx (diff)
metadata "curate" replaces "harvest"
- "curated metadata" instead of "metadata harvest" - css color change to related pages, light theme
Diffstat (limited to 'org/out_metadata.org')
-rw-r--r--org/out_metadata.org70
1 files changed, 35 insertions, 35 deletions
diff --git a/org/out_metadata.org b/org/out_metadata.org
index 6688bca..b8c2652 100644
--- a/org/out_metadata.org
+++ b/org/out_metadata.org
@@ -1,5 +1,5 @@
-*- mode: org -*-
-#+TITLE: spine (doc_manifest) metadata (document harvest)
+#+TITLE: spine (doc_manifest) metadata (document curate)
#+DESCRIPTION: documents - structuring, publishing in multiple formats & search
#+FILETAGS: :spine:output:metadata:
#+AUTHOR: Ralph Amissah
@@ -16,7 +16,7 @@
#+PROPERTY: header-args+ :padline no
#+PROPERTY: header-args+ :mkdirp yes
-* document harvest _summary_ :module:spine:metadoc_show_summary:
+* document curate _summary_ :module:spine:metadoc_show_summary:
** _module template_ metadoc document metadata
@@ -26,14 +26,14 @@
module doc_reform.io_out.metadata;
template outputMetadata() {
@safe void outputMetadata(T)( T doc_matters) {
- <<harvested_html_search>>
+ <<curated_html_search>>
<<output_imports>>
-<<harvested_html_themes_0>>
-<<harvested_html_themes_1>>
-<<harvested_topics_html_head_1>>
-<<harvested_html_head>>
-<<harvested_topics_html_head_2>>
-<<harvested_topics_html_head_theme>>
+<<curated_html_themes_0>>
+<<curated_html_themes_1>>
+<<curated_topics_html_head_1>>
+<<curated_html_head>>
+<<curated_topics_html_head_2>>
+<<curated_topics_html_head_theme>>
<<output_metadata_write>>
<<output_metadata>>
}
@@ -84,8 +84,8 @@ metadata_ ~= format(q"┃<body lang="en" xml:lang="en">
<a name="start" id="start"></a>
┃");
metadata_ ~= "<div class=\"flex-menu-bar\"><div class=\"flex-menu-option\">";
-if (doc_matters.opt.action.html_harvest_link) {
- metadata_ ~= format(q"┃<p>[<a href="../../index.html">&nbsp;HOME&nbsp;</a>] Metadata Harvest
+if (doc_matters.opt.action.html_curate_link) {
+ metadata_ ~= format(q"┃<p>[<a href="../../index.html">&nbsp;HOME&nbsp;</a>] Curated metadata
[<a href="../../authors.html">&nbsp;Authors&nbsp;</a>]
[<a href="../../topics.html">&nbsp;Topics&nbsp;</a>]</p>
┃");
@@ -100,7 +100,7 @@ if (!(doc_matters.conf_make_meta.meta.title_full.empty)) {
writeln("ERROR no Title information provided in document header ", doc_matters.src.filename_base);
}
if (!(doc_matters.conf_make_meta.meta.creator_author.empty)) {
- if (doc_matters.opt.action.html_harvest_link) {
+ if (doc_matters.opt.action.html_curate_link) {
metadata_ ~= "<p class=\"lev1\">Author: <b><a href=\"../../authors.html#" ~ doc_matters.conf_make_meta.meta.creator_author_surname.translate([' ' : "_"]) ~ "\">"
~ doc_matters.conf_make_meta.meta.creator_author ~ "</a></b></p>";
} else {
@@ -145,7 +145,7 @@ if (doc_matters.conf_make_meta.meta.classify_topic_register_arr.length > 0) {
if (subject_tree.length > 0) {
if (subject_tree[0] != _top[0]) {
_top[0] = subject_tree[0];
- if (doc_matters.opt.action.html_harvest_link) {
+ if (doc_matters.opt.action.html_curate_link) {
metadata_ ~=
"<p class=\"lev1\"><a href=\"../../topics.html#"
~ subject_tree[0].translate([' ' : "_"]) ~ "\">"
@@ -160,7 +160,7 @@ if (doc_matters.conf_make_meta.meta.classify_topic_register_arr.length > 0) {
if (subject_tree[1] != _top[1]) {
_top[1] = subject_tree[1];
_top[2] = ""; _top[3] = ""; _top[4] = "";
- if (doc_matters.opt.action.html_harvest_link) {
+ if (doc_matters.opt.action.html_curate_link) {
metadata_ ~=
"<p class=\"lev2\"><a href=\"../../topics.html#"
~ subject_tree[0].translate([' ' : "_"]) ~ "."
@@ -176,7 +176,7 @@ if (doc_matters.conf_make_meta.meta.classify_topic_register_arr.length > 0) {
if (subject_tree[2] != _top[2]) {
_top[2] = subject_tree[2];
_top[3] = ""; _top[4] = "";
- if (doc_matters.opt.action.html_harvest_link) {
+ if (doc_matters.opt.action.html_curate_link) {
metadata_ ~=
"<p class=\"lev3\"><a href=\"../../topics.html#"
~ subject_tree[0].translate([' ' : "_"]) ~ "."
@@ -193,7 +193,7 @@ if (doc_matters.conf_make_meta.meta.classify_topic_register_arr.length > 0) {
if (subject_tree[3] != _top[3]) {
_top[3] = subject_tree[3];
_top[4] = "";
- if (doc_matters.opt.action.html_harvest_link) {
+ if (doc_matters.opt.action.html_curate_link) {
metadata_ ~=
"<p class=\"lev4\"><a href=\"../../topics.html#"
~ subject_tree[0].translate([' ' : "_"]) ~ "."
@@ -210,7 +210,7 @@ if (doc_matters.conf_make_meta.meta.classify_topic_register_arr.length > 0) {
if (subject_tree.length > 4) {
if (subject_tree[4] != _top[4]) {
_top[4] = subject_tree[4];
- if (doc_matters.opt.action.html_harvest_link) {
+ if (doc_matters.opt.action.html_curate_link) {
metadata_ ~=
"<p class=\"lev5\"><a href=\"../../topics.html#"
~ subject_tree[0].translate([' ' : "_"]) ~ "."
@@ -263,7 +263,7 @@ metadata_write_output(doc_matters, metadata_);
*** themes
**** head
-#+NAME: harvested_html_themes_0
+#+NAME: curated_html_themes_0
#+BEGIN_SRC css
string theme_dark_0 = format(q"┃
body {
@@ -329,7 +329,7 @@ string theme_light_0 = format(q"┃
**** levels
-#+NAME: harvested_html_themes_1
+#+NAME: curated_html_themes_1
#+BEGIN_SRC css
string theme_dark_1 = format(q"┃
h1 {
@@ -344,43 +344,43 @@ string theme_dark_1 = format(q"┃
string theme_light_1 = format(q"┃
h1 {
color : #FFFFFF;
- background : #000088;
+ background : #1A3A7A;
}
p.letter {
color : #FFFFFF;
- background : #880000;
+ background : #1A3A7A;
}
┃");
#+END_SRC
-*** harvested topics html head
+*** curated topics html head
-#+NAME: harvested_topics_html_head_1
+#+NAME: curated_topics_html_head_1
#+BEGIN_SRC d
metadata_ ~= format(q"┃<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
-<title>Metadata Harvest - Topics</title>
+<title>Curated metadata - Topics</title>
#+END_SRC
-#+NAME: harvested_topics_html_head_2
+#+NAME: curated_topics_html_head_2
#+BEGIN_SRC d
</head>
#+END_SRC
-*** harvested html head
+*** curated html head
-#+NAME: harvested_html_head
+#+NAME: curated_html_head
#+BEGIN_SRC d
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<meta name="dc.title" content= "metadata harvest, Authors & Topics - information Structuring Universe, Structured information Serialised Units" />
+<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" />
<meta name="generator" content="spine" />
<link rel="generator" href="https://sisudoc.org" />
-<link href="./css/harvest.css" rel="stylesheet">
+<link href="./css/curate.css" rel="stylesheet">
<style TYPE="text/css">
-/* spine harvest css default stylesheet */%s
+/* spine curate css default stylesheet */%s
.norm, .bold {
line-height : 150%%;
margin-left : 1em;
@@ -501,9 +501,9 @@ string theme_light_1 = format(q"┃
<link rel="shortcut icon" href="../_sisu/image/rb7.ico" />
#+END_SRC
-*** harvested html bottom
+*** curated html bottom
-#+NAME: harvested_html_bottom
+#+NAME: curated_html_bottom
#+BEGIN_SRC d
~= format(q"┃
<hr />
@@ -518,9 +518,9 @@ string theme_light_1 = format(q"┃
┃") ~ "\n";
#+END_SRC
-*** harvested topics html head theme insert
+*** curated topics html head theme insert
-#+NAME: harvested_topics_html_head_theme
+#+NAME: curated_topics_html_head_theme
#+BEGIN_SRC d
┃",
doc_matters.opt.action.css_theme_default ? theme_light_0 : theme_dark_0,
@@ -530,7 +530,7 @@ string theme_light_1 = format(q"┃
*** search form
-#+NAME: harvested_html_search
+#+NAME: curated_html_search
#+BEGIN_SRC d
@safe string inline_search_form(M)(
M doc_matters,