從OeBF到IDPF - Institute of Astronomy & Astrophysics

Download Report

Transcript 從OeBF到IDPF - Institute of Astronomy & Astrophysics

從OeBF到IDPF
課程名稱:資訊組織研究
授課教師:張迺貞教授
組
員:第2組
097153104 邱亦秀
097153114 劉惠珍(報告人)
097153118 陳瑩
報告日期:97年11月29日
1
大綱
組織演變
 標準演變
 OeBPS(舊)

OeBPS的角色
 OeBPS
 OeBPS Package 1
 OeBPS結構與樣式
 OeBF Document
 格式範例

Epub
定義
 用法
 Specifications規範
 OPS 結構與樣式
 OPF
 OCF
 .epub結構圖


電子書實例
 科技思維
 參考文獻

2
組織演變 1
OeBF Open eBook Forum(簡稱OeBF)



是一個居於電子書產業領導地位的國際性商業與標準組織,為
了使電子書能夠成功的開拓市場,並便於閱讀系統(Reading
System)之間的資料互通,制定OeBPS(Open eBook
Publication Structure),以作為電子書內容描述的標準。
該組織成員包括:軟、硬體公司、出版商、作者、電子書的讀
者、以及與電子出版相關組織等等,目前如Adobe、IBM、
Microsoft 等軟體公司;McGraw Hill、IDG 等出版業都已加入。
目的


探討電子書相關議題與技術。
並致力於發展、出版與維護電子書共通規格,以達成系統業者協調合作,
消弭彼此間之差異。
網址: International Digital Publishing Forum (formerly Open eBook Forum)
3
組織演變 2
IDPF

目前OeBF已進一步改名為 International Digital
Publishing Forum(簡稱IDPF)
 將促進和推動發展的電子出版應用軟件和產品,將有
利於創造的內容,決策者閱讀系統和消費者的需求。
 IDPF歡迎的圖書,雜誌,期刊和報紙出版商,書店,
軟件開發商,作者和其他團體感興趣的數位閱讀加入。
(會員)
 原來的OeBFS 標準也進一步分為三Open Packaging
Format (OPF)、Open Publication Structure(OPS)
及OpenContainer Format(OCF),這是已被國際普
遍接受的標準,若要進入國際市場,電子書應符合
OPS 及OCF 標準。
4
標準演變
發布歷史

2007年9月





Open Publication Structure (OPS) 2.0.發布,取代了OEBPS 1.2 ;
另規範Open Publication Structure Format(OPF) 2.0
2006年10月Open Container Format (OCF)1.0
2002年8月-推薦OEBPS 1 .2規範發布
2001年6月-OEBPS 1.0.1取代OEBPS1.0
1999年9月-Open eBook Publication Structur(OEBPS) 1.0
發布
參考網址:http://en.wikipedia.org/wiki/Open_eBook
http://www.idpf.org/specs.htm
5
OeBPS(舊)
OeBPS Open eBook Publication Structure

是定義用於出版商(Publishers)與電子書閱讀系統(eBook
Reader Systems)間的標準電子書交換格式。出版商對其
出版的書籍內容只要轉換成OeBPS標準格式後,使用支
援該格式的電子書閱讀軟體、閱讀機便可顯示出書本內容。

用來敘述電子書的內容結構。最新版本為2002 年所公布
的1.2 版,為了便利敘述與資料交換,運用現有技術標準,
加以整合應用的產物,這些技術包括:HTML、XML、都
柏林核心集(Dublin Core)等,而任何電子出版品只要
依據OeBPS 中所規定的規格來製作,便稱為一OEB 文件。
6
OeBPS的角色(舊)
•OeBF package
•OeBF Document
•CSS File
圖 OeB電子書製作系統
7
OeBPS (舊)

OeBPS文件在內容上,主要包含三大部份:
以出版品規格(Dublin Core)
 文件結構標示(HTML/XML)
 文件的呈現樣式(CSS)。

