3 namespace Wallabag\ImportBundle\Import
;
5 class FirefoxImport
extends BrowserImport
12 public function getName()
20 public function getUrl()
22 return 'import_firefox';
28 public function getDescription()
30 return 'import.firefox.description';
36 protected function prepareEntry(array $entry = [])
39 'title' => $entry['title'],
41 'url' => $entry['uri'],
42 'is_archived' => (int) $this->markAsRead
,
43 'is_starred' => false,
45 'created_at' => substr($entry['dateAdded'], 0, 10),
48 if (array_key_exists('tags', $entry) && $entry['tags'] != '') {
49 $data['tags'] = $entry['tags'];