import media dialog

This commit is contained in:
rlx 2016-08-09 13:17:48 +02:00
commit 5ef6062613
2 changed files with 43 additions and 10 deletions

View file

@ -153,6 +153,19 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
{"id": "embeds", "title": "Embeds"}
],
/*
"importMetadata" defines what fields (as defined in "itemKeys") will get
populated with imported metadata. There is metadata for "title",
"description", "uploader", "date", "tags", "id", "url", and the value must
be a format string (like "{title} ({id})"). The type of the itemKeys must
be "string", ["string"], "text", "date" or "year". The last two only work
with "{date}".
*/
"importMetadata": {
"keywords": "{tags}",
"summary": "{description}",
"title": "{title}"
},
/*
"itemKeys" defines the metadata associated with each item. Required keys
are "*", "id" and "title". Annotation layers can be referenced too, which
makes them available in the find element. Adding a key with "annotations"