send2kindle

This commit is contained in:
tcit
2014-07-25 01:33:31 +02:00
parent deab6280d3
commit dc59f164a9
2 changed files with 59 additions and 4 deletions

View File

@ -118,6 +118,10 @@ class Routing
$mobi = new WallabagMobi($this->wallabag, $_GET['method'], $_GET['value']);
$mobi->prepareData();
$mobi->produceMobi();
} elseif (isset($_GET['send2kindle'])) {
$mobi = new WallabagMobi($this->wallabag, $_GET['method'], $_GET['value']);
$mobi->prepareData();
$mobi->produceMobi(TRUE);
} elseif (isset($_GET['pdf'])) {
$pdf = new WallabagPDF($this->wallabag, $_GET['method'], $_GET['value']);
$pdf->prepareData();