mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-05 18:41:02 +00:00
Added headers field in Entry
This commit is contained in:
parent
7987816d1e
commit
dda6a6addc
4 changed files with 90 additions and 1 deletions
|
@ -87,6 +87,10 @@ class ContentProxy
|
|||
$entry->setPublishedBy($content['authors']);
|
||||
}
|
||||
|
||||
if (!empty($content['all_headers'])) {
|
||||
$entry->setHeaders($content['all_headers']);
|
||||
}
|
||||
|
||||
$entry->setLanguage(isset($content['language']) ? $content['language'] : '');
|
||||
$entry->setMimetype(isset($content['content_type']) ? $content['content_type'] : '');
|
||||
$entry->setReadingTime(Utils::getReadingTime($html));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue