README.md in gepub-0.6.4 vs README.md in gepub-0.6.4.1
- old
+ new
@@ -19,29 +19,28 @@
### Builder Example
require 'rubygem'
require 'gepub'
builder = GEPUB::Builder.new {
- unique_identifier 'http:/example.jp/bookid_in_url', 'BookID', 'URL'
language 'en'
-
+ unique_identifier 'http:/example.jp/bookid_in_url', 'BookID', 'URL'
title 'GEPUB Sample Book'
subtitle 'This book is just a sample'
- alt 'ja' => 'これはあくまでサンプルです'
creator 'KOJIMA Satoshi'
- alt 'ja' => '小嶋智'
contributors 'Denshobu', 'Asagaya Densho', 'Shonan Densho Teidan', 'eMagazine Torutaru'
date '2012-02-29T00:00:00Z'
resources(:workdir => '~/epub/sample_book_source/') {
cover_image 'img/image1.jpg' => 'image1.jpg'
ordered {
file 'text/chap1.xhtml'
heading 'Chapter 1'
+
file 'text/chap1-1.xhtml'
+
file 'text/chap2.html'
heading 'Chapter 2'
}
}
}