Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 05-30-2017, 02:17 PM   #1
fiume
Junior Member
fiume began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2017
Device: Nook
Interactive Epubs: XML, HTML, XHTML

Which format is best for publishing interactive epubs, XML, HTML, or XHTML?

What are the pros and cons to each of them?
fiume is offline   Reply With Quote
Old 05-30-2017, 03:56 PM   #2
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 35,311
Karma: 145435140
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by fiume View Post
Which format is best for publishing interactive epubs, XML, HTML, or XHTML?

What are the pros and cons to each of them?
You really don't have a choice. You pretty much need to go with epub 3.0 which uses XHTML based on the HTML5 standard along with parts the SVG and CSS standards.

The only use I've seen of XML in epubs required converting XML to HTML which all too often was not a pretty sight.
DNSB is offline   Reply With Quote
Old 05-30-2017, 05:32 PM   #3
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
pure HTML is not good for anything anymore. You need to close the tags. XHTML is a predefined version of XML. It is the defined standard for ePub both version 2 and version 3. Some arbitrary XML implementation is impossible to use without an app that can understand the definitions. There are files inside the ePub structure that are XML. You really need to read our wiki for those terms. Our wiki provides data that is specifically targeted at eBooks. There is a link at the top of the page.
DaleDe is offline   Reply With Quote
Old 05-30-2017, 05:45 PM   #4
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
Interactivity is handled in EPUB3 via javascript. Support for this varies across book sellers.

The best way to go about this will depend on where you plan to publish/sell your book.
jhowell is online now   Reply With Quote
Old 05-31-2017, 03:36 AM   #5
fbrzvnrnd
Fanatic
fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.
 
Posts: 554
Karma: 400004
Join Date: Feb 2009
Device: ONYX M96
In ePub/KF8 you can only use hypertext in XHTML. In EPUB3 you can use XML SMIL for media overlay, XHTML5 for audio and video, and Javascript for everything else. You can also use the SVG XML format for vector graphics, but SMIL animations are not allowed in ePub2/EPUB3, only Javascript ones in EPUB3.
fbrzvnrnd is offline   Reply With Quote
Reply

Tags
html, interactive pubs, xhtml, xml


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Some files.html & toc.xhtml (also Cover.xhtml) chaot Workshop 23 02-13-2017 12:20 PM
Error: Cannot split: ......xhtml XML is not well formed Alt68er Sigil 2 04-23-2014 03:00 AM
questions on self-closing tags and legal xhtml in epubs KevinH ePub 5 04-23-2012 10:12 PM
0.2.1 bug? (3 .xml files inserted into epubs) Stinger Sigil 6 06-20-2010 09:25 PM
xml or xhtml to basic html converter remjax Reading and Management 11 07-14-2009 09:04 AM


All times are GMT -4. The time now is 09:16 PM.


MobileRead.com is a privately owned, operated and funded community.