diff options
author | Ralph Amissah <ralph@amissah.com> | 2016-12-02 15:06:12 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:13 -0400 |
commit | 4bf871e555efa9cb3d4c6ebd3b8ed7fb0e5e0cb7 (patch) | |
tree | e23f1a61f27c98a16c9017de0c921d00b7b081e6 /src/sdp/ao_defaults.d | |
parent | 0.9.3 start work on node pointers, a way to go (diff) |
start work on node info, a way to go
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 = `{ |