Title Objects for items as heading not supported
Bugs
Description
The TextAPI specifies that titles consist of Title Objects which have a title
key and a type
key[1]. The viewer doesn't seem to support this data structure which can be observed in the main heading in Michelle's test viewer which consumes test data.
[1] Cf. https://subugoe.pages.gwdg.de/emo/text-api/page/specs/#title-object.
I expected the following to happen
The title of https://mrodzis.pages.gwdg.de/test/sampledata/document1/1/latest/item.json, "A letter from X to Y.", should have been displayed as the main title of the viewer.
(BTW I'm not sure if the main heading shouldn't be the heading of the whole collection, which would be "The Example Collection" in case of the test data. Currently the item's title is taken for filling in the heading.)
On the contrary, I observed
The whole Title Object has been parsed to a string.
How to reproduce the bug
Severity
How much impact does this bug have on the product or further development?
-
Major