LeggiMI! Scrivere ai tempi dell'ebook - La prima lezione del corso sull'editoria digitale promosso da Comune di Firenze e dedicato ai giovani da 18 a 29 anni, a cura di Il Cenacolo scs e EDA Servizi.
Lezione 2 - Teoria e pratica dell'ebook e dei suoi formati - Sergio Covelli, ePubMATIC
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
LeggiMI_Lezione2_SergioCovelli
1.
2. Sergio Covelli – Modulo didattico ‘L’ebook’
Editoria digitale e self-publishing – Firenze, 04 Aprile 2013
L ’ e b o o k
Conversione | Realizzazione | Modifiche | Validazione
3. Sergio Covelli – Modulo didattico ‘L’ebook’
Editoria digitale e self-publishing – Firenze, 04 Aprile 2013
TABLE OF CONTENTS
Concetti base
I formati dell’ebook
Tabelle comparative
o Formati e caratteristiche
o Device e formati supportati
ePub standard, fixed layout, read aloud, etc... (vediamoli sull’iPad!)
La struttura di un ebook formato ePub
HTML e CSS...
Software per impaginare, principi base per ePub accettabili...
Come modificare un file in formato ePub e validarlo
Programmi utili
Il parere di un self-publisher...
4. Sergio Covelli – Modulo didattico ‘L’ebook’
Editoria digitale e self-publishing – Firenze, 04 Aprile 2013
CONCETTI BASE (sicuramente già trattati...)
Un ebook è un libro in formato digitale, un file consultabile su computer, smartphone, tablet, ebook reader, etc (i
cosiddetti ‘device’)...
Il termine ‘lettura di un ebook’ è riduttivo ed è usato solo per convenzione, giacché le funzioni di un ebook possono
andare ben al di là della semplice lettura del solo testo
Per la lettura sono necessari diversi componenti:
il documento elettronico di partenza o e-text
un formato elettronico (ebook format) con cui digitalizzare la pubblicazione (ad es. l’ePub)
un software di lettura compatibile con tale formato
un device (il più appropriato per la lettura di testi è un ebook reader con tecnologia e-ink)
In un ebook tutte le azioni di un normale libro cartaceo sono immediate e scontate
L’ebook approfitta dei vantaggi offerti dalla sua natura digitale, che risiedono nelle possibilità di essere un
ipertesto, inglobare elementi multimediali, utilizzare dizionari o vocabolari contestuali, interattività, etc...
La comodità, semplicità d’uso ed ergonomicità degli ultimi device e-ink rendono il mercato degli ebook
sufficientemente maturo per potersi sviluppare notevolmente e modificare definitivamente gli assetti dell’editoria
classica.
5. Sergio Covelli – Modulo didattico ‘L’ebook’
Editoria digitale e self-publishing – Firenze, 04 Aprile 2013
I FORMATI DELL’eBOOK
I più usati:
ePub, formato aperto adottato come standard
Mobipocket (mobi), utilizzato da Amazon Kindle
LIT, formato nativo Microsoft, ormai obsoleto
iBooks, formato Multi-touch per iPad
PDF e txt...
I principali:
Broadband eBooks (BBeB)
Format: Sony media
Published as: .lrf; .lrx
The digital book format used by Sony Corporation. It is a proprietary format, but some reader software for general-purpose computers, particularly under Linux (for
example, calibre’sinternal viewer), have the capability to read it. The LRX file extension represents a DRM encrypted eBook. Sony has converted its books from BBeB to EPUB.
Comic Book Archive file
Format: compressed images
Published as: .cbr (RAR); .cbz (ZIP); .cb7 (7z); .cbt (TAR); .cba (ACE)
A Comic Book Archive file or ComicBook Reader File consists of a series of image files, typically PNG (lossless compression) or JPEG (lossy compression) files, stored as a single
archive file, for the purpose of sequential viewing of images, especially comic books. The idea was made popular by the CDisplay image viewer; since then, many viewers for
different platforms have been created.
6. Sergio Covelli – Modulo didattico ‘L’ebook’
Editoria digitale e self-publishing – Firenze, 04 Aprile 2013
Desktop Author
Format: DNL Reader
Published as: .dnl; .exe
Desktop Author is an electronic publishing suite that allows creation of digital web books with virtual turning pages. Digital web books of any publication type can be written in this
format, including brochures, ebooks, digital photo albums, e-cards, digital diaries, online resumes, quizzes, exams, tests, forms and surveys. DesktopAuthor packages the ebook into
a ".dnl" or ".exe" book. Each can be a single, plain stand-alone executable file which does not require any other programs to view it. DNL files can be viewed inside a web browser or
stand-alone via the DNL Reader.
DjVu
Format: DjVu
Published as: .djvu
DjVu is a format specialized for storing scanned documents. It includes advanced compressors optimized for low-color images, such as text documents. Individual files may contain
one or more pages. DjVu files cannot be re-flowed. The contained page images are divided in separate layers, each compressed in the best available method. The format is designed
to decompress very quickly, even faster than vector-based formats.
ePUB
Format: IDPF/EPUB
Published as: .epub
The .epub or OEBPS format is an open standard for ebooks created by the International Digital Publishing Forum (IDPF). The EPUB format is rapidly gaining popularity and as of
2011 is the most widely supported vendor-independent XML-based ebook format. The format can be read at least by almost all devices. The only notable device lacking integrated
support for the EPUB format is the Amazon Kindle, although there has recently been speculation that the Kindle will soon support this format.
7. Sergio Covelli – Modulo didattico ‘L’ebook’
Editoria digitale e self-publishing – Firenze, 04 Aprile 2013
FictionBook (Fb2)
Format: FictionBook
Published as: .fb2
FictionBook[8] is a popular XML-based ebook format, supported by free readers such as FBReader, Bebook, Haali Reader and STDU Viewer.
Founder Electronics
Format: Apabi Reader
Published as: .xeb; .ceb
APABI is a format devised by Founder Electronics. It is a popular format for Chinese ebooks. It can be read using the Apabi Reader software, and produced using Apabi Publisher.
Both .xeb and .ceb files are encoded binary files. The Iliad ebook device includes an Apabi ‘viewer’.
iBook (Apple)
Format: iBook
Published as: .ibooks
The .ibooks format is created with the free iBooks Author ebook layout software from Apple Inc.. This proprietary format is based on the EPUB standard, with some differences in
the CSS tags used in an ibooks format file, thus making it incompatible with the EPUB open standard.
The End-User Licensing Agreement (EULA) that comes with iBooks author states that "If you want to charge a fee for a work that includes files in the .ibooks format generated using
iBooks Author, you may only sell or distribute such work through Apple". The "through Apple" will typically be in the Apple iBookstore...
8. Sergio Covelli – Modulo didattico ‘L’ebook’
Editoria digitale e self-publishing – Firenze, 04 Aprile 2013
Mobipocket
Format: Mobipocket, KF8
Published as: .prc; .mobi
The Mobipocket ebook format is based on the Open eBook standard using XHTML and can include JavaScript and frames. It also supports native SQL queries to be used with
embedded databases. There is a corresponding ebook reader. A free ebook of the German Wikipedia has been published in Mobipocket format.
The Mobipocket Reader has a home page library. Readers can add blank pages in any part of a book and add free-hand drawings. Annotations — highlights, bookmarks, corrections,
notes, and drawings — can be applied, organized, and recalled from a single location. Images are converted to GIF format and have a maximum size of 64K, sufficient for mobile
phones with small screens, but rather restrictive for newer devices. MobipocketReader has electronic bookmarks, and a built-in dictionary.
The Amazon Kindle’s AZW format is basically just the Mobipocket format with a slightly different serial number scheme (it uses an asterisk instead of a dollar sign), and .prc
publications can be read directly on the Kindle. The Kindle AZW format also lacks some Mobipocket features such as JavaScript.
Amazon has developed an .epub to .mobi converter called KindleGen (supports IDPF 1.0 and IDPF 2.0 epub format, according to the company).
KF8 (Amazon Kindle Fire 8)
Format: Kindle
Published as: .azw; .kf8
With the release of the Kindle Fire reader in late 2011, Amazon.com also released Kindle Format 8, their new file format. The .kf8 file format supports a subset of HTML5 and CSS3
features, with some additional nonstandard features; the new data is stored within a container which can also be used to store a MOBI content document (allowing limited
backwards compatibility).
Older Kindle eBook readers use the proprietary format, AZW. It is based on the Mobipocket standard, with a slightly different serial number scheme (it uses an asterisk instead of
a dollar sign) and its own DRM formatting. Because the eBooks bought on the Kindle are delivered over its wireless system called Whispernet, the user does not see the AZW files
during the download process.
The Kindle format is now available on a variety of platforms, such as through the Kindle app for the iPad.
9. Sergio Covelli – Modulo didattico ‘L’ebook’
Editoria digitale e self-publishing – Firenze, 04 Aprile 2013
Microsoft LIT
Format: Microsoft Reader
Published as: .lit
DRM-protected LIT files are only readable in the proprietary Microsoft Reader program, as the .LIT format, otherwise similar to Microsoft’s CHM format, includes Digital Rights
Management features. Other third party readers, such as Lexcycle Stanza, can read unprotected LIT files.
There are also tools such as Convert Lit, which can convert .lit files to HTML files or OEBPS files. Microsoft announced Microsoft Reader will be discontinued on August 30th 2012.
Portable Document Format
Format: Adobe Portable Document Format
Published as: .pdf
A file format created by Adobe Systems, initially to provide a standard form for storing printable documents containing a set of page images. The format derives from PostScript, but
without language features like loops, and with added support for features like compression, passwords and DRM. Because PDF documents can easily be viewed and printed by users
on a variety of computer platforms, they are very common on the World Wide Web.
PDF files are supported on many ebook readers including: Mobipocket, iRex iLiad, iRex DR1000, Sony Reader, Bookeen Cybook, Foxit eSlick, Amazon
Kindle (2, 3, International & DX), Barnes & Noble Nook[21], the iPad, PocketBook Reader, Bebook Neo and the Kobo eReader. Also, pdf files can be read on the iPod Touch using the
free Stanza app. On iPad, there are also many readers such as Stanza, iBook, FlipReader.
Plain text files
Format: text
Published as: .txt
Ebooks in plain text exist. The size in bytes is simply the number of characters, including spaces, and with a new line counting for 1 or 2. For example, the Bible, an 800,000-word
book, is about 4 MB. The ASCII standard allows ASCII-only text files to be interchanged and readable on Unix, Macintosh, Microsoft Windows, DOS, and other systems.
These differ in their preferred line ending convention and their interpretation of values outside the ASCII range (their character encoding). Conversion of files from one to another
line-ending convention is easily possible with free software on most computers.
10. Sergio Covelli – Modulo didattico ‘L’ebook’
Editoria digitale e self-publishing – Firenze, 04 Aprile 2013
TABELLE COMPARATIVE
Formati e caratteristiche
Ext. DRM Images Tables Sound Interact Word wrap
Open
standard
Annota-
tion
Book-
marking
Video
DjVu .djvu ? Sì Sì No No No Sì Sì Sì ?
EPUB (IDPF) .epub Sì Sì Sì Sì Sì Sì Sì Sì/No Sì/No Sì
FictionBook .fb2 No Sì Sì/No No No Sì Sì Sì ? ?
Kindle .azw Sì Sì Sì Sì Sì Sì No Sì Sì Sì
MS Reader .lit Sì Sì ? No No Sì No ? Sì ?
Mobipocket .prc, .mobi Sì Sì Sì No Sì Sì No Sì Sì ?
Plain text .txt No No No No No Sì Sì No No No
PDF .pdf Sì Sì Sì Sì Sì No Sì Sì Sì Sì
11. Sergio Covelli – Modulo didattico ‘L’ebook’
Editoria digitale e self-publishing – Firenze, 04 Aprile 2013
Device e formati supportati
PDF ePub HTML Mobi
Fiction
Book
DjVu
Broad-
band
eReader Kindle KF8
Tome
Raider
Open
eBook
Kindle Sì No Sì Sì No No No No Sì No No No
Kindle Fire Sì Sì Sì Sì No No No No Sì Sì No No
Android
Apple iOS
Sì Sì Sì Sì Sì Sì No Sì Sì No Sì Sì
B&N Nook Sì Sì Sì No No No No Sì No No No No
Bookeen Sì Sì Sì Sì Sì No No No No No No Sì
Iriver Story Sì Sì No No Sì Sì No No No No No No
12. Sergio Covelli – Modulo didattico ‘L’ebook’
Editoria digitale e self-publishing – Firenze, 04 Aprile 2013
ePUB STANDARD, FIXED LAYOUT, READ ALOUD, iBOOKS, ETC... (VEDIAMOLI SU iPAD!)
13. Sergio Covelli – Modulo didattico ‘L’ebook’
Editoria digitale e self-publishing – Firenze, 04 Aprile 2013
LA STRUTTURA DI UN eBOOK FORMATO ePUB
L’ePub è un archivio zippato (ma con estensione .epub) che contiene file e directory,
ciascuno con una specifica funzione.
Ogni elemento è realizzato sulla base di alcuni standard internazionali definiti dall’IDPF
(International Digital Publishing Forum).
Open Publication Structure (OPS / OEBPS)
Definisce le regole di marcatura dei file, le relazioni con gli altri standard (tra cui l’xml,
l’xhtml, l’html5, il css, e i diversi formati di immagine), e quindi le specifiche sintattiche e
semantiche dei diversi tipi di file presenti nel formato.
In una parola, l’OPS è la sintassi dell’ePub.
Open Packaging Format (OPF)
Definisce il modo in cui vengono organizzati e posti in relazione i contenuti e le
componenti dell’ePub, inclusi i metadata (informazioni sulla pubblicazione), l’ordine e la
composizione dei file da leggere, delle immagini e il sommario. Queste informazioni
vengono incluse in un file con estensione .opf.
L’OPF è la guida di riferimento, la bussola dell’ePub.
Open Container Format (OCF)
Definisce la composizione del file con estensione .epub pronto per la lettura. L’OCF stabilisce il modo in cui impacchettare e
comprimere i file e le directory che compongono l’ePub. Descrive, dunque, la composizione dell’archivio.
14. Sergio Covelli – Modulo didattico ‘L’ebook’
Editoria digitale e self-publishing – Firenze, 04 Aprile 2013
I file del pacchetto ebook
ROOT
- mimetype -> il marchio
- content opf -> i metadata, il manifest (tutti i file), lo spine
- toc ncx -> table of contents
CARTELLA META-INF
- container.xml -> il puntatore
- (com.apple.ibooks.display-options.xml) ->
opzionale per iDevices
CARTELLA OEBPS o OPS
- foglio di stile -> formattazione
- file html5, xml, xhtml... -> contenuti
- immagini
- fonts
- video / audio
- smil -> per sincronizzare audio e testo
- etc...
Andiamo a toccare con mouse...
15. Sergio Covelli – Modulo didattico ‘L’ebook’
Editoria digitale e self-publishing – Firenze, 04 Aprile 2013
L'HYPERTEXT MARKUP LANGUAGE
In informatica il “linguaggio a marcatori per ipertesti” è il linguaggio di markup
solitamente usato per i documenti ipertestuali disponibili nel World Wide Web,
ma non solo...
In tali documenti, un tratto di testo può essere contrassegnato inserendo delle
etichette, tag, che ne possono descrivere tra le altre cose la funzione, il colore, le
dimensioni, il link o altre caratteristiche.
L'HTML non è un linguaggio di programmazione (in quanto non prevede alcuna
definizione di variabili, strutture dati, funzioni, strutture di controllo), ma
solamente un linguaggio di markup che descrive le modalità di:
impaginazione
formattazione (dal ’96 sconsigliata...)
visualizzazione grafica (il cosiddetto layout)
del contenuto, testuale e non, di una pagina solitamente letta da ‘browser’ attraverso tag di formattazione.
16. Sergio Covelli – Modulo didattico ‘L’ebook’
Editoria digitale e self-publishing – Firenze, 04 Aprile 2013
I CASCADING STYLE SHEETS
Il CSS (o foglio di stile) è un linguaggio usato per definire la formattazione di
documenti HTML, XHTML e XML.
L'introduzione del CSS (1996) si è resa necessaria per
separare i contenuti dalla formattazione
permettere una programmazione più chiara e facile da utilizzare (sia per
gli autori delle pagine HTML che per gli utenti).
Il codice è esterno alle pagine e richiamato da un tag link:
<html>
<head>
<title>Esempio</title>
<link rel="stylesheet" type="text/css" href="foglio_di_stile.css"/>
</head>
Andiamo a toccare con mouse...
17. Sergio Covelli – Modulo didattico ‘L’ebook’
Editoria digitale e self-publishing – Firenze, 04 Aprile 2013
SOFTWARE PER IMPAGINARE, PRINCIPI BASE PER ePUB ACCETTABILI...
I fase: a caval donato non si guarda in bocca...
Open Office o LibreOffice con Writer2ePub plugin (da ODT a ePub fatto male)
Calibre (dal PDF all’ePub fatto male)
II fase: “basta poco, che ce vo’?”
Sigil (da ePub fatto male a ePub fatto benino)
Per molti, ma non per tutti...
Adobe Acrobat Pro (dal PDF all’XML o all’HTML)
Adobe InDesign (con plugin per ePub)
HTML Editor NON wysiwyg (necessario, ma per esperti...)
Anche in questo caso andiamo a toccare con mouse...
18. Sergio Covelli – Modulo didattico ‘L’ebook’
Editoria digitale e self-publishing – Firenze, 04 Aprile 2013
COME MODIFICARE UN FILE IN FORMATO ePUB E VALIDARLO
Supponiamo di avere il nostro ebook modificato e finito...
Non resta che zippare la cartella e cambiare l’estensione del file .zip in .epub, ma bisogna ricordarsi due regole fondamentali:
1. bisogna seguire questo ordine: mimetype, cartella META-INF, cartella OEBPS
2. il file mimetype va archiviato senza essere compresso.
E infine il file va VALIDATO! Come?
Online da:
http://validator.idpf.org
http://www.epubconversion.com/ePub-validator-iBook.jsp
oppure con programmi come:
FligthCrew -> http://code.google.com/p/flightcrew
ePubCheck -> http://code.google.com/p/epubcheck/downloads/list
ePub Validator -> http://www.ebook-tool.com/epub-validator.htm
19. Sergio Covelli – Modulo didattico ‘L’ebook’
Editoria digitale e self-publishing – Firenze, 04 Aprile 2013
PROGRAMMI UTILI
NECESSARI:
LibreOffice: http://it.libreoffice.org/
...oppure OpenOffice: http://www.openoffice.org/it/
Adobe Reader (Acrobat Professional sarebbe meglio ma non è freeware...): http://get.adobe.com/it/reader
Editor HTML / CSS (uno a scelta tra i freeware): http://goo.gl/54YQA
WinZip / WinRar (uno a scelta tra i freeware): http://goo.gl/0CAcQ
PER CONVERTIRE:
Writer2ePub: http://lukesblog.it/ebooks/ebook-tools/writer2epub
Calibre: http://calibre-ebook.com/download
Sigil: http://code.google.com/p/sigil/downloads/list
Adobe Buzzword (servizio online, non è freeware...): http://www.adobe.com/uk/acom/buzzword
20. Sergio Covelli – Modulo didattico ‘L’ebook’
Editoria digitale e self-publishing – Firenze, 04 Aprile 2013
EMULATORI DI eREADER:
Adobe Digital Editions: http://www.adobe.com/it/products/digital-editions.html
Kindle Previewer: http://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000765261
Kindle per PC / Mac: http://www.amazon.it/gp/feature.html/ref=sv_kinc_1?ie=UTF8&docId=1000576423
Plugin per Mozilla Firefox: https://addons.mozilla.org/it/firefox/addon/epubreader
VALIDATORI:
ePubValidator: http://www.ebook-tool.com/epub-validator.htm
FightCrew: http://code.google.com/p/flightcrew/downloads/list
Validatore IDPF (servizio online): http://validator.idpf.org
DA ePub A MOBI:
KindleGen: http://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000765211
ConvertFiles (servizio online): http://www.convertfiles.com/convert/ebook/EPUB-to-MOBI.html
ePub2Mobi (servizio online): http://www.epub2mobi.com
21. Sergio Covelli – Modulo didattico ‘L’ebook’
Editoria digitale e self-publishing – Firenze, 04 Aprile 2013
IL PARERE DI UN SELF-PUBLISHER (ebbene sì, sono sempre io)...
Il self-publisher che non è in grado di realizzare in formato ebook la propria opera
dovrebbe cercare aiuto in professionisti che offrono i loro servizi in modo da
concentrarsi sullo ‘scrivere’ e non sul ‘convertire’.
È vero che in questo caso si accollerebbe delle spese, ma d'altra parte chi sia serio nel
proprio tentativo di diffondere la propria opera ha il dovere di farsi carico del lavoro
necessario per migliorarla.
...e con questa ho finito :-)
22. Sergio Covelli – Modulo didattico ‘L’ebook’
Editoria digitale e self-publishing – Firenze, 04 Aprile 2013
Grazie!
Domande?
Sergio Covelli
web: www.epubmatic.com
twitter: @sergiocovelli
Documento soggetto a copyright Creative Commons - Attribuzione Non commerciale - Non opere derivate - 3.0 Unported License.