OPDS: support non-standard and legacy link relations (#126)

This commit is contained in:
Zeedif
2026-04-10 16:29:25 +00:00
committed by GitHub
parent 5ba02c71c9
commit 76dcd8f0f7
+4 -2
View File
@@ -17,11 +17,13 @@ export const REL = {
GROUP: 'http://opds-spec.org/group',
COVER: [
'http://opds-spec.org/image',
'http://opds-spec.org/cover',
'http://opds-spec.org/cover', // ManyBooks legacy, not in spec
'x-stanza-cover-image', // Lexcycle Stanza legacy
],
THUMBNAIL: [
'http://opds-spec.org/image/thumbnail',
'http://opds-spec.org/thumbnail',
'http://opds-spec.org/thumbnail', // ManyBooks legacy, not in spec
'x-stanza-cover-image-thumbnail', // Lexcycle Stanza legacy
],
}