diff options
Diffstat (limited to 'src/sdp/ao_defaults.d')
-rw-r--r-- | src/sdp/ao_defaults.d | 45 |
1 files changed, 34 insertions, 11 deletions
diff --git a/src/sdp/ao_defaults.d b/src/sdp/ao_defaults.d index 9a84e80..4408cc8 100644 --- a/src/sdp/ao_defaults.d +++ b/src/sdp/ao_defaults.d @@ -144,7 +144,7 @@ template SiSUregisters() { ]; return meta_; } - auto pointer_head_main = + auto ptr_head_main = [ "classify", "creator", @@ -157,7 +157,7 @@ template SiSUregisters() { "rights", "title" ]; - auto pointer_head_sub_classify = + auto ptr_head_sub_classify = [ "dewey", "keywords", @@ -165,7 +165,7 @@ template SiSUregisters() { "subject", "topic_register" ]; - auto pointer_head_sub_creator = + auto ptr_head_sub_creator = [ "author", "author_email", @@ -173,7 +173,7 @@ template SiSUregisters() { "illustrator", "translator" ]; - auto pointer_head_sub_date = + auto ptr_head_sub_date = [ "added_to_site", "available", @@ -183,14 +183,14 @@ template SiSUregisters() { "published", "valid" ]; - auto pointer_head_sub_identifier = + auto ptr_head_sub_identifier = [ "isbn", "oclc", "pg" ]; /+ make +/ - auto pointer_head_sub_make = + auto ptr_head_sub_make = [ "cover_image", "home_button_image", @@ -205,27 +205,27 @@ template SiSUregisters() { "texpdf_font", "css" ]; - auto pointer_head_sub_notes = + auto ptr_head_sub_notes = [ "abstract", "description" ]; - auto pointer_head_sub_original = + auto ptr_head_sub_original = [ "language", "source", "title" ]; - auto pointer_head_sub_publisher = + auto ptr_head_sub_publisher = [ "name" ]; - auto pointer_head_sub_rights = + auto ptr_head_sub_rights = [ "copyright", "cover", "illustrations", "license" ]; - auto pointer_head_sub_title = + auto ptr_head_sub_title = [ "edition", "full", @@ -350,6 +350,29 @@ template SiSUrgxInitFlags() { return flags_type_init; } } +template SiSUnode() { + string[string][string] node_metadata() { + auto node_ = [ + "object" : [ + "is" : "", + "heading_ptr" : "", + "doc_object_ptr" : "", + "obj_cite_number" : "", + "segment_anchor_tag" : "", + "parent_obj_cite_number" : "", + "parent_lev_markup_number" : "", + ], + "heading" : [ + "html_segnames_ptr" : "", + "lev_markup_number" : "", + "lev_collapsed_number" : "", + // "ancestors" : "", + // "open_headings_to_close" : "", + ], + ]; + return node_; + } +} template SiSUbiblio() { // required: deemed_author (author || editor); year; fulltitle; auto biblio_entry_tags_jsonstr = `{ |