Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link to start page in IIIF scans #220

Open
craigsapp opened this issue Apr 28, 2023 · 2 comments
Open

Link to start page in IIIF scans #220

craigsapp opened this issue Apr 28, 2023 · 2 comments
Assignees

Comments

@craigsapp
Copy link
Owner

On work pages, links to scans usually do not always point to the starting page of the transcription. For Humdrum files, this information is stored in the first IIIF tandem interpretation. Extract from this interpretation and add the starting page to the URL-scan column on the metadata spreadsheet.

16xx:984 is an example case where there are multiple links for the parts of a complete score.

Probably only update Polona and NIFC image links (do other repository scan webpages if they allow access at the page (image) level.

@craigsapp craigsapp self-assigned this Apr 28, 2023
@craigsapp
Copy link
Owner Author

Marenzio is another exaple:

https://polishscores.org/?id=15xx:989

The link:

Screenshot 2023-04-27 at 8 39 23 PM

Goes to the URL:

https://polish.musicsources.pl/en/lokalizacje/galeria/klocki-introligatorskie/655/1#nomenu

Screenshot 2023-04-27 at 8 39 45 PM

Which is the first page of a 732 scans entry.

There are two things, one is to give the first page for the link. But also this score needs separate links to separate scans in the source document. This part-level information is extractable from the Humdrum data, such as in this case:

*xywh-pl-gd--ee1638-8o--0189:4666,1770,3361,676
*xywh-pl-gd--ee1638-8o--0341:4679,1783,3328,659
*xywh-pl-gd--ee1638-8o--0493:4570,2341,3448,647
*xywh-pl-gd--ee1638-8o--0645:4610,1765,3358,667

the basso part starts at scan 189 (1-indexed), the tenore at page 341, the alto at page 493 and the canto at page 645.

@craigsapp
Copy link
Owner Author

This of course can only be done with the bounding box data is encoded in the Humdrum scores (so the rest of the bounding box info should be added to the Humdrum scores :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant