diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2019-12-13 09:09:24 -0500 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2020-01-13 16:06:43 -0500 |
commit | 0c4b3cb3707c3b16cd171620427e651d71182813 (patch) | |
tree | 2027a8f9449eab7b2b878ee9f1554a417563b73f /org/meta_conf_make_meta.org | |
parent | harvest topics, name hashtag level names (diff) |
present per document metadata
Diffstat (limited to 'org/meta_conf_make_meta.org')
-rw-r--r-- | org/meta_conf_make_meta.org | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/org/meta_conf_make_meta.org b/org/meta_conf_make_meta.org index 7075995..4b270e0 100644 --- a/org/meta_conf_make_meta.org +++ b/org/meta_conf_make_meta.org @@ -286,6 +286,7 @@ struct MetaComposite { string links; string notes_abstract; string notes_description; + string notes_summary; string original_language; string original_language_char; string original_publisher; @@ -1041,6 +1042,12 @@ if ("notes" in _yaml ) { _struct_composite.meta.notes_description = _yaml["notes"]["description"].get!string; } + if ("summary" in _yaml["notes"] + && _yaml["notes"]["summary"].type.string + && _yaml["notes"]["summary"].tag.match(rgx.yaml_tag_is_str) + ) { + _struct_composite.meta.notes_summary = _yaml["notes"]["summary"].get!string; + } } } if ("original" in _yaml |