mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
deprioritize jsonld preview image
This commit is contained in:
parent
81149e8b5d
commit
e031f4f81c
1 changed files with 3 additions and 3 deletions
|
|
@ -2049,14 +2049,14 @@ Readability.prototype = {
|
|||
values["article:date"];
|
||||
|
||||
// get preview image
|
||||
metadata.previewImage = jsonld.previewImage ||
|
||||
values["image"] ||
|
||||
metadata.previewImage = values["image"] ||
|
||||
values["twitter:image"] ||
|
||||
values["dc:image"] ||
|
||||
values["dcterm:image"] ||
|
||||
values["og:image"] ||
|
||||
values["weibo:article:image"] ||
|
||||
values["weibo:webpage:image"];
|
||||
values["weibo:webpage:image"] ||
|
||||
jsonld.previewImage
|
||||
|
||||
metadata.locale = values["og:locale"];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue