Skip to content

Instantly share code, notes, and snippets.

@kenjis
Created September 11, 2012 02:08
Show Gist options
  • Save kenjis/3695414 to your computer and use it in GitHub Desktop.
Save kenjis/3695414 to your computer and use it in GitHub Desktop.
diff -urN original/META-INF/container.xml kobo-store/META-INF/container.xml
--- original/META-INF/container.xml 2012-09-07 23:42:28.000000000 +0900
+++ kobo-store/META-INF/container.xml 2012-09-07 23:28:52.000000000 +0900
@@ -1,6 +1,6 @@
-<?xml version="1.0"?>
+<?xml version='1.0' encoding='UTF-8'?>
<container version="1.0" xmlns="urn:oasis:names:tc:opendocument:xmlns:container">
<rootfiles>
- <rootfile full-path="OEBPS/content.opf" media-type="application/oebps-package+xml"/>
+ <rootfile full-path="OEBPS/content.opf" media-type="application/oebps-package+xml"></rootfile>
</rootfiles>
-</container>
+</container>
\ ファイル末尾に改行がありません
diff -urN original/OEBPS/content.opf kobo-store/OEBPS/content.opf
--- original/OEBPS/content.opf 2012-09-07 23:42:28.000000000 +0900
+++ kobo-store/OEBPS/content.opf 2012-09-07 23:28:52.000000000 +0900
@@ -1,81 +1,79 @@
-<?xml version="1.0"?>
-<package version="2.0" xmlns="http://www.idpf.org/2007/opf"
- unique-identifier="BookId">
- <metadata xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:opf="http://www.idpf.org/2007/opf">
+<?xml version='1.0' encoding='UTF-8'?>
+<package unique-identifier="BookId" version="2.0" xmlns="http://www.idpf.org/2007/opf">
+ <metadata xmlns:opf="http://www.idpf.org/2007/opf" xmlns:dc="http://purl.org/dc/elements/1.1/">
<dc:title>FuelPHP に貢献する方法</dc:title>
<dc:creator opf:role="aut">Kenji Suzuki</dc:creator>
<dc:language>ja</dc:language>
<dc:publisher>leanpub.com</dc:publisher>
<dc:identifier id="BookId">urn:uuid:leanpub.com-how_to_contribute_fuelphp_ja-20120907-234228</dc:identifier>
<dc:date>2012-09-07</dc:date>
- <meta name="cover" content="cover_image" />
+ <meta content="cover_image" name="cover"></meta>
</metadata>
<manifest>
- <item id="ncx" href="toc.ncx" media-type="application/x-dtbncx+xml" />
- <item id="style" href="stylesheet.css" media-type="text/css" />
- <item id="titlepage" href="title_page.xhtml" media-type="application/xhtml+xml" />
- <item id="toc" href="toc.xhtml" media-type="application/xhtml+xml" />
- <item id="cover_image" href="images/title_page.jpg" media-type="image/jpeg" />
- <item id="chapter00" href="chap00.xhtml" media-type="application/xhtml+xml" />
- <item id="chapter01" href="chap01.xhtml" media-type="application/xhtml+xml" />
- <item id="chapter02" href="chap02.xhtml" media-type="application/xhtml+xml" />
- <item id="chapter03" href="chap03.xhtml" media-type="application/xhtml+xml" />
- <item id="chapter04" href="chap04.xhtml" media-type="application/xhtml+xml" />
- <item id="chapter05" href="chap05.xhtml" media-type="application/xhtml+xml" />
- <item id="chapter06" href="chap06.xhtml" media-type="application/xhtml+xml" />
- <item id="chapter07" href="chap07.xhtml" media-type="application/xhtml+xml" />
- <item id="chapter08" href="chap08.xhtml" media-type="application/xhtml+xml" />
- <item id="img000" href="images/20120202145059.png" media-type="image/png" />
- <item id="img001" href="images/20120202145125.png" media-type="image/png" />
- <item id="img002" href="images/20120205165412.png" media-type="image/png" />
- <item id="img003" href="images/20120205165432.png" media-type="image/png" />
- <item id="img004" href="images/20120205165508.png" media-type="image/png" />
- <item id="img005" href="images/20120205165534.png" media-type="image/png" />
- <item id="img006" href="images/20120205165555.png" media-type="image/png" />
- <item id="img007" href="images/20120218114332.png" media-type="image/png" />
- <item id="img008" href="images/20120206195158.png" media-type="image/png" />
- <item id="img009" href="images/20120206195219.png" media-type="image/png" />
- <item id="img010" href="images/20120206195241.png" media-type="image/png" />
- <item id="img011" href="images/20120206195259.png" media-type="image/png" />
- <item id="img012" href="images/20120206195318.png" media-type="image/png" />
- <item id="img013" href="images/20120206195400.png" media-type="image/png" />
- <item id="img014" href="images/20120206195417.png" media-type="image/png" />
- <item id="img015" href="images/20120206195435.png" media-type="image/png" />
- <item id="img016" href="images/20120206195453.png" media-type="image/png" />
- <item id="img017" href="images/20120206195512.png" media-type="image/png" />
- <item id="img018" href="images/github_01_brach_for_PR.png" media-type="image/png" />
- <item id="img019" href="images/github_02_PR_page.png" media-type="image/png" />
- <item id="img020" href="images/github_03_Files_Changed.png" media-type="image/png" />
- <item id="img021" href="images/github_04_write_PR_page.png" media-type="image/png" />
- <item id="img022" href="images/github_05_PR_has_sent.png" media-type="image/png" />
- <item id="img023" href="images/fuelphp1st.png" media-type="image/png" />
- <item id="lpimg000" href="images/leanpub_information.png" media-type="image/png" />
- <item id="lpimg001" href="images/leanpub_discussion.png" media-type="image/png" />
- <item id="lpimg002" href="images/leanpub_warning.png" media-type="image/png" />
- <item id="lpimg003" href="images/leanpub_question.png" media-type="image/png" />
- <item id="lpimg004" href="images/leanpub_tip.png" media-type="image/png" />
- <item id="lpimg005" href="images/leanpub_leanpub_logo.png" media-type="image/png" />
- <item id="lpimg006" href="images/leanpub_exercise.png" media-type="image/png" />
- <item id="lpimg007" href="images/leanpub_error.png" media-type="image/png" />
+ <item media-type="application/x-dtbncx+xml" href="toc.ncx" id="ncx"></item>
+ <item media-type="text/css" href="stylesheet.css" id="style"></item>
+ <item media-type="application/xhtml+xml" href="title_page.xhtml" id="titlepage"></item>
+ <item media-type="application/xhtml+xml" href="toc.xhtml" id="toc"></item>
+ <item media-type="image/jpeg" href="images/title_page.jpg" id="cover_image"></item>
+ <item media-type="application/xhtml+xml" href="chap00.xhtml" id="chapter00"></item>
+ <item media-type="application/xhtml+xml" href="chap01.xhtml" id="chapter01"></item>
+ <item media-type="application/xhtml+xml" href="chap02.xhtml" id="chapter02"></item>
+ <item media-type="application/xhtml+xml" href="chap03.xhtml" id="chapter03"></item>
+ <item media-type="application/xhtml+xml" href="chap04.xhtml" id="chapter04"></item>
+ <item media-type="application/xhtml+xml" href="chap05.xhtml" id="chapter05"></item>
+ <item media-type="application/xhtml+xml" href="chap06.xhtml" id="chapter06"></item>
+ <item media-type="application/xhtml+xml" href="chap07.xhtml" id="chapter07"></item>
+ <item media-type="application/xhtml+xml" href="chap08.xhtml" id="chapter08"></item>
+ <item media-type="image/png" href="images/20120202145059.png" id="img000"></item>
+ <item media-type="image/png" href="images/20120202145125.png" id="img001"></item>
+ <item media-type="image/png" href="images/20120205165412.png" id="img002"></item>
+ <item media-type="image/png" href="images/20120205165432.png" id="img003"></item>
+ <item media-type="image/png" href="images/20120205165508.png" id="img004"></item>
+ <item media-type="image/png" href="images/20120205165534.png" id="img005"></item>
+ <item media-type="image/png" href="images/20120205165555.png" id="img006"></item>
+ <item media-type="image/png" href="images/20120218114332.png" id="img007"></item>
+ <item media-type="image/png" href="images/20120206195158.png" id="img008"></item>
+ <item media-type="image/png" href="images/20120206195219.png" id="img009"></item>
+ <item media-type="image/png" href="images/20120206195241.png" id="img010"></item>
+ <item media-type="image/png" href="images/20120206195259.png" id="img011"></item>
+ <item media-type="image/png" href="images/20120206195318.png" id="img012"></item>
+ <item media-type="image/png" href="images/20120206195400.png" id="img013"></item>
+ <item media-type="image/png" href="images/20120206195417.png" id="img014"></item>
+ <item media-type="image/png" href="images/20120206195435.png" id="img015"></item>
+ <item media-type="image/png" href="images/20120206195453.png" id="img016"></item>
+ <item media-type="image/png" href="images/20120206195512.png" id="img017"></item>
+ <item media-type="image/png" href="images/github_01_brach_for_PR.png" id="img018"></item>
+ <item media-type="image/png" href="images/github_02_PR_page.png" id="img019"></item>
+ <item media-type="image/png" href="images/github_03_Files_Changed.png" id="img020"></item>
+ <item media-type="image/png" href="images/github_04_write_PR_page.png" id="img021"></item>
+ <item media-type="image/png" href="images/github_05_PR_has_sent.png" id="img022"></item>
+ <item media-type="image/png" href="images/fuelphp1st.png" id="img023"></item>
+ <item media-type="image/png" href="images/leanpub_information.png" id="lpimg000"></item>
+ <item media-type="image/png" href="images/leanpub_discussion.png" id="lpimg001"></item>
+ <item media-type="image/png" href="images/leanpub_warning.png" id="lpimg002"></item>
+ <item media-type="image/png" href="images/leanpub_question.png" id="lpimg003"></item>
+ <item media-type="image/png" href="images/leanpub_tip.png" id="lpimg004"></item>
+ <item media-type="image/png" href="images/leanpub_leanpub_logo.png" id="lpimg005"></item>
+ <item media-type="image/png" href="images/leanpub_exercise.png" id="lpimg006"></item>
+ <item media-type="image/png" href="images/leanpub_error.png" id="lpimg007"></item>
</manifest>
<spine toc="ncx">
- <itemref idref="titlepage" linear="no" />
- <itemref idref="chapter00" />
- <itemref idref="chapter01" />
- <itemref idref="chapter02" />
- <itemref idref="chapter03" />
- <itemref idref="chapter04" />
- <itemref idref="chapter05" />
- <itemref idref="chapter06" />
- <itemref idref="chapter07" />
- <itemref idref="chapter08" />
- <itemref idref="toc" />
+ <itemref linear="no" idref="titlepage"></itemref>
+ <itemref idref="chapter00"></itemref>
+ <itemref idref="chapter01"></itemref>
+ <itemref idref="chapter02"></itemref>
+ <itemref idref="chapter03"></itemref>
+ <itemref idref="chapter04"></itemref>
+ <itemref idref="chapter05"></itemref>
+ <itemref idref="chapter06"></itemref>
+ <itemref idref="chapter07"></itemref>
+ <itemref idref="chapter08"></itemref>
+ <itemref idref="toc"></itemref>
</spine>
<guide>
- <reference href="title_page.xhtml" type="cover" title="Cover" />
- <reference href="chap00.xhtml" type="start" title="Start" />
- <reference href="toc.xhtml" type="toc" title="Table of Contents" />
+ <reference title="Cover" type="cover" href="title_page.xhtml"></reference>
+ <reference title="Start" type="start" href="chap00.xhtml"></reference>
+ <reference title="Table of Contents" type="toc" href="toc.xhtml"></reference>
</guide>
-</package>
+</package>
\ ファイル末尾に改行がありません
diff -urN original/OEBPS/toc.ncx kobo-store/OEBPS/toc.ncx
--- original/OEBPS/toc.ncx 2012-09-07 23:42:28.000000000 +0900
+++ kobo-store/OEBPS/toc.ncx 2012-09-07 23:28:52.000000000 +0900
@@ -1,80 +1,69 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ncx xmlns="http://www.daisy.org/z3986/2005/ncx/" version="2005-1">
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE ncx PUBLIC '-//NISO//DTD ncx 2005-1//EN' 'http://www.daisy.org/z3986/2005/ncx-2005-1.dtd'>
+<ncx xml:lang="en-US" version="2005-1" xmlns="http://www.daisy.org/z3986/2005/ncx/">
<head>
- <meta name="dtb:uid" content="leanpub.com-how_to_contribute_fuelphp_ja-20120907-234228"/>
- <meta name="dtb:depth" content="1"/>
- <meta name="dtb:totalPageCount" content="0"/>
- <meta name="dtb:maxPageNumber" content="0"/>
+ <meta name="dtb:uid" content="1230000016350"></meta>
+ <meta name="dtb:depth" content="0"></meta>
+ <meta name="dtb:totalPageCount" content="0"></meta>
+ <meta name="dtb:maxPageNumber" content="0"></meta>
</head>
- <docTitle>
- <text>FuelPHP に貢献する方法</text>
- </docTitle>
- <navMap>
- <navPoint id="title_page" playOrder="1">
- <navLabel>
- <text>Title Page</text>
- </navLabel>
- <content src="title_page.xhtml"/>
- </navPoint>
- <navPoint id="chapter00" playOrder="2">
- <navLabel>
- <text>はじめに</text>
- </navLabel>
- <content src="chap00.xhtml"/>
- </navPoint>
- <navPoint id="chapter01" playOrder="3">
- <navLabel>
- <text>1 FuelPHP に貢献するとは?</text>
- </navLabel>
- <content src="chap01.xhtml"/>
- </navPoint>
- <navPoint id="chapter02" playOrder="4">
- <navLabel>
- <text>2 バグ報告の仕方</text>
- </navLabel>
- <content src="chap02.xhtml"/>
- </navPoint>
- <navPoint id="chapter03" playOrder="5">
- <navLabel>
- <text>3 バグを修正したコードを Pull Request する方法</text>
- </navLabel>
- <content src="chap03.xhtml"/>
- </navPoint>
- <navPoint id="chapter04" playOrder="6">
- <navLabel>
- <text>4 Pull Request 後の修正</text>
- </navLabel>
- <content src="chap04.xhtml"/>
- </navPoint>
- <navPoint id="chapter05" playOrder="7">
- <navLabel>
- <text>5 Pull Request が本家に取り込まれたら</text>
- </navLabel>
- <content src="chap05.xhtml"/>
- </navPoint>
- <navPoint id="chapter06" playOrder="8">
- <navLabel>
- <text>6 ドキュメントの修正を Pull Request する方法</text>
- </navLabel>
- <content src="chap06.xhtml"/>
- </navPoint>
- <navPoint id="chapter07" playOrder="9">
- <navLabel>
- <text>7 ユニットテストを追加して Pull Request する方法</text>
- </navLabel>
- <content src="chap07.xhtml"/>
- </navPoint>
- <navPoint id="chapter08" playOrder="10">
- <navLabel>
- <text>Appendix</text>
- </navLabel>
- <content src="chap08.xhtml"/>
- </navPoint>
- <navPoint id="toc" playOrder="11">
- <navLabel>
- <text>Table of Contents</text>
- </navLabel>
- <content src="toc.xhtml"/>
+ <docTitle><text>FuelPHP に貢献する方法</text></docTitle>
+ <docAuthor><text>Kenji Suzuki</text></docAuthor>
+ <navMap>
+ <navPoint class="" playOrder="0" id="title_page">
+ <navLabel><text>Title Page</text></navLabel>
+ <content src="title_page.xhtml"></content>
+ </navPoint>
+
+ <navPoint class="" playOrder="0" id="chapter00">
+ <navLabel><text>はじめに</text></navLabel>
+ <content src="chap00.xhtml"></content>
+ </navPoint>
+
+ <navPoint class="" playOrder="0" id="chapter01">
+ <navLabel><text>1 FuelPHP に貢献するとは?</text></navLabel>
+ <content src="chap01.xhtml"></content>
+ </navPoint>
+
+ <navPoint class="" playOrder="0" id="chapter02">
+ <navLabel><text>2 バグ報告の仕方</text></navLabel>
+ <content src="chap02.xhtml"></content>
+ </navPoint>
+
+ <navPoint class="" playOrder="0" id="chapter03">
+ <navLabel><text>3 バグを修正したコードを Pull Request する方法</text></navLabel>
+ <content src="chap03.xhtml"></content>
+ </navPoint>
+
+ <navPoint class="" playOrder="0" id="chapter04">
+ <navLabel><text>4 Pull Request 後の修正</text></navLabel>
+ <content src="chap04.xhtml"></content>
+ </navPoint>
+
+ <navPoint class="" playOrder="0" id="chapter05">
+ <navLabel><text>5 Pull Request が本家に取り込まれたら</text></navLabel>
+ <content src="chap05.xhtml"></content>
+ </navPoint>
+
+ <navPoint class="" playOrder="0" id="chapter06">
+ <navLabel><text>6 ドキュメントの修正を Pull Request する方法</text></navLabel>
+ <content src="chap06.xhtml"></content>
+ </navPoint>
+
+ <navPoint class="" playOrder="0" id="chapter07">
+ <navLabel><text>7 ユニットテストを追加して Pull Request する方法</text></navLabel>
+ <content src="chap07.xhtml"></content>
+ </navPoint>
+
+ <navPoint class="" playOrder="0" id="chapter08">
+ <navLabel><text>Appendix</text></navLabel>
+ <content src="chap08.xhtml"></content>
+ </navPoint>
+
+ <navPoint class="" playOrder="0" id="toc">
+ <navLabel><text>Table of Contents</text></navLabel>
+ <content src="toc.xhtml"></content>
</navPoint>
+
</navMap>
-</ncx>
+</ncx>
\ ファイル末尾に改行がありません
diff -urN original/mimetype kobo-store/mimetype
--- original/mimetype 2012-09-07 23:42:28.000000000 +0900
+++ kobo-store/mimetype 2012-09-07 23:28:52.000000000 +0900
@@ -1 +1 @@
-application/epub+zip
+application/epub+zip
\ ファイル末尾に改行がありません
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment