diff --git a/epub.php b/epub.php index 13eeec3..8f38d7e 100644 --- a/epub.php +++ b/epub.php @@ -51,7 +51,7 @@ if (isset($_POST['lemonde']) && $_POST['lemonde']) { // parameters hardcoded for now - $includeimages = true; + $includeimages = false; $includepages = true; $url = $_POST['lmurl']; @@ -108,7 +108,7 @@ $tempimgpath = './temp/' . $pageid . '.jpg'; $tempcontent = file_get_contents($pageurl); file_put_contents($tempimgpath, $tempcontent); - $epub->AddPage('', false, 'Page ' . $page, true); + $epub->AddPage('', false, 'Page ' . $page, true); // Add page 1 as cover if ($page == 1) @@ -150,7 +150,7 @@ $tempimgpath = './temp/' . $imageid . '.jpg'; $tempcontent = file_get_contents($imageurl); file_put_contents($tempimgpath, $tempcontent); - $pagecontent .= '
'; + $pagecontent .= ''; } }