Manually Editing a Manifest

The concepts of the Presentation API can be difficult to grasp until we actually start building a manifest.

Learning by doing: In production systems (such as a digital library's image collection), manifests can get very big and are usually machine generated, but for getting the basic concepts down, there's no substitute for editing a manifest "by hand."

Save a Copy

Save a copy of the Manifest you created in the last lesson as manifest2.json. Edit manifest2.json for this section.

That way you'll be sure to have a working version that you can fall back on.

View the Manifest Copy

Load the Manifest in the Universal Viewer. The URL of the copied Manifest for this section should be http://127.0.0.1:8887/manifest2.json

Edit Your Manifest

There are some important elements of the Manifest that we did not add or edit using the online editor. The goal of this exercise will be to edit or add them manually. Each task is linked to the specification for the property that you will need to edit or add to the Manifest.

  1. Provide a short description of this manifest -- the content is up to you.
  2. Modify the attribution to the manifest that names the source of the images
  3. Add the viewingHint to indicate that the item is paged (i.e., should display in two-up book reader mode)
  4. Assert a Creative Commons 4.0 by-nc-sa license.
  5. Add properties to the metadata following the pattern described in Language of Property Values.

Hints:

  • After each step, reload the Manifest in the Universal Viewer and confirm that the changes appear. Remember that the URL of the Manifest for this section is http://127.0.0.1:8887/manifest2.json because you are editing the copy.
  • Consult the sample Manifest in the specification to find examples of these properties.
  • If your Manifest doesn't load, first check for missing quotes or commas.
Last modified by Glen Robson 2020-11-26 11:36:05
Created by Glen Robson 2020-11-26 11:36:05

results matching ""

    No results matching ""