Grandt/PHPePub - GitHub
PHPePub - PHP Classes for dunamically generating EPub files.
Les articles publiés sur le site
-
Replace images with their alt tag if needed
5 octobre 2013, par GrandtReplace images with their alt tag if needed Change: Using EPub::EXTERNAL_REF_REPLACE_IMAGES as externalReferences parameter when adding chapters containing image links, will now cause EPub to use the alt attribute of the image, if it exists.
-
sendBook and saveBook should return the filename
26 septembre 2013, par GrandtsendBook and saveBook should return the filename Rev. 2.13 - 2013-09-26 * Fixed: sendBook and saveBook returned boolean TRUE/FALSE depending on if the sending was successful. The sanitized/used filename was never exposed. The methods now return the filename used for sending, or FALSE if it failed. * Change: sanitizeFileName is now a public function.
-
Updated Zip class
16 septembre 2013, par GrandtUpdated Zip class Fixed: Trailing semicolon in the Content-Disposition file header caused trouble in some browsers
-
Updated a conflict in the LGPL License.
10 juillet 2013, par GrandtUpdated a conflict in the LGPL License. Updated a conflict in the LGPL License. Reset to "just" GNU LGPL 2.1 Also added example images and image test
-
Rev. 2.12 - 2013-03-10
10 mars 2013, par GrandtRev. 2.12 - 2013-03-10 * Fixed: Decoding of html entities if added to the book metadata. Requires added file EPub.HtmlEntities.php Updated Zip.php to 1.38. Adding new parameter to addFile to force Store. New files for the EPub rev. 2.50 beta code, adding EPub.NCX.php, EPUB.OPF.php and Logger.php EPub.250.php is a beta version of the new class, splitting out the ncx and opf to better handle these xml files. Levelling of chapters and fiels added is supported in these as well, but still pending for the EPub.250.php itself. I still have to figure out how the h*** I'm going to do that while retaining backwards compatability.