Image URLs and Canvas IDs (As AnnotationList Targets via on
)
#186
Labels
migration
Needs to happen as a step in the data migration process
on
)
#186
French Images were not loading. The URIs that are failing are like https://iiif.library.utoronto.ca/v2/paleography:1853/full/2000,/0/default.jpg
They have changed to https://iiif.library.utoronto.ca/image/v2/paleography:1853/full/2000,/0/default.jpg. the
folios
table was updated so the French projects would load.As you may have deduced, much of this revolves around a new
PALEO_CANVAS_ID_PREFIX=https://iiif.library.utoronto.ca/presentation/v2/
.The French projects load, but none of them can find their corresponding AnnotationList.
This is how the TPEN-NL app has been generating Canvas IDs in the background
String canvasID = man.getProperties().getProperty("PALEO_CANVAS_ID_PREFIX") + f.getImageURL().replaceAll("^.*(paleography[^/]+).*$", "$1");
getByProperties
gets the AnnotationList for a given Canvas in a given Project likeFor "The Art of Cooking", an Italian project...
Their AnnotationList.on is https://paleography.library.utoronto.ca/islandora/object/paleography:IP_314_001
Our AnnotationList.on is https://iiif.library.utoronto.ca/presentation/v2/paleography:IP_314_001
For "Acknowledgement of patronage", a French project projectID=1216...
Their AnnotationList.on property is https://paleography.library.utoronto.ca/islandora/object/paleography:2084
Our AnnotationList.on property is https://iiif.library.utoronto.ca/presentation/v2/paleography:2084
To make this change, we have to comb the RERUM data for AnnotationLists with an
on
property that matches the pattern that has changed, and replace that old prefix with the new prefix.That means this is a two part fix.
The text was updated successfully, but these errors were encountered: