Online Publishing House - Output formats
Which way(s) should we go for the Online Publishing House, in terms of going from Tiki content to a consumable format:
- Print on demand (POD)
- e-book
- EPUB
- Mobile App
- etc.
For background info, see: How to Produce a Book
Let's review some potential options
Similar to Booki with CSS
Booki uses: WYSIWYG HTML -> Objavi -> PDF, ODT or EPUB.
We would do: Wiki syntax (with some relevant logic) -> HTML5 with flat output -> Objavi -> PDF, ODT or EPUB.
This is already how Tiki does it with wkhtmltopdf but it's pretty basic.
https://www.ohloh.net/p/booki
https://www.ohloh.net/p/objavi
Similar to Wikipublisher with LaTeX
http://www.wikipublisher.org/
https://www.ohloh.net/p/wikipublisher
How Wikipublisher seems to do it: Wiki syntax -> LaTeX -> PDF
How we would do it: (Parser needs to be reworked)
- Wiki syntax (with some relevant logic) -> HTML5
- Wiki syntax (with some relevant logic) -> wikibook XML -> LaTeX -> PDF
Interesting links
- http://www.wikipublisher.org/wiki/WikiSym/WikipublisherProject
- http://www.wikipublisher.org/wiki/Wikipublisher/About
- http://www.wikipublisher.org/wiki/Wikipublisher/BasicFeatures
- http://www.wikipublisher.org/wiki/Wikipublisher/WhyWeNeedWikipublisher
- http://www.wikipublisher.org/wiki/Wikipublisher/WikipublisherIsUnique
- http://www.wikipublisher.org/wiki/Wikipublisher/WikipublisherTechnologies
- http://www.wikipublisher.org/wiki/Wikipublisher/TypesettingEngine
- http://www.wikipublisher.org/wiki/Wikipublisher/WikibookDTD
- http://www.wikipublisher.org/wiki/Issues/00087
This will increase desire for a WYSIWYG editor which maintains wiki syntax.
How can we produce an EPUB or a .odt in this process?
Pressbooks
PressBooks is a book-making tool that outputs as: epub, print-ready PDF, HTML, and InDesign-ready XML. Built on WordPress.
http://pressbooks.com
http://nextmontreal.com/book-oven-to-pressbooks/
They also use Wikipublisher
- https://groups.google.com/group/wikipublisher/browse_thread/thread/1c821fd8943326cb?hl=en
- https://groups.google.com/group/wikipublisher/browse_thread/thread/af9a4584cf90118a?hl=en
Book creator and PediaPress
Rather than trying to fetch all pages selected for printing (curent tiki-print) have a look at MediaWiki's http://en.wikipedia.org/wiki/Special:Book which uses http://en.wikipedia.org/wiki/TeX (only for math)
Some technical descriptions on how MediaWiki's book creator works and which problems may occur: http://en.wikipedia.org/wiki/Help:Books/for_experts
export format: PDF or ODF or ZIM
http://en.wikipedia.org/wiki/Help:Books/Frequently_Asked_Questions
WikiBooks HTML output
Using Apache FOP
dompdf
- http://code.google.com/p/dompdf/ is already part of Tiki via Slideshow export features in Tiki9
- https://www.ohloh.net/p/dompdf
mPDF
"mPDF is a PHP class which generates PDF files from UTF-8 encoded HTML. It is based on FPDF and HTML2FPDF, with a number of enhancements."
http://mpdf1.com/
Zend_Pdf
"The Zend_Pdf component is a PDF (Portable Document Format) manipulation engine. It can load, create, modify and save documents. Thus it can help any PHP application dynamically create PDF documents by modifying existing documents or generating new ones from scratch."
http://framework.zend.com/manual/en/zend.pdf.introduction.html
TCPDF
- http://www.tcpdf.org/
- bookmarks
- SVG support (which we need for Tiki Draw.)
- Forms with JS
- Digital signature certification
- 2D barcodes & QR-Code
- And many more...
- https://www.ohloh.net/p/tcpdf
wkhtmltopdf
eZ Components - Document
http://incubator.apache.org/zetacomponents/documentation/trunk/Document/tutorial.html
PDF using Flash
iText
MarMatMak
- MarMatMak is short for « Marketing Material Maker »,
- http://www.bxlug.be/marmatmak
- https://www.ohloh.net/p/marmatmak
Output to ODF
An idea for mobile devices
See Online Publishing House - Mobile app

Last Comments