comparison doc/src/site/markdown/iiif-api.md @ 1686:e46756f0d661

Config to select page labels and documentation for Manifester.
author Robert Casties <casties@mpiwg-berlin.mpg.de>
date Mon, 26 Mar 2018 19:09:27 +0200
parents b234dd84320d
children
comparison
equal deleted inserted replaced
1685:b234dd84320d 1686:e46756f0d661
58 58
59 To try out a viewer on your manifest you can go to the website of the Universal Viewer 59 To try out a viewer on your manifest you can go to the website of the Universal Viewer
60 [http://universalviewer.io/](http://universalviewer.io/) and enter the URL of your manifest 60 [http://universalviewer.io/](http://universalviewer.io/) and enter the URL of your manifest
61 in the "view a manifest" box on the page. This will work even with a local digilib 61 in the "view a manifest" box on the page. This will work even with a local digilib
62 installation since the Javascript in your Browser reads and interprets the manifest. 62 installation since the Javascript in your Browser reads and interprets the manifest.
63
64 The minimal information in the manifest can be enhanced with additional metadata or the replaced
65 by a custom manifest. If the servlet finds a file with the name
66
67 manifest.json
68
69 in a directory then the contents of that file are sent instead of an auto-generated manifest.
70 This works also in directories with no images so you could put a file with
71 [collection](http://iiif.io/api/presentation/2.1/#collection) information in a higher-level directory.
72
73 If the servlet finds a file with the name
74
75 manifest-meta.json
76
77 in a directory with images then the contents of that file are added to the top-level manifest
78 (`@context`, `@type`, `@id`, `sequences` are ignored). You can use this to add real bibliographical
79 information to the manifest.
80
81 The configuration parameter `iiif-manifest-page-label` determines the format of the label of each image:
82 `filename` uses the image file name (default, sans extension), `index` uses the index (counting from 1).
83
84