mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1233 (Update opds cover and thumb rel to match OPDS 1.0 and higher)
This commit is contained in:
parent
6ab2331f93
commit
9b696217a4
@ -235,6 +235,8 @@ def ACQUISITION_ENTRY(book_id, updated, request_context):
|
||||
ans.append(link)
|
||||
ans.append(E.link(type='image/jpeg', href=get(what='cover'), rel="http://opds-spec.org/cover"))
|
||||
ans.append(E.link(type='image/jpeg', href=get(what='thumb'), rel="http://opds-spec.org/thumbnail"))
|
||||
ans.append(E.link(type='image/jpeg', href=get(what='cover'), rel="http://opds-spec.org/image"))
|
||||
ans.append(E.link(type='image/jpeg', href=get(what='thumb'), rel="http://opds-spec.org/image/thumbnail"))
|
||||
|
||||
return ans
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user