Login   Register  
PHP Classes
elePHPant
Icontem

EPub

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Asbjorn Grandt
Name: Asbjorn Grandt <e-mail contact>
Packages: 5 Browse all classes by Asbjorn Grandt Browse all classes by
Country: Denmark Denmark - PHP jobs in Denmark
Age: 41
All time rank: 3492 in Denmark Denmark
Week rank: 41 Up2 in Denmark Denmark Equal
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download .zip .tar.gz  
This class can be used to create create an ebook in EPUB format for Apple iPad and other ebook readers.

It can set the ebook details like the author, publisher, comments, etc., as well the ebook chapter data.

The class builds an archive with all the ebook information and serves the ebook archive for download or returns it as a string.

PHP 5.2 seems to work. 5.3 with GD extensions are recommended

  Classes of Asbjorn Grandt  >  EPub  >  Download .zip .tar.gz  >  Support forum Support forum (27)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: EPub
Base name: epub
Description: Create ebook in EPUB format for ex. Apple iPad
Version: 2.10
PHP version: 5.2
License: GNU Lesser General Public License (LGPL)
All time users: 2581 users
All time rank: 1295
Week users: 15 users
Week rank: 108 Up
 
  Groups   Rate classes User ratings   Dependencies  
  Trackback   Applications   Related links   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes
Group folder image Content management Components and tools to manage content View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
April 2010
Number 9

Prize: One copy of Delphi for PHP
The release of the iPad raised the public interest for ebooks again.

EPub is a ebook format that is supported by the iPad.

This class provides a pure PHP solution to build ebooks in the EPub format.

Manuel Lemos

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Perfect (100.0%)
Good (90.0%)
-
Perfect (100.0%)
-
-
Sufficient (69.0%)
252
Month:
Not yet rated by the users

  Packages needed by this class  
Class Dependency Why it is needed
Zip
Required
ePub's are Zip archives, this class is needed to generate those. Zip is a small, easy to use Zip archive creator.

  Trackback links  
Link Description
Create PDF or ePub (Italian) I found a class to create EPUB, see if it can help you?

  Applications that use this class  
Link Description
Drupal ePub ePub extension for the Drupal CMS.
ePub Export for WordPress Plugin for Wordpress by Martin Fenner
EPubExport MediaWiki Extension: EPubExport
ePubVersion ePubVersion is an eFiction 3.x module that creates on-the-fly ePUB eBooks for Single Chapter and Multi Chapter stories.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
EPub on GitHub This project on GitHub
Donations Optional donations via PayPal.

  Files folder image Files  
File Role Description
Plain text file EPub.php Class Main class, 2.0 is backwards compatible with EPub 1.0, except for the createUUID function.
Plain text file EPubChapterSplitter.php Class HTML Splitter, can be used without EPub. It splits an (X)HTML file into an array of parts, splitting at either a set max size or at a search string (both regexp or plain text supported), while retaining the HTML structure across the split point. When using a search string, the matching HTML entity/line is returned as the parts' array key.
Plain text file Zip.php Class Zip.php from my Zip class, added for convenience
Plain text file lib.uuid.php Class J. King's DrUUID class for UUID generation, required by EPub 2.00
Accessible without login Plain text file EPub.Example1.php Example Example file for generating book for download.

Download all files: epub.tar.gz epub.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.