3 namespace Wallabag\ImportBundle\Import
;
5 class WallabagV2Import
extends WallabagImport
10 public function getName()
18 public function getUrl()
20 return 'import_wallabag_v2';
26 public function getDescription()
28 return 'import.wallabag_v2.description';
34 protected function prepareEntry($entry = [], $markAsRead = false)
37 'html' => $entry['content'],
38 'content_type' => $entry['mimetype'],
39 'is_archived' => ($entry['is_archived'] || $markAsRead),