diff --git a/.gitignore b/.gitignore index 08db745..050a138 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ vendor -composer.phar \ No newline at end of file +composer.phar +db/poche.sqlite \ No newline at end of file diff --git a/db/poche.sqlite.in b/db/poche.sqlite.in new file mode 100755 index 0000000..45add0d Binary files /dev/null and b/db/poche.sqlite.in differ diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index 0d37e3c..12cb1b4 100644 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php @@ -212,6 +212,7 @@ class Poche private function importFromInstapaper() { + # TODO gestion des articles favs $html = new simple_html_dom(); $html->load_file('./instapaper-export.html'); @@ -229,9 +230,8 @@ class Poche $this->store->archiveById($last_id); } } - # Instapaper génère un fichier HTML avec deux
    - # Le premier concerne les éléments non lus - # Le second concerne les éléments archivés + + # the second
      is for read links $read = 1; } Tools::logm('import from instapaper completed'); @@ -240,6 +240,7 @@ class Poche private function importFromPocket() { + # TODO gestion des articles favs $html = new simple_html_dom(); $html->load_file('./ril_export.html'); @@ -257,9 +258,8 @@ class Poche $this->store->archiveById($last_id); } } - # Pocket génère un fichier HTML avec deux