News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPMaster.com:
Building ePub with PHP and Markdown
March 04, 2013 @ 10:52:45

On PHPMaster.com today there's a new post showing you how to create ePub documents from Markdown-formatted files with the help of the md2epub and RainTPL libraries.

The ePub format is a publishing standard built on top of XHTML, CSS, XML and more. And since PHP is well suited for working with HTML and friends, why not use it to build ebooks? In this article we'll see what goes into building a tool for creating ePub packages starting from a set of content files. Maybe it's your next best selling cyber-sci-fi novel or documentation for your latest code projectů because we all write good documentation for our projects, don't we?

He starts off with an introduction to the ePub format, showing the directory structure the package has to follow and some example contents. He helps you set up a test book with two chapters, cover images, styling and a cover/title page. Included in the tutorial is all of the code you'll need to make your own "ePub builder" tool and a suggestion of a tool to check the end result.

0 comments voice your opinion now!
tutorial epub markdown mb2epub introduction


blog comments powered by Disqus

Similar Posts

Adam Gotterer's Blog: Building an Object Collection Manager with the Standard PHP Library (SPL)

DevShed: Decoupling the Validation of Data with Bridge Classes in PHP 5

Michelangelo van Dam's Blog: Quality Assurance on PHP projects - PHPUnit part 1

Architexa Blog: Simplifying Dependency Injection

PHP-Tools Blog: Der Zauberlehrling - Sorcerer's Apprentice


Community Events





Don't see your event here?
Let us know!


symfony laravel series security package introduction opinion podcast release interview voicesoftheelephpant tool language community library mvc update framework composer version

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework