More Related Content Similar to 2014.07.02 EDUPUB技術の日本への適用 (11) More from Japan Electronic Publishing Association (20) 2014.07.02 EDUPUB技術の日本への適用5. 仕様書および検討中の案
• Widgets
– 全体像
– http://goo.gl/7RKq2I
• EPUB Widget Packaging and Integration
– ほとんど完成している
– http://goo.gl/GI17rG
• EPUB Widget Communication
– まだこれから
– http://goo.gl/aPlPzJ
2014/7/2 5EDUPUB報告会3
11. 通信
• 通信機構
• 状態管理
• イベント処理
• 組み立て
• Domain local storage
• ドメインごとのローカル記憶
• アクセシビリティ
• 表示とレイアウト制御
2014/7/2 11EDUPUB報告会3
12. 通信機構
• HTML5 Web MessagingのpostMessageを使う
• IDPF ePub Widget Framework(オープンソース
実装)
https://github.com/IDPF/widgets/tree/master
/CommunicationAPI
2014/7/2 12EDUPUB報告会3
15. 仕様書
• 仕様書 Open Annotation in EPUB
http://www.idpf.org/epub/oa/
• 要求仕様 EPUB annotations - use cases
http://goo.gl/dEvSLg
• W3CのOpen Annotation Data
Model(Community Draft)
http://www.openannotation.org/spec/core/2
0130208/
2014/7/2 15EDUPUB報告会3
17. JSON LDによる表現
{
"@context": "http://www.idpf.org/epub/oa/1.0/context.json",
"@id": "http://example.org/epub/annotations.json",
"@type": "epub:AnnotationCollection",
"annotations": [
{
"@id": "urn:uuid:B81AF8C4-B04A-4D3D-B1D3-23F7C02E56BB",
"@type": "oa:Annotation",
"motivatedBy": "oa:replying",
"hasTarget": "urn:uuid:E7E3799F-3CD5-4F69-87C6-5478B22873D6",
"hasBody": {
"@type": "dctypes:Text",
"format": "application/xhtml+xml",
"chars": "<span xmlns='http://www.w3.org/1999/xhtml'>I agree!</span>"
}
}
]
}
2014/7/2 17EDUPUB報告会3
18. 仕様書にある15の例
• Commentary Annotation on Publication with URI
• Commentary Annotation on Publication without Identifying URI
• Collection Metadata
• Annotation Provenance
• Annotation with Ancillary Resources in the Zip
• Reading Location Bookmarking
• Text Selection Highlighting
• Commentary on Text Selection
• Specifying a Rendition
• Annotating Multiple Targets
• Styling of Selection
• Styling of Comment
• Tagging
• Specifying Intended Audience(s)
• Replying to an Annotation
2014/7/2 18EDUPUB報告会3
21. 仕様書
• 要求仕様 Discrete Entities in Educational
Content http://goo.gl/g78hkb
• 仕様書 EPUB Distributable Objects
http://goo.gl/Z3A3gs
2014/7/2 21EDUPUB報告会3
23. MathML数式とイメージとからなる
distributable object
<collection role="distributable-object">
<metadata>
<dc:title>Learning Object 1</dc:title>
<dc:identifier>urn:uuid:5856b480-e1be-11e3-8b68-0800200c9a66</dc:identifier>
<dc:creator>Object Author</dc:creator>
<dc:language>en</dc:language>
<meta property="schema:typicalAgeRange">9-11</meta>
<meta property="schema:accessibilityFeature">mathml</meta>
…
</metadata>
<collection role="manifest">
<link href="images/mathml01.gif" media-type="image/gif"/>
<link href="css/epub.css" media-type="text/stylesheet"/>
<link href="css/mathml.css" media-type="text/stylesheet"/>
</collection>
<link href="xhtml/chapter01.xhtml#learningobject01"/>
</collection>
2014/7/2 23EDUPUB報告会3
26. 仕様書
• EPUB 3 EDUPUB Profileの9章
http://www.idpf.org/epub/profiles/edu/spec/
#h.nsjfhxwfp3rp
• Schema.org Metadata Integration Guide for
EPUB 3 http://goo.gl/XP56G8
2014/7/2 26EDUPUB報告会3
27. 固定レイアウト
• 日本から出した提案 Proposal: Fixed Layout in
EDUPUB (ACCESS, ATDO, Benesse, EAST, and
JEPA) http://goo.gl/5YXyxF
• IDPF仕様
– XHTMLベースのアクセシブルな固定レイアウト
– アクセシブルでない固定レイアウトにするなら、ア
クセシブルなリフローも一緒に格納する(Multiple
Renditions)
2014/7/2 27EDUPUB報告会3