mirador icon indicating copy to clipboard operation
mirador copied to clipboard

Parent item in structure linked to canvas

Open ch-sander opened this issue 2 years ago • 0 comments

It seems impossible for Mirador (and UV) to link a parent item in the structures ('Table of contents') to the canvas that is specified in the manifest.json but links will only be active for child items of the ultimate level. Put simple: If you have the 'Book 1' beginning at p. 10, and sub-items like 'Diagram 1/2/n', only these sub-items will be linked to the canvases, although there is a canvas also for the parent item in the json.

This is not how I as a reader would want to navigate and hierarchical PDF bookmarks work differently, too. Parent items in historical documents are often themself referers in the document and duplacting them seems awkward.

Can you fix this?

Example:

"structures": [ { "id": "https://dlib2.biblhertz.it/iiif/3/bdh0000089635/ranges", "type": "Range", "label": { "en": [ "Table of Contents" ] }, "items": [ { "id": "https://dlib2.biblhertz.it/iiif/3/bdh0000089635/ranges/5", "type": "Range", "label": { "en": [ "Book 1" ] }, "items": [ { "id": "https://dlib2.biblhertz.it/iiif/3/bdh0000089635/canvas/p0005", "type": "Canvas" }, { "id": "https://dlib2.biblhertz.it/iiif/3/bdh0000089635/ranges/7", "type": "Range", "label": { "en": [ "Diagram 1" ] }, "items": [ { "id": "https://dlib2.biblhertz.it/iiif/3/bdh0000089635/canvas/p0007", "type": "Canvas" } ] } ] }

ch-sander avatar Dec 01 '21 16:12 ch-sander