8
OeBPS (舊)
一、出版品規格
(1) OeBPS 1.2標準,凡是符合OEBPS 規格的出
版品,必須包含一份描述出版品組成的文件、
影像、其他物件,以及彼此之間如何相關的包
裹檔(OeBPS Package file)。
(2) OeBPS 包裹檔的附檔名為 .opf,語法為XML,
MIME Type 為 “text/xml”。
(3) OeBPS Package包裹檔主要包含以下部分:
9
OeBPS Package 1 (舊)
a. Package Identity(包裹代號):包裹檔文件必須符
合valid XML (確證)要求,並以package 做為根元
素OeBPS出版品的唯一識別號。
b. Metadata(詮釋資料):出版品的詮釋資料,主要
是由都柏林核心集(Dublin Core)的十五個元素
組合而成,分別描述了出版品名稱、作者、主題
等資訊。包含了
(a) dc-metadata:Dublin Core 欄位
(b) x-metadata:其他補充metadata
c. Manifest(文件列表):組成該出版品的文件
(OeBPS 文件檔、圖檔、樣式表等)
10
OeBPS Package 2 (舊)
d. Spine(閱覽順序):提供已編排過的主要線性
閱讀指引資訊。
e. Tours(導讀):提供的其他閱讀順序,例如針對
不同的閱讀目的或不同的閱讀族群等不同需求
選擇適合的閱讀指引資訊。
f. Guide(指南):出版品結構參考資訊,如目次、
前言、書目資料。
11
OeBPS Package 3 (舊)
由圖可以更清礎的看出OeBF 封裝架構:
12
OeBPS 結構與樣式(舊)
二、文件結構標示

基本OeBPS 全文標示詞彙(document
vocabulary):
 包含的元素與屬性摘自XHTML
1.1
(源於 HTML 4.01)
三、文件呈現樣式(Style sheets)

OeBPS 樣式表,是依照CSS語法,搭配額外
的呈現樣式,才能做出文件的外觀變化。例如:
文件段落間隙、字型選用、文字顏色、大小、
框線粗細、超連結樣式等。
13
OeBF Package file (舊)
<?xml version="1.0"?>
<!DOCTYPE package PUBLIC "+//ISBN 0-9673008-1-9//DTD OEB 1.0 Package//EN” "oebpkg1.dtd">
<package unique-identifier="oeb10testsuite">
<metadata>
<dc-metadata xmlns:dc=http://purl.org/dc/elements/1.0/
xmlns:oebpackage="http://openebook.org/namespaces/oeb-package/1.0/">
<dc:Identifier id="oeb10testsuite“ scheme="ISBN"> 123456789X </dc:Identifier>
…
<dc:Language>en</dc:Language>
</dc-metadata>
</metadata>
Identity &
Metadata
<mainfest>
<!-- OEB Documents-->
<item id="foreword" href="foreword.html" media-type="text/x-oeb1-document" />
<item id="headings" href="headings.html" media-type="text/x-oeb1-document" />
…
</manifest>
<spine>
<itemref idref="title" />
<itemref idref="toc" />
<itemref idref="foreword" />
<itemref idref="headings" />
</spine>
<tours>
<tour id="alphatour" title="Alphabetical Tour of Element">
<site title="Element &lt;a&gt;" href="links.html#a" />
<site title="Element &lt;area&gt;" href="images.html#area" />
<site title="Element &lt;b&gt;" href="inline.html#b" />
…
</tour>
</tours>
<guide>
<reference type="toc" title="Table of Contents" href="toc.html" />
<reference type="foreword" title="Foreword" href="foreword.html" />
</guide>
</package>
Manifest
Spine
Tours
14
OeBF Document (舊)
OeB Document 檔案同樣也是以XML 敘述
為OeB 電子書主要書籍文字內容,使用標
記方式(Tag)來增加電子書本文的結構與排
版資訊(Formatting Information)。
 OeB Document 所用的標記大都是HTML
4.0 的子集,而且也允許自訂標記(Custom
tag sets)也能使用,故可想像 OeB
Document 內容大概像HTML 網頁的內容結
構類似。

15
OeBF Document (舊)
<?xml version='1.0'?>
<!DOCTYPE html PUBLIC "+//ISBN 0-9673008-1-9//DTD OEB 1.0 Document//EN"
"oebdoc1.dtd">
<html>
<head>
<title>Inline Test</title>
<meta name="keywords" content="image png" />
<meta name="author" content="Garret Wilson" />
</head>
<body>
<h1>Test of Image Elements</h1>
<hr />
<h2><a name="img">&lt;img /&gt; with .png</a></h2>
<p>The following is an image of the Mandelbrot Set with no border. </p>
<img src="mandelbrot_set.png" align="left" alt="Mandelbrot Set." width="320“
height="240" />
<p><a name="map">Click on a region of the image to test the client-side image
mapping and to see a magnification of that area of the Mandelbrot Set.</a></p>
</body>
</html>
16
格式範例(舊)

電子書詮釋資料格式(eBook Metadata Format)
http://km.cca.gov.tw/download/rule/pdf/31電子書_v10.pdf

附件1 OeBPS包裹檔的元素與屬性結構


完整OeBPS包裹檔範例
附件2 基本OeBPS全文標示詞彙
17
Epub 1
定義

