[CssSelectorBridge] Add more metadata tags (#3768)

Add og: variants for published/updated time and author
This commit is contained in:
ORelio 2023-10-18 19:10:52 +02:00 committed by GitHub
parent 8203196145
commit a41bb088f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -336,9 +336,11 @@ class CssSelectorBridge extends BridgeAbstract
], ],
'timestamp' => [ 'timestamp' => [
'article:published_time', 'article:published_time',
'og:article:published_time',
'releaseDate', 'releaseDate',
'releasedate', 'releasedate',
'article:modified_time', 'article:modified_time',
'og:article:modified_time',
'lastModified', 'lastModified',
'lastmodified' 'lastmodified'
], ],
@ -351,8 +353,9 @@ class CssSelectorBridge extends BridgeAbstract
'thumbnailimg' 'thumbnailimg'
], ],
'author' => [ 'author' => [
'author',
'article:author', 'article:author',
'og:article:author',
'author',
'article:author:username', 'article:author:username',
'profile:first_name', 'profile:first_name',
'profile:last_name', 'profile:last_name',