Loading...
 

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:


mPDF is the selected PDF to HTML output tool. Also, an integration has been added with PhantomJS for Browser automation, including converting some JavaScript-generated content into static content for use by mPDF for printing.

The research below is kept for posterity.




For background info, see: How to Produce a Book

This will also be useful for Business Plans. Let's review some potential options

Booki which became Booktype


Booki uses: WYSIWYG HTML -> Objavi -> PDF, ODT or EPUB.

Objavi takes Booki-zip files from Booki and currently outputs to PDF (web readable, book formatted, and newsprint formatted), ODT, and 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.openhub.net/p/booktype
https://www.openhub.net/p/objavi
https://github.com/booktype/BookJS
https://github.com/sourcefabric/Booktype/blob/2.0/README.md
http://opensource.com/education/15/3/open-source-book-publishing

Wikipublisher

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


This will increase desire for a WYSIWYG editor which maintains wiki syntax.
How can we produce an EPUB or a .odt in this process?

Miktex

Pressbooks

PressBooks is a book-making tool that outputs as: epub, print-ready PDF, HTML, and InDesign-ready XML. Built on WordPress.


They also use (used?) Wikipublisher


And more recently are supporting mPDF
https://github.com/pressbooks/pressbooks/search?q=mpdf&type=Issues&utf8=%E2%9C%93

WeasyPrint

WeasyPrint is a visual rendering engine for HTML and CSS that can export to PDF.


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

All options on packagist

Using Apache FOP

dompdf


mPDF

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."

TCPDF


Mozilla2PS

HTML2FPDF

There seems to be three with the same name:

Horde PDF library

http://www.horde.org/libraries/Horde_Pdf

wkhtmltopdf


node-wkhtmltopdf

https://www.openhub.net/p/node-wkhtmltopdf

node-html-pdf

https://github.com/marcbachmann/node-html-pdf

pdfmake

Docverter

Convert plain text documents written in HTML, Markdown, or LaTeX to PDF, Docx, RTF or ePub with a simple HTTP API.

Chrome

We could do like this too:
https://github.com/hakimel/reveal.js#pdf-export

HTML5 and PhantomJS

http://we-love-php.blogspot.de/2012/12/create-pdf-invoices-with-html5-and-phantomjs.html

eZ Components - Document

PDF using Flash

HPDF

MarMatMak

Publican

https://www.openhub.net/p/publican

Flying Saucer

  • Uses iText

iText

ReportLab

In Python
https://www.openhub.net/p/reportlab
http://www.reportlab.com/opensource/

xhtml2pdf

  • In Python

https://github.com/xhtml2pdf/xhtml2pdf

speedata Publisher

Output to ODF

GrabzIT

Epub

AsciiDoc

AsciiDoc is a text document format for writing notes, documentation, articles, books, ebooks, slideshows, web pages, man pages and blogs. AsciiDoc files can be translated to many formats including HTML, PDF, EPUB, man page.

AsciiDoc is highly configurable: both the AsciiDoc source file syntax and the backend output markups (which can be almost any type of SGML/XML markup) can be customized and extended by the user.

https://plus.google.com/114112334290393746697/posts/CdXJt6hVn5A


See also: Wiki Parser Revamp

Sphinx

http://www.sphinx-doc.org/
http://readthedocs.org/projects/sphinx/downloads/pdf/stable/

jsPDF

An idea for mobile devices

See Online Publishing House - Mobile app

Related links

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki development and should correspond to documentation keywords.

Each feature in Tiki has a wiki page which regroups all the bugs, requests for enhancements, etc. It is somewhat a form of wiki-based project management. You can also express your interest in a feature by adding it to your profile. You can also try out the Dynamic filter.

Accessibility (WAI & 508)
Accounting
Administration
Ajax
Articles & Submissions
Backlinks
Banner
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Calendar
Category
Chat
Comment
Communication Center
Consistency
Contacts Address book
Contact us
Content template
Contribution
Cookie
Copyright
Credits
Custom Home (and Group Home Page)
Database MySQL - MyISAM
Database MySQL - InnoDB
Date and Time
Debugger Console
Diagram
Directory (of hyperlinks)
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
DogFood
Draw -superseded by Diagram
Dynamic Content
Preferences
Dynamic Variable
External Authentication
FAQ
Featured links
Feeds (RSS)
File Gallery
Forum
Friendship Network (Community)
Gantt
Group
Groupmail
Help
History
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
jQuery
Kaltura video management
Kanban
Karma
Live Support
Logs (system & action)
Lost edit protection
Mail-in
Map
Menu
Meta Tag
Missing features
Visual Mapping
Mobile
Mods
Modules
MultiTiki
MyTiki
Newsletter
Notepad
OS independence (Non-Linux, Windows/IIS, Mac, BSD)
Organic Groups (Self-managed Teams)
Packages
Payment
PDF
Performance Speed / Load / Compression / Cache
Permission
Poll
Profiles
Quiz
Rating
Realname
Report
Revision Approval
Scheduler
Score
Search engine optimization (SEO)
Search
Security
Semantic links
Share
Shopping Cart
Shoutbox
Site Identity
Slideshow
Smarty Template
Social Networking
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Staging and Approval
Stats
Survey
Syntax Highlighter (Codemirror)
Tablesorter
Tags
Task
Tell a Friend
Terms and Conditions
Theme
TikiTests
Federated Timesheets
Token Access
Toolbar (Quicktags)
Tours
Trackers
TRIM
User Administration
User Files
User Menu
Watch
Webmail and Groupmail
WebServices
Wiki History, page rename, etc
Wiki plugins extends basic syntax
Wiki syntax text area, parser, etc
Wiki structure (book and table of content)
Workspace and perspectives
WYSIWTSN
WYSIWYCA
WYSIWYG
XMLRPC
XMPP




Useful Tools