發表 epub 。epub或OEBPS格式是一個電子書開放的標準,為國際數
字出版論壇(IDPF)所建立。其前身為The Open eBook Publication
Structure 或‘OEB ’ ,最初於1999年發布,推出了用來表示電子圖書
的內容、結構的一種開放性規範,旨在統一電子書的格式和提升電子
書的相容性。 它是植基於XHTML和XML的同時可選樣式表。

它結合了三個IDPF開放標準:
 Open Publication Structure (OPS) 2.0,內容的描述標記(無論是
XHTML or Daisy DTBook)
 Open Packaging Format (OPF) 2.0,epub在XML描述的結構。
 OEBPS Container Format (OCF) 1.0,該文件捆綁在一起(作為一
個改名為zip檔案)
18
http://www.idf.org
Epub 2
用法
 ePub的意圖是既作為一個文件格式資源和最終用戶的格
式。基於這個原因,檔案收集到一個容器(container),便
於傳播和使用。這種container通常是一個壓縮文件,但擴
展已被重新命名為”.epub”。



目前,該格式可以由Adobe Digital Editions、 Lexcycle
Stanza、 BookGlutton和Mozilla Firefox的插件OpenBerg
讀卡器讀取。
其他幾個閱讀器軟件程式目前得以實現的格式,如
dotReader、 FBReader、Mobipocket和Okular。
截至2008年7月23日,一個更新的索尼閱讀器將允許閱讀
epub文件。在2008年BookGlutton發布了免費的HTML到
EPUB轉換器。
http://www.idf.org
19
Epub 3
Specifications規範
http://www.idpf.org/specs.htm
該論壇網址定義了一些規範參照

Open Publication Structure (OPS) 2.0 v0.9871.0


Open Packaging Format (OPF) 2.0 v0.9871.0


Recommended Specification July 11, 2007September 11, 2007
Recommended Specification July 11, 2007September 11, 2007
OEBPS Container Format (OCF) 1.0
20
OPS

The Open Publication Structure (OPS)規範描述了一個標準,
表現電子出版物的內容。

Open Publication Structure(OPS),該標準制定了開放式電子
書的內容結構,由於OPS標準遵循XML和XHTML規範,因此
它對跨平台閱讀的實現成為一種可能。

具體來說:



該規範是為了使內容提供商(例如出版者,作者,和其他人內容的顯
示相關者)和出版工具供應商,最小和共同準則,以確保高保真性,
準確性,可及性(無障礙環境),並充分陳述涵蓋在各種電子閱讀系統
的內容。
該規範旨在反映既定內容格式標準。
這個規範的目標是確定一個標準的手段,內容描述利用電子書的傳播
者(出版商,代理商,作者等)。允許這樣的內容將提供給多種閱讀
21
系統,並透過閱讀系統確保同等的最高呈現。
OPS Relationship 1
結合和應用的其他規格 以作為交換電子文件(1.3)













