mirror of
https://github.com/john-okeefe/foliate-js.git
synced 2026-09-09 11:29:14 -04:00
OPDS: support non-standard and legacy link relations (#126)
This commit is contained in:
@@ -17,11 +17,13 @@ export const REL = {
|
|||||||
GROUP: 'http://opds-spec.org/group',
|
GROUP: 'http://opds-spec.org/group',
|
||||||
COVER: [
|
COVER: [
|
||||||
'http://opds-spec.org/image',
|
'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: [
|
THUMBNAIL: [
|
||||||
'http://opds-spec.org/image/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
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user