kindlerb 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.markdown +12 -2
- data/lib/kindlerb.rb +3 -1
- metadata +6 -6
data/README.markdown
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
# kindlerb
|
2
2
|
|
3
|
-
kindlerb is a Ruby Kindle periodical-format ebook generator.
|
3
|
+
kindlerb is a Ruby Kindle periodical-format ebook generator. I extracted
|
4
|
+
this tool from [kindlefeeder.com][kf1]. I also built [Kindlefodder][kf2] on
|
5
|
+
top of kindlerb.
|
6
|
+
|
7
|
+
[kf1]:http://kindlefeeder.com
|
8
|
+
[kf2]:https://github.com/danchoi/kindlefodder
|
4
9
|
|
5
10
|
kindlerb converts a file tree of sections, articles, images, and metadata into
|
6
11
|
a MOBI periodical-formatted document for the Kindle. It is a wrapper around the
|
@@ -40,7 +45,7 @@ The file tree input structure is
|
|
40
45
|
_section.txt
|
41
46
|
000.html
|
42
47
|
001.html
|
43
|
-
|
48
|
+
002.html
|
44
49
|
|
45
50
|
kindlerb will extract article titles from the `<title>` (in `<head>`) tag in
|
46
51
|
the *.html files .
|
@@ -78,6 +83,11 @@ The `src` attributes must point to image files on the local filesystem. If the
|
|
78
83
|
paths are relative, they should be relative to the target file tree root.
|
79
84
|
|
80
85
|
|
86
|
+
## Encoding
|
87
|
+
|
88
|
+
Make sure all your textual source files are encoded in UTF-8.
|
89
|
+
|
90
|
+
|
81
91
|
## Author
|
82
92
|
|
83
93
|
Daniel Choi
|
data/lib/kindlerb.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kindlerb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-01-
|
12
|
+
date: 2012-01-28 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|
16
|
-
requirement: &
|
16
|
+
requirement: &70347429760960 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70347429760960
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: mustache
|
27
|
-
requirement: &
|
27
|
+
requirement: &70347429760100 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70347429760100
|
36
36
|
description: Kindle eperiodical generator
|
37
37
|
email:
|
38
38
|
- dhchoi@gmail.com
|