Extensible Markup Language (XML) 1.1 (Second Edition) specification
(http://www.w3.org/TR/xml11/); and
Namespaces in XML 1.0 (Second Edition) specification (http://www.w3.org/TR/xmlnames11/); and
Document Object Model (Core) Level 1 (http://www.w3.org/TR/REC-DOM-Level-1/level-onecore.html); and
XML Pointer Framework (http://www.w3.org/TR/2003/REC-xptr-framework-20030325/); and
XHTML™ 1.1 - Module-based XHTML - Second Edition specification
(http://www.w3.org/TR/xhtml11/); and
Specifications for the Digital Talking Book (DTB)
(http://www.niso.org/standards/resources/Z39-86-2005.html); and
Scalable Vector Graphics (SVG) 1.1 Specification (http://www.w3.org/TR/SVG11/); and
Cascading Style Sheets, level 2 specification (http://www.w3.org/TR/REC-CSS2); and
Unicode Standard, Version 4.0. Reading, Mass.: Addison-Wesley, 2003, as updated from
time to time by the publication of new versions. (See
http://www.unicode.org/unicode/standard/versions for the latest version and additional
information on versions of the standard and of the Unicode Character Database).; and
Particular MIME media types (http://www.ietf.org/rfc/rfc4288.txt and
http://www.iana.org/assignments/media-types/index.html); and
Associating Style Sheets with XML Documents (http://www.w3.org/TR/xml-stylesheet); and
Web Content Accessibility Guidelines 1.0 (http://www.w3.org/TR/WCAG10/); and
RFC 2119: Key words for use in RFCs to Indicate Requirement Levels.
(http://www.ietf.org/rfc/rfc2119.txt); and



The OPF specification (http://www.idpf.org/opf/opf2.0/download/); and
Namespace-based Validation Dispatching Language (NVDL)
(http://standards.iso.org/ittf/PubliclyAvailableStandards/c038615_ISO_IEC_19757-
22
OPS Relationship 2
OPS規範關係(1.3)、一致性(1.4)、擴充性(1.5)、可及性(1.6)、未來方向
(1.7)提供了內容呈現模式。
OPS與其他規範的關係性(幾個重點規範)
http://www.idpf.org/2007/ops/OPS_2.0_final_spec.html#Section1.3








1.3.1: Relationship to XML
1.3.2: Relationship to XML Namespaces
1.3.3: Relationship to NVDL
1.3.4: Relationship to XHTML and DTBook
1.3.5: Relationship to CSS
1.3.6: Relationship to Unicode
1.3.7: MIME Media Types
1.3.8: XML Style Sheet Processing Instruction
23
Ops網址 http://www.idpf.org/2007/ops/OPS_2.0_final_spec.html
OPS Relationship 3


XML

閱讀系統必須是XML處理器中所界定的XML 1.1。所有
OPS文件內容必須是有效驗證-根據各自架構的XML文件。

XML (參考)
XML命名空間

XML命名空間推薦在http://www.w3.org/TR/xml-names11/
OPS命名空間是用來在文件中必須明確宣布
http://www.idpf.org/2007 /ops

(例:


<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ops="
http://www.idpf.org/2007/ops"> )
NVDL


NVDL允許在XML schema之間的互動和驗證。
見附錄A
http://www.idpf.org/2007/ops/OPS_2.0_final_spec.html#AppendixA
24
OPS Relationship 4

XHTML和DTBook



CSS



為了幫助讀系統在執行一致的搜索和排序的行為是需要的Unicode規範化表格
C(NFC)使用(見http://www.w3.org/TR/charmod-norm/ )。
MIME媒體類型



CSS 2 .0樣式表
CSS (參考)
Unicode


納入某些的XHTML 1.1文件類型模組和DTBook作為首選詞彙。
XHTML and DTBook (參考)
定義OPS核心媒體類型清單,可能包括其他媒體類型的資源,每個這種資源必
須包括替代OPS核心媒體類型資源的方法定義本規範或是OPF specification。
http://www.idpf.org/2007/ops/OPS_2.0_final_spec.html#Section1.3.7
XML樣式表處理指令

支持XML樣式表處理指令xml-stylesheet(XML的樣式) ,所界定的W3C推薦標
準“XML文件與締樣式表” ( http://www.w3.org/TR/xml-stylesheet ) 。這是
處理指令XML文件放置在Prolog語言(邏輯編程語言程式) 。
25
OPS other
OPS一致性
 1.4: Conformance

1.4章節確定為OPS內容的文件和閱讀系統的一致性。

關鍵字“必須”、“絕不能”、“要求”、“應 ”、“不得”、“應
該”,“建議”、“可能”、和“任擇” (“must”, “must not”,
“required”, “shall”, “shall not”, “should”, “recommended”, “may”,
and “optional”)此文件在 RFC 2119描述必須被解釋 。

http://www.idpf.org/2007/ops/OPS_2.0_final_spec.html#Secti
on1.4

OPS延伸性
 1.5: Extensibility
OPS可及性
 1.6: Accessibility
未來指引
 1.7: Future Directions
26
OPS Preferred Vocabulary
2.0: OPS Content Document Vocabularies

2.1: Introduction

2.2: XHTML Modules in the OPS Preferred Vocabulary

2.2.1: Required Modules

2.3: Certain Element and Attribute Semantic Differences From, and Restrictions Beyond,
XHTML 1.1

2.3.1: General Comments on URI References

2.3.2: body Element

2.3.3: cite Attribute

2.3.4: img Element

2.3.5: link Element

2.3.6: object and param Elements

2.3.7: script and noscript Elements

2.3.8: type attribute of the style element

2.3.9: Value of align attribute

2.4: DTBook Preferred Vocabulary

2.4.1: Introduction

2.4.2: DTBook Usage Requirements

2.4.2.1: Exceptions to Section 4 of the DAISY/NISO Standard

2.5: SVG

2.5.1: General Notes on SVG Usage

2.5.2: SVG’s Use as a Standalone Image File

2.5.3: Mixing SVG and XHTML Mark-up in the Same Document
27
OPS Preferred Vocabulary


























2.6: XML Islands
2.6.1: Introduction to XML Islands
2.6.1.1: Use Cases
2.6.1.2: Display Guidelines
2.6.2: Out-of-Line XML Islands
2.6.2.1: Document Requirements
2.6.2.2: Fallback Requirements
2.6.2.3: Linking Requirements
2.6.2.3.1: Document-Level Links
2.6.2.3.2: Fragment Links
2.6.3: Inline XML Islands
2.6.3.1: The switch Element and Contained Elements
2.6.3.1.1: switch Element
2.6.3.1.2: case Element
2.6.3.1.2.1: required-namespace Attribute
2.6.3.1.2.2: required-modules attribute
2.6.3.1.3: default Element
2.6.3.2: Processing Inline XML Islands
2.6.3.3: Displaying Inline XML Islands
2.6.3.3.1: Advanced Display Semantics
2.6.3.3.2: Styling of Islands
2.6.3.4: Linking Considerations
2.6.3.4.1: Linking to switch Elements
2.6.3.4.2: Broken Links
2.6.3.5: NCX Requirements
2.7: Rendering of Documents on Reading Systems
28
OPS Preferred Vocabulary
OPS推薦詞彙幾個重點

要求所有符合閱讀系統支持XHTML 1.1 Module




2.2.1
http://www.w3.org/TR/xhtml-modularization
OPS新增DAISY DTBook文件類型詞彙
某些元素和屬性語義的差異超出XHTML 1.1限制

在2.3.1~2.3.9有規範

見 http://www.niso.org/standards/resources/Z39-862005.html
29
OPS Style Sheets
3.0: OPS Style Sheets
 3.1: Selectors
 3.2: Value Types
 3.2.1: URI Values
 3.2.2: Integers and Real Numbers
 3.2.3: Length
 3.2.4: Percentages
 3.2.5: Color
 3.2.6: Time
 3.2.7: Frequency
 3.2.8: Strings
 3.3: Properties
 3.4: Embedded Fonts
30
OPF

The Open Packaging Format (OPF)規範定義了
機制,使各組成部分的一個OPS出版物的綁在一
起,並提供更多的結構和語義的電子出版物。

具體來說,OPF:
描述和參考資料所有組成部分的電子出版物
(如標記文件,圖像,導航結構)
 提供出版級元數據。
 指定的線性閱讀順序出版。
 提供備用信息時要使用不受支持的延伸處就業。
 提供了一種機制來指定一個聲明的目錄(在NCX )。
31
OPF

OPF文檔是epub電子書的核心文件,且是一個標
準的XML文件,依據OPF規範,主要由五個部分
組成:





1、<metadata>,詮釋資料
2、<menifest>,文件列表
3、<spine toc=“ncx”> 閱覽順序
4、<guide>,指南
5、<tour>,導讀[depreated]
32
OPF

1、<metadata>,詮釋資料,由兩個子元素組成:

<dc-metadata>,其元素構成採用dubline core(DC)的15項核心元素,
包括:
<title>:題名
<creator>:責任者
<subject>:主題詞或關鍵詞
<description>:內容描述
<contributor>:貢獻者或其它次要責任者
<date>:日期
<type>:類型
<format>:格式
<identifier>:標識符
<source>:來源
<language>:語種
<relation>:相關信息
<coverage>:履蓋範圍
<rights>:權限描述

<x-metadata>,即擴展元素。如果有些信息在上述元素中無法描述,則
在此元素中進行擴展。
33
OPF

2、<menifest>,文件列表,由於列出OEBPS文
檔及相關的文檔,有一個子元素構成,

<item id="" href="" media-type="">,該元素由三個屬性
構成:
id:表示文件的ID號
href:文件的相對路徑
media-type:文件的媒體類型
例如:<item id="chap01" href="chap01.xhtml" mediatype="application/xhtml+xml"/>
34
OPF

3、<spine toc=“ncx”>,閱覽順序,其主要功能是提供書
籍的線性閱讀次序。由一個子元素構成:

<itemref idref="">,由一個屬性構成:
idref:即參照menifest列出的ID
例如:<itemref idref="chap01"/>

4、<guide>,指南,依次列出電子書的特定頁面,例如封面、
目錄、序言等,屬性值指向文件保存地址。一般情況下,
epub電子書可以不用該元素。

5、<tour>,導讀。可以根據不同的讀者水平或者閱讀目的,
按一定次序,選擇電子書中的部分頁面組成導讀。一般情
況下,epub電子書可以不用該元素。
35
OPF


content.opf實例(1本書呈現文章架構):
<?xml version=“1.0” encoding=“utf-8”?>
<!DOCTYPE package PUBLIC “+//ISBN 978-7-308-05831-5//DTD OEB 1.2 Package//EN”
“http://openebook.org/dtds/oeb-1.2/oebpkg12.dtd”>
<package unique-identifier=“bookid” xmlns:opf=“http://www.idpf.org/2007/opf”
xmlns=“http://www.idpf.org/2007/opf” version=“2.0” >
<metadata>
<dc-metadata xmlns:dc=“http://purl.org/dc/elements/1.1/” xmlns:dcterms=“http://purl.org/dc/terms/”
xmlns:xsi=“http:/ /www.w3.org/2001/XMLSchema-instance”>
<dc:title>數字檔案館理論與技術研究</dc:title>
<dc:creator>金更達</dc:creator>
<dc:subject>數字檔案館</dc:subject>
<dc:subject>電子文件管理</dc:subject>
<dc:subject>元數據</dc:subject>
<dc:subject>數字化</dc:subject>
<dc:subject>檔案化</dc:subject>
<dc:description>當前,我國在諸如有關保障電子文件真實性、完整性和有效性問題、集成管理與集成服務問題
數字信息長期保存等等問題上,尚未從理論上形成有效的解決方案。鑑於此,作者以這些問題為研究對象,對數
字檔案館建設進行了系統、全面、深入的研究和探討。.... </dc:description>
<dc:publisher>機械工業出版社</dc:publisher>
<dc:contributor/>
<dc:date>2007-09</dc:date>
<dc:type>普通圖書</dc:type>
<dc:format>Text/html(.html,.htm)</dc:format>
<dc:identifier id="bookid" opf:scheme="ISBN">isbn:978-7-111-04961-6</dc:identifier>
<dc:source/>
<dc:language>chi</dc:language>
<dc:relation/>
<dc:coverage/>
<dc:rights>機械工業出版社版權所有</dc:rights>
36
</dc-metadata>
OPF
(續前)

<x-metadata/>
</metadata>
<manifest>
<item id=“ncx” href=“toc.ncx” media-type=“application/x-dtbncx+xml”/>
<item id=“style” href=“style.css” media-type=“text/css”/>
<item id=“cover” href=“cover.htm” media-type=“text/html”/>
<item id=“tableofc” href=“toc.xhtml” media-type=“application/xhtml+xml”/>
<item id=“forword” href=“forword.xhtml” media-type=“application/xhtml+xml”/>
<item id=“chap01” href=“chap01.xhtml” media-type=“application/xhtml+xml”/>
<item id=“chap02” href=“chap02.xhtml” media-type=“application/xhtml+xml”/>
<item id=“chap03” href=“chap03.xhtml” media-type=“application/xhtml+xml”/>
.......
<item id="chap10" href="chap10.xhtml" media-type="application/xhtml+xml"/>
<item id="reference" href="reference.xhtml" media-type="application/xhtml+xml"/>
</manifest>
<spine toc="ncx">
<itemref idref="cover"/>
<itemref idref="tableofc"/>
<itemref idref="forword"/>
<itemref idref="chap01"/>
<itemref idref="chap02"/>
<itemref idref="chap03"/>
.............
<itemref idref="chap10"/>
<itemref idref="reference"/>
</spine>
<guide/>
</package>
37
OCF

Open Container Format(OCF),即電子書容器格式,即建
立一個容器,把電子書相關的所有OPS、OPF文檔按規範
要求置入該容器中,最終形成一個單一的文檔——epub文
檔。

OCF規範遵循ZIP壓縮技術,即epub電子書本身就是一個
ZIP文件,我們將epub格式電子書的後綴.epub修改為.zip
後,可以通過解壓縮軟件(例如winrar、winzip)進行瀏
覽或解壓處理。一個未經加密處理的epub電子書以三個部
分組成,其文件結構如下所示:
38
OCF

1、文件:mimetype
每一本epub電子書均包含一個名為mimetype的文件,且內容不變,用以
說明epub的文件格式。文件內容如下:
“ application/epub+zip //註釋,表示可以用epub工具和ZIP工具打開

2、目錄:META-INF
依據OCF規範,META-INF用於存放容器信息,默認情況下(即加密處
理),該目錄包含一個文件,即container.xml,文件內容如下:
<?xml version='1.0' encoding='utf-8'?>
<container xmlns="urn:oasis:names:tc:opendocument:xmlns:container"
version="1.0">
<rootfiles>
<rootfile full-path="OEBPS/content.opf" media-type="application/oebpspackage+xml" />
</rootfiles>
</container>
39
OCF
(續前)
container.xml的主要功能用於告訴閱讀器,電子書的根文件(rootfile)
的路徑和打開方式,一般來講,該container.xml文件也不需要作任何
修改,除非你改變了根文件的路徑和文件名稱。
除container.xml文件之外,OCF還規定了以下幾個文件:
(1)[manifest.xml],文件列表
(2)[metadata.xml],元數據
(3)[signatures.xml],數字簽名
(4)[encryption.xml],加密
(5)[rights.xml],權限管理
對於epub電子書而言,這些文件都是可選的。
•
3、目錄:OEBPS
OEBPS目錄用於存放OPS文檔、OPF文檔、CSS文檔、NCX文檔,
如果是製作中文電子書,則還包括ttf文檔(即字體文檔),OEBPS目
錄也可以建立相應的子目錄,例如建立chapter目錄,把各章節的
OPS文檔放在chapter目錄之中。
40
OCF
ePub閱讀器應該能閱讀包含其
壓縮格式的內容。 OCF它有特
殊的要求,其中包括解壓縮文
件mime類型(而整個的文件數
據是被壓縮)。
“MIME媒體類型”提供了
一個標準的方法,指定物
件內容類型。
( http://www.isi.edu/innotes/rfc2045.txt )。
41
.epub結構圖
下載
META-INF
用於存放容器信息
並引導閱讀器
路徑和打開方式
zip解壓
使用各式
電子閱讀器
閱讀
內含三部份
1.META-INF目錄
2.OEBPS目錄
3.mimetype的文件
電子書
1.章節內容/架構
2.ccs樣式
3.img
42
使用電子書的方式

通常現階段使用有:
需要特定的閱讀軟體,如Adobe Acrobat……
等軟體工具。
 下載至相關資訊通訊設備上,如:PDA、掌上
型電腦(Palm)、電子閱讀機等各種資訊裝置。

43
Readers

3.1 Software







Adobe Digital Editions
Calibre
Stanza http://www.lexcycle.com/
OpenBerg Lector
FBReader
Bookworm
3.2 Hardware


Sony Reader PRS-505 - Among other things, the
V1.1 (Jul'08) firmware update added ePub support to
the 505.
Sony Reader PRS-700
44
ePub Creation software
( ePub創作軟件)
Calibre
 Adobe InDesign
 Stanza
 OpenBerg Rector
 ePUB check tool
 Convert uploads to ePUB
 Web2FB2
 Python converter
 DAISY Pipeline

45
常見電子書種類
「世界電子書展」網站
(http://www.worldebookfair.com)


虛擬世界裏亦有另一個書展
是次書展乃「古騰堡計劃」一部分,據該計劃創
始人Michael Hart透露,這活動以後將每年至少搞
一次,並且逐年增加書種,到了2009年,可供免
費下載的書量將多達一百萬冊﹔到了2020年,則
以兩百萬冊為目標。
46
常見電子書種類
•國際數位出版論壇的很多成員
(會員)正在生產「.epub」標
準的電子圖書,比如閱讀設備軟
硬體商電子出版品商、電子書商
器、網路書店














•ePub Books BLOG
http://www.epubbooks.com/














ePub Digital Readers
Sony Reader PRS-700
Sony Reader PRS-505
BeBook eBook Reader
Apple iPhone (Using Stanza)
eBook Stores (No ePub)
eBooks.com
Fictionwise.com
eReader.com
Create ePub Books
Adobe inDesign CS3
Button Glutton
ePub Software
Adobe Digital Editions
Stanza eBook Reader
Bookworm Reader
FBReader
Mobipocket
Paper Book Stores
Books-A-Million
Wiley Books
Biblio Book Search
Amazon
Other
Poetry.com Contest
Calendars.com
Babylon.com Translation
ECTACO Translators
47
ePub Books online
http://www.epubbooks.com/
e-pubooks為International
Digital Publishing Forum
(IDPF),出版貿易團體
線上電子書,這個出版論
壇所支持的格式,稱為
Epub,支持 Epub 的出版
商包括 Simon & Schuster,
Penguin Group,
HarperMedia, Hachette
Book Group, HarperMedia
與 Harlequin Enterprises
Ltd。
48
adobe digital editions 1

adobe digital editions是一款電子書閱讀、管理工
具,支持PDF和epub格式的電子圖書,其中epub
格式是由International Digital Publishing Forum
(IDPF,http://www.idpf.org)推出的電子書格式。
目前adobe digital editions對英文電子書的支持較
好,中文電子書則需要加載中文字體,方可閱讀。
下載地址:
http://www.adobe.com/products/digitaleditions/
49
adobe digital editions 2
頁面直接安裝下載軟體
電子書介面
50
http://www.adobe.com/products/digitaleditions/library/
sony ebook library 1


sony電子書管理閱讀工具是針對sony專用電子
書閱讀器而開發的一款電子書管理與閱讀工具,
早期的版本支持lrf、lrx、pdf、txt、html、doc、
rtf等格式。最近,sony發布了新版本,支持由國
際數字出版論支發布的電子書標準:epub格式,
sony505專用閱讀器已支持該格式。
 Sony Reader (PRS-505)
 Made by: Sony
 Released: October 2007
 Predecessor: Sony Reader PRS-500
 Languages Supported: English
 File Types Supported: PDF, TXT, RTF, LRF,
LRX , epub , MP3, AAC, JPG, GIF, PNG,
BMP
下載地址:
http://download.sony.com/prs/ebooklibrary/2.2.
00.18100/eBook%20Library%20Installer.exe
51
http://wiki.mobileread.com/wiki/PRS505
sony ebook library 2

Sony Reader (PRS-700)





sony公司208.10.02推出第三代電子書
PRS-700(首創內建首見LED閱讀燈和最
時興的觸控式螢幕,手指或觸控筆輸入
文字。
有以「電子墨水」構成的六吋電子紙顯
示面板螢幕,在淡灰色的背景上呈現深
灰色的文本。
PRS-700本身重約0.28公斤,大小如口
袋書,附一枝筆,就像我們現在讀書一
樣,可以用來在內文底下畫線備忘,或
寫眉批,做注解。記憶體可容350本書,
記憶卡能裝更多。
PRS-700必須經由電腦來下載。
Media支援
PDF, TXT, RTF, DOC, FB2, LRF, , ePub,
JPG, GIF, PNG, BMP, MP3, AAC w/o
DRM
52
http://en.wikipedia.org/wiki/Sony_Reader
iRex iLiad



iRex iLiad,除可以流覽電子書、報、刊
外,用戶可採RSS同步傳遞網頁更新
Blog或新聞資訊內容或可以透過Wi-Fi無
線技術讀自己的文檔等,它還支持手寫
輸入和畫板。亦可透過語音軟體,還可
把書裡的內容念出來。記憶體方面,內
置的存儲卡標準配置為256M,最大可擴
展為8G。
讀者可以透過
www.ereaderoutfitters.com下載電子書,
這是一個類似於iTunes的下載網站,提
供公版圖書以及授權的新書。
OEB format (css and tables are not
supported).
http://www.ereaderoutfitters.com/
照片來源:iRex
53
iPhone / iPod touch

成為最夯的電子書閱讀器?
根據富比士雜誌(Forbes)的
報導,iPhone / iPod touch 已
經超越了 Amazon Kindle,成
為最受歡迎的電子書閱讀器,
iPhone / iPod touch 使用者下
載 Stanza 這個電子書閱讀軟
體的數量(395,000 並增加
中),跟 Amazon Kindle 的
售出數量(380,000 增加中)
- http://macdailynews.com/index.
php/weblog/comments/18656/
54
Polymer Vision Readius


2008年1月,荷蘭Polymer
Vision公司推出一款顯示幕可
折疊的手機。「Readius」手
機配置了電子紙顯示幕,能
夠顯示黑白文本和圖像。
可以捲起來帶走的 Readius
「手機書」 的主要概念就是
3.5G 上網(HSDPA / 三頻
GSM)的電子書, 還可以當
手機用,除了打電話、接電
話之外,還可以收發簡訊。
但終究 Readius 的主要目的
還是電子書,就這點來說它
除了從網路直接訂閱 Readius
自已的入口提供的 RSS、報
紙、雜誌、Podcast 等之外,
也可以透過藍芽和 microSD
傳輸 HTML、純文字、PDF
等進去 Readius 裡。
55
http://chinese.engadget.com/2008/02/15/hands-on-withpolymer-visions-e-ink-readiu/
科技思維

一個科技的產生除了帶給人們便利與進步之外,
其實也改變了一些人們的習慣,這些衍生出可再
思考及討論的空間,就留給大家再追尋更新的答
案。

1.取代紙本書:
2.出版商心態:
3.閱讀的習慣:
4.平台多樣化:
5.圖書館的服務:
6.著作權問題:





56
參考文獻







IDPF http://www.idpf.org/about.htm
EPUB http://wiki.mobileread.com/wiki/EPUB
Open eBook http://en.wikipedia.org/wiki/Open_eBook
Specifications
http://www.idpf.org/specs.htm
OeBF International Digital Publishing Forum (formerly Open
eBook Forum) http://www.openebook.org/
ePub Books BLOG http://www.epubbooks.com/
adobe
http://www.adobe.com/products/digitaleditions/
http://www.adobe.com/products/digitaleditions/library
57
參考文獻






sony
http://en.wikipedia.org/wiki/Sony_Reader
iRex iLiad
http://www.ereaderoutfitters.com/
Apple iPhone becomes #1 digital book reader
http://macdailynews.com/index.php/weblog/comments/18656
許政穆,“電子書標準之介紹”
http://www.lib.nccu.edu.tw/elib/meet18/meet18_proceedings.p
df。
全球電子書組織發展現況 程蘊嘉 (20080312)
http://www.apexi.com.tw/news/news.html
國外主流電子書閱讀器報告
http://blog.udn.com/jason080/1862298
58