craigsapp / website-polish-scores

Front-end for digital transcriptions of the Polish Music Heritage in Open Access project
https://polishscores.org
3 stars 1 forks source link

Allow browsing of POPC1 scores #79

Closed craigsapp closed 2 years ago

craigsapp commented 2 years ago

Allow POPC1 (Chopin First Editions) to be used as the base database on the POPC2 website.

craigsapp commented 2 years ago

Implemented with commit https://github.com/craigsapp/website-polish-scores/commit/dd331808d8e589addcb1009c642f90ac08a89bb2

Currently a basic list that can be improved and generalized later.

To access the POPC1 list, add the parameter ?r=popc1 to the filename:

http://127.0.0.1:3434/?r=popc1

This will load the POPC1 score index instead of the POPC2 index:

Screen Shot 2021-11-25 at 3 32 41 AM

Work page links do not need to know about POPC1 (unless you want to go to the browse index with the up-arrow button in the top navigator):

http://127.0.0.1:3434?id=010_1-6-1b-KI-005

Screen Shot 2021-11-25 at 3 39 59 AM
craigsapp commented 2 years ago

Commit https://github.com/craigsapp/website-polish-scores/commit/459662ebb838525c91fb4cc60ba7aa8e1344cdfa automatically sets the website title based on the repertory being displayed:

Screen Shot 2021-11-25 at 4 36 51 AM

The Polish title for POPC1 is given in https://github.com/craigsapp/website-polish-scores/blob/main/_includes/translations/basic.aton#L11-L15 in case it needs to be fixed.