SlideShare una empresa de Scribd logo
1 de 23
epub
what the heck?
zipped up (compressed) html
Let’s go Inside an ePub
The Sections:
Text
Styles
Images
Fonts
Audio
Video
Misc
Tell the file how stuff
looks.
<link href="../Styles/stylesheet.css" rel="stylesheet" type="text/css"/>
<link href="../Styles/stylesheet.css" rel="stylesheet" type="text/css"/>
<p class="slug">Constantinople, Turkey. The suq (bazaar), May 13,1811</p>
p.slug {
display: block;
font-size: 100%;
margin: 1.5em 0em 3em 0em;
text-indent: 0;
font-style: italic;
text-align: left;
}
Constantinople, Turkey. The suq (bazaar), May 13,1811
Amazing chapter gets better and better and better and better. Such good
stuff. Better and better and better. You get the idea. It’s really good.
Puppies are cute. So are kittens.
Chapter gets better and better and better and better. Such good stuff.
Better and better and better. You get the idea. It’s really good. Puppies are
cute. So are kittens. Also unicorns.
Table of Contents Links
<h1 id="chapter5"><a href="../Text/toc.xhtml#tocchapter5">CHAPTER 5</a></h1>
. . . in toc.xhtml. . .
<p><a id="tocchapter5"/><a href="../Text/chapter005.xhtml#chapter5">Chapter 5</a></p>
. . . in chapter005.xhtml. . .
Table of Contents Links
<h1 id="chapter5"><a href="../Text/toc.xhtml#tocchapter5">CHAPTER 5</a></h1>
. . . in toc.xhtml. . .
<p><a id="tocchapter5"/><a href="../Text/chapter005.xhtml#chapter5">Chapter 5</a></p>
. . . in chapter005. xhtml. . .
content.opf
xml file
toc.ncx
xml
<navPoint id="navPoint-1" playOrder="1">
<navLabel>
<text>Cover</text>
</navLabel>
<content src="Text/cover.xhtml"/>
</navPoint>
<navPoint id="navPoint-2" playOrder="2">
<navLabel>
<text>Title Page</text>
</navLabel>
<content src="Text/title.xhtml"/>
</navPoint>
<navPoint id="navPoint-3" playOrder="3">
<navLabel>
<text>Copyright</text>
</navLabel>
<content src="Text/copy.xhtml"/>
</navPoint>
<navPoint id="navPoint-1" playOrder="1">
<navLabel>
<text>Cover</text>
</navLabel>
<content src="Text/cover.xhtml"/>
</navPoint>
<navPoint id="navPoint-1" playOrder="1">
<navLabel>
<text>Cover</text>
</navLabel>
<content src="Text/cover.xhtml"/>
</navPoint>
Common Errors
<p><a id="tocaboutbook"/><a href="../Text/aboutbook.xhtml#book">About This Book</a></p>
<h1 id="aboutbook"><a href="../Text/toc.xhtml#tocaboutbook">About This Book</a></h1>
from the html toc
in file aboutbook.xhtml
Metadata
From the content.opf
<dc:identifier id="BookId" opf:scheme="UUID">urn:uuid:1ad22bea-5f8e-4e3a-af40-08bc80f86c2a
</dc:identifier>
From the toc.ncx
<meta content="urn:uuid:1ad22bea-5f8e-4e3a-af40-08bc80f86c2a" name="dtb:uid"/>
More Metadata
Closing
• carolyn@carolynjewel.com
• www.carolynjewel.com/references/epub.php
• http://cjewel.me/epub

Más contenido relacionado

Similar a RWA 2014 - ePub Demystified

Douglas Crockford Presentation Jsonsaga
Douglas Crockford Presentation JsonsagaDouglas Crockford Presentation Jsonsaga
Douglas Crockford Presentation Jsonsaga
Ajax Experience 2009
 

Similar a RWA 2014 - ePub Demystified (9)

Xml Zoe
Xml ZoeXml Zoe
Xml Zoe
 
Xml Zoe
Xml ZoeXml Zoe
Xml Zoe
 
Douglas Crockford Presentation Jsonsaga
Douglas Crockford Presentation JsonsagaDouglas Crockford Presentation Jsonsaga
Douglas Crockford Presentation Jsonsaga
 
The Document Object Model
The Document Object ModelThe Document Object Model
The Document Object Model
 
XML Training Presentation
XML Training PresentationXML Training Presentation
XML Training Presentation
 
XML and XSLT
XML and XSLTXML and XSLT
XML and XSLT
 
Xmlphp
XmlphpXmlphp
Xmlphp
 
XML
XMLXML
XML
 
Querying rich text with XQuery
Querying rich text with XQueryQuerying rich text with XQuery
Querying rich text with XQuery
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 

RWA 2014 - ePub Demystified

Notas del editor

  1. ePub is the file format most book reading devices use. Ver 3.0 is current version. Not fully supported across devices. For novels, 2.1 is more than sufficient.
  2. 1. asked about knowledge of zipped files 2. Then show it.
  3. Use Sigil to show the inside of the ePub opf Text ncx -- how this is the TOC
  4. In Sigil, show the sections. Explain what people are seeing in Sigil. For text - depending on how big your book is, chunked into separate sections in the Text folder. Show an example file in the text folder.
  5. Show the css link. Show the css folder and the stylesheet.css
  6. This shows what css can do. The presentation of all the files is controlled by a single css file. It’s more complicated than this, of course.
  7. Click that previous Chapter 5, and you end up here:
  8. All about the content.opf. What is inside your file? EVERYTHING.
  9. screenshot of a portion of a content.opf Metadata lives here up at the top.
  10. The manifest list ALL the files/objects in your ePub
  11. The guide section is optional. But note Type=text. THAT will control the start place. If it’s present in your ePub, and you convert your ePub to mobi using Kindle Previewer, it will use that guide text as the mobi start
  12. the toc.ncx -- another xml file. controls your navigation.
  13. Navigation points: play order, each thing you want to navigate, will be in this file, with a play order
  14. The “label” in the nav point is what the user sees to click on “cover” here. Go to Sigil to show that if I change “Cover” to “Fred” the user sees “fred”
  15. the content src is where the user ends up when they click. Here, the cover.
  16. Common ePub errors.
  17. An error in Sigil’s internal file checker in sampleerror.epub
  18. This shows an error between the html toc and the anchor in the aboutbook file.
  19. Not so exciting, but they do need to match