ePub
        eBooks, parte II
Svet Ivantchev, @svetef, eFaber




Gobierno Vasco, mayo 2011
Versiones


• El estándar actual: EPUB 2.0.1
• Próximamente EPUB 3 (actualmente en
  borrador publicado)
Especificaciones
•   Open Publication Structure (OPS), describe la
    presentación del contenido

•   Open Packaging Format (OPF), describe como
    el contenido y los recursos se unen en la
    publicación (ficheros OPF y NCX)

•   OEBPS Container Format (OCF), describe la
    integración dentro de un fichero ZIP

                    http://web.sigil.googlecode.com/hg/epub_overview.html
Open Publication Structure (OPS)
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xml:lang="en">
  <head>
    <link rel="stylesheet" type="text/css"
         href="../Styles/stylesheet.css" />
  </head>
  <body>
    <p>Aquí va el texto.
    </p>
    <p>Otro párrafo.
    </p>
    <img src="../Images/example_image.jpg">
  </body>
</html>
Open Packaging Format (OPF)


•   fichero OPF

    •   metadatos

    •   manifest (lista de todos los ficheros)

    •   spine (el orden de lectura de los ficheros xhtml)

    •   guide (referncias al índice, introducción, bibliografía, etc)

•   fichero NCX (Navigation Center eXtended), índice jerárquico
ADE

• Adobe Content Server 4, $6500
• + $1500 al año
• por cada venta posterior $.22
• por cada préstamo $.08
ADE


• http://wiki.mobileread.com/wiki/XPGT
• http://www.adobe.com/products/
  digitaleditions/
Editor ePub Libre: Sigil
ePub ejemplo
Elizabeth Castro, EPUB Straight to the Point, Peachpit Press, 2010
crear ePub a mano
cd x/

zip -v0X milibro mimetype

zip -vr milibro * -x milibro.zip mimetype

mv milibro.zip milibro.epub
Validar
  http://code.google.com/p/epubcheck/




http://threepress.org/document/epub-validate

Libros electrónicos II - ePub

  • 1.
    ePub eBooks, parte II Svet Ivantchev, @svetef, eFaber Gobierno Vasco, mayo 2011
  • 4.
    Versiones • El estándaractual: EPUB 2.0.1 • Próximamente EPUB 3 (actualmente en borrador publicado)
  • 6.
    Especificaciones • Open Publication Structure (OPS), describe la presentación del contenido • Open Packaging Format (OPF), describe como el contenido y los recursos se unen en la publicación (ficheros OPF y NCX) • OEBPS Container Format (OCF), describe la integración dentro de un fichero ZIP http://web.sigil.googlecode.com/hg/epub_overview.html
  • 7.
    Open Publication Structure(OPS) <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <link rel="stylesheet" type="text/css" href="../Styles/stylesheet.css" /> </head> <body> <p>Aquí va el texto. </p> <p>Otro párrafo. </p> <img src="../Images/example_image.jpg"> </body> </html>
  • 8.
    Open Packaging Format(OPF) • fichero OPF • metadatos • manifest (lista de todos los ficheros) • spine (el orden de lectura de los ficheros xhtml) • guide (referncias al índice, introducción, bibliografía, etc) • fichero NCX (Navigation Center eXtended), índice jerárquico
  • 9.
    ADE • Adobe ContentServer 4, $6500 • + $1500 al año • por cada venta posterior $.22 • por cada préstamo $.08
  • 11.
  • 12.
  • 13.
  • 18.
    Elizabeth Castro, EPUBStraight to the Point, Peachpit Press, 2010
  • 19.
    crear ePub amano cd x/ zip -v0X milibro mimetype zip -vr milibro * -x milibro.zip mimetype mv milibro.zip milibro.epub
  • 20.