Merge pull request #6769 from wallabag/add-not-parsed-boolean

Add `isNotParsed` field on Entry entity
This commit is contained in:
Nicolas Lœuillet
2023-08-21 20:18:44 +02:00
committed by GitHub
16 changed files with 299 additions and 6 deletions

View File

@ -119,6 +119,10 @@ abstract class WallabagImport extends AbstractImport
$entry->setUrl($data['url']);
$entry->setTitle($data['title']);
if (\array_key_exists('is_parsed', $data)) {
$entry->setNotParsed(true);
}
// update entry with content (in case fetching failed, the given entry will be return)
$this->fetchContent($entry, $data['url'], $data);