1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00

use directly MOBIClass

This commit is contained in:
tcit 2014-07-24 21:56:04 +02:00
parent c70bfefc68
commit fb9df0c269
47 changed files with 309 additions and 1551 deletions

View file

@ -112,12 +112,15 @@ class Routing
$this->wallabag->deleteUser($_POST['password4deletinguser']);
} elseif (isset($_GET['epub'])) {
$epub = new WallabagEpub($this->wallabag, $_GET['method'], $_GET['value']);
$epub->prepareData();
$epub->produceEpub();
} elseif (isset($_GET['mobi'])) {
$mobi = new WallabagMobi($this->wallabag, $_GET['method'], $_GET['value']);
$mobi->prepareData();
$mobi->produceMobi();
} elseif (isset($_GET['pdf'])) {
$pdf = new WallabagPDF($this->wallabag, $_GET['method'], $_GET['value']);
$pdf->prepareData();
$pdf->producePDF();
} elseif (isset($_GET['import'])) {
$import = $this->wallabag->import();