support isbn tags in dc:source

This commit is contained in:
Toni Barth 2026-02-08 03:48:22 +01:00
parent 52a0b61b97
commit 989255e957
2 changed files with 15 additions and 1 deletions

View file

@ -65,7 +65,8 @@ function parseIdentifier(metaTags, identifierType) {
const identifierValues = [
...getValues(metaTags, 'dc:identifier'),
...getValues(metaTags, 'ncc:identifier')
...getValues(metaTags, 'ncc:identifier'),
...(identifierType === 'isbn' ? getValues(metaTags, 'dc:source') : [])
]
for (const identifier of identifierValues) {
if (identifierType === 'isbn' && /isbn/i.test(identifier)) {