kindlerb 1.0.1 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,3 @@
1
+ module Kindlerb
2
+ VERSION = '1.2.0'
3
+ end
@@ -1,19 +1,19 @@
1
- <html>
2
- <head>
3
- <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
4
- <title>Table of Contents</title>
5
- </head>
6
- <body>
7
- <h1>Contents</h1>
8
- {{#sections}}
9
- <h4>{{{title}}}</h4>
10
- <ul>
11
- {{#articles}}
12
- <li>
13
- <a href="{{file}}">{{{title}}}</a>
14
- </li>
15
- {{/articles}}
16
- </ul>
17
- {{/sections}}
18
- </body>
19
- </html>
1
+ <html>
2
+ <head>
3
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
4
+ <title>Table of Contents</title>
5
+ </head>
6
+ <body>
7
+ <h1>Contents</h1>
8
+ {{#sections}}
9
+ <h4>{{{title}}}</h4>
10
+ <ul>
11
+ {{#articles}}
12
+ <li>
13
+ <a href="{{file}}">{{{title}}}</a>
14
+ </li>
15
+ {{/articles}}
16
+ </ul>
17
+ {{/sections}}
18
+ </body>
19
+ </html>
@@ -1,37 +1,37 @@
1
- <?xml version='1.0' encoding='utf-8'?>
2
- <!DOCTYPE ncx PUBLIC "-//NISO//DTD ncx 2005-1//EN" "http://www.daisy.org/z3986/2005/ncx-2005-1.dtd">
3
- <ncx xmlns:mbp="http://mobipocket.com/ns/mbp" xmlns="http://www.daisy.org/z3986/2005/ncx/" version="2005-1" xml:lang="en-US">
4
- <head>
5
- <meta content="{{doc_uuid}}" name="dtb:uid"/>
6
- <meta content="2" name="dtb:depth"/>
7
- <meta content="0" name="dtb:totalPageCount"/>
8
- <meta content="0" name="dtb:maxPageNumber"/>
9
- </head>
10
- <docTitle>
11
- <text>{{title}}</text>
12
- </docTitle>
13
- <docAuthor>
14
- <text>{{author}}</text>
15
- </docAuthor>
16
- <navMap>
17
- <navPoint playOrder="1" class="periodical" id="periodical">
18
- <mbp:meta-img src="{{masthead}}" name="mastheadImage"/>
19
- <navLabel><text>Table of Contents</text></navLabel>
20
- <content src="contents.html"/>
21
- {{#sections}}
22
- <navPoint playOrder="{{playorder}}" class="section" id="{{idref}}">
23
- <navLabel><text>{{title}}</text></navLabel>
24
- <content src="{{href}}"/>
25
- {{#articles}}
26
- <navPoint playOrder="{{playorder}}" class="article" id="{{idref}}">
27
- <navLabel><text>{{short_title}}</text></navLabel>
28
- <content src="{{href}}"/>
29
- <mbp:meta name="description">{{description}}</mbp:meta>
30
- <mbp:meta name="author">{{author}}</mbp:meta>
31
- </navPoint>
32
- {{/articles}}
33
- </navPoint>
34
- {{/sections}}
35
- </navPoint>
36
- </navMap>
37
- </ncx>
1
+ <?xml version='1.0' encoding='utf-8'?>
2
+ <!DOCTYPE ncx PUBLIC "-//NISO//DTD ncx 2005-1//EN" "http://www.daisy.org/z3986/2005/ncx-2005-1.dtd">
3
+ <ncx xmlns:mbp="http://mobipocket.com/ns/mbp" xmlns="http://www.daisy.org/z3986/2005/ncx/" version="2005-1" xml:lang="en-US">
4
+ <head>
5
+ <meta content="{{doc_uuid}}" name="dtb:uid"/>
6
+ <meta content="2" name="dtb:depth"/>
7
+ <meta content="0" name="dtb:totalPageCount"/>
8
+ <meta content="0" name="dtb:maxPageNumber"/>
9
+ </head>
10
+ <docTitle>
11
+ <text>{{title}}</text>
12
+ </docTitle>
13
+ <docAuthor>
14
+ <text>{{author}}</text>
15
+ </docAuthor>
16
+ <navMap>
17
+ <navPoint playOrder="1" class="periodical" id="periodical">
18
+ <mbp:meta-img src="{{masthead}}" name="mastheadImage"/>
19
+ <navLabel><text>Table of Contents</text></navLabel>
20
+ <content src="contents.html"/>
21
+ {{#sections}}
22
+ <navPoint playOrder="{{playorder}}" class="section" id="{{idref}}">
23
+ <navLabel><text>{{title}}</text></navLabel>
24
+ <content src="{{href}}"/>
25
+ {{#articles}}
26
+ <navPoint playOrder="{{playorder}}" class="article" id="{{idref}}">
27
+ <navLabel><text>{{short_title}}</text></navLabel>
28
+ <content src="{{href}}"/>
29
+ <mbp:meta name="description">{{description}}</mbp:meta>
30
+ <mbp:meta name="author">{{author}}</mbp:meta>
31
+ </navPoint>
32
+ {{/articles}}
33
+ </navPoint>
34
+ {{/sections}}
35
+ </navPoint>
36
+ </navMap>
37
+ </ncx>
@@ -1,42 +1,42 @@
1
- <?xml version='1.0' encoding='utf-8'?>
2
- <package xmlns="http://www.idpf.org/2007/opf" version="2.0" unique-identifier="{{doc_uuid}}">
3
- <metadata>
4
- <meta content="cover-image" name="cover"/>
5
- <dc-metadata xmlns:dc="http://purl.org/dc/elements/1.1/">
6
- <dc:title>{{title}}</dc:title>
7
- <dc:language>en-gb</dc:language>
8
- <dc:creator>{{author}}</dc:creator>
9
- <dc:publisher>{{publisher}}</dc:publisher>
10
- <dc:subject>{{subject}}</dc:subject>
11
- <dc:date>{{date}}</dc:date>
12
- <dc:description>{{description}}</dc:description>
13
- </dc-metadata>
14
-
15
- <x-metadata>
16
- <output content-type="application/x-mobipocket-subscription-magazine" encoding="utf-8"/>
17
- </x-metadata>
18
-
19
-
20
- </metadata>
21
- <manifest>
22
- <item href="contents.html" media-type="application/xhtml+xml" id="contents"/>
23
- <item href="nav-contents.ncx" media-type="application/x-dtbncx+xml" id="nav-contents"/>
24
- <item href="{{cover}}" media-type="{{cover_mimetype}}" id="cover-image"/>
25
- <item href="{{masthead}}" media-type="image/gif" id="masthead"/>
26
- {{#manifest_items}}
27
- <item href="{{href}}" media-type="{{media}}" id="{{idref}}"/>
28
- {{/manifest_items}}
29
- </manifest>
30
- <spine toc="nav-contents">
31
- <itemref idref="contents"/>
32
- {{#spine_items}}
33
- <itemref idref="{{idref}}"/>
34
- {{/spine_items}}
35
- </spine>
36
- <guide>
37
- <reference href="contents.html" type="toc" title="Table of Contents"/>
38
- {{#first_article}}
39
- <reference href="{{href}}" type="text" title="Beginning"/>
40
- {{/first_article}}
41
- </guide>
42
- </package>
1
+ <?xml version='1.0' encoding='utf-8'?>
2
+ <package xmlns="http://www.idpf.org/2007/opf" version="2.0" unique-identifier="{{doc_uuid}}">
3
+ <metadata>
4
+ <meta content="cover-image" name="cover"/>
5
+ <dc-metadata xmlns:dc="http://purl.org/dc/elements/1.1/">
6
+ <dc:title>{{title}}</dc:title>
7
+ <dc:language>en-gb</dc:language>
8
+ <dc:creator>{{author}}</dc:creator>
9
+ <dc:publisher>{{publisher}}</dc:publisher>
10
+ <dc:subject>{{subject}}</dc:subject>
11
+ <dc:date>{{date}}</dc:date>
12
+ <dc:description>{{description}}</dc:description>
13
+ </dc-metadata>
14
+
15
+ <x-metadata>
16
+ <output content-type="application/x-mobipocket-subscription-magazine" encoding="utf-8"/>
17
+ </x-metadata>
18
+
19
+
20
+ </metadata>
21
+ <manifest>
22
+ <item href="contents.html" media-type="application/xhtml+xml" id="contents"/>
23
+ <item href="nav-contents.ncx" media-type="application/x-dtbncx+xml" id="nav-contents"/>
24
+ <item href="{{cover}}" media-type="{{cover_mimetype}}" id="cover-image"/>
25
+ <item href="{{masthead}}" media-type="image/gif" id="masthead"/>
26
+ {{#manifest_items}}
27
+ <item href="{{href}}" media-type="{{media}}" id="{{idref}}"/>
28
+ {{/manifest_items}}
29
+ </manifest>
30
+ <spine toc="nav-contents">
31
+ <itemref idref="contents"/>
32
+ {{#spine_items}}
33
+ <itemref idref="{{idref}}"/>
34
+ {{/spine_items}}
35
+ </spine>
36
+ <guide>
37
+ <reference href="contents.html" type="toc" title="Table of Contents"/>
38
+ {{#first_article}}
39
+ <reference href="{{href}}" type="text" title="Beginning"/>
40
+ {{/first_article}}
41
+ </guide>
42
+ </package>
@@ -1,15 +1,15 @@
1
- <html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
2
- <head>
3
- <meta content="http://www.w3.org/1999/xhtml; charset=utf-8" http-equiv="Content-Type"/>
4
- <title>{{title}}</title>
5
- <meta content="kindlerb" name="author"/>
6
- <meta content="kindlerb" name="description"/>
7
- </head>
8
- <body>
9
- <p>&nbsp;</p>
10
- <p>&nbsp;</p>
11
- <p>&nbsp;</p>
12
- <p>&nbsp;</p>
13
- <h1>{{title}}</h1>
14
- </body>
15
- </html>
1
+ <html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
2
+ <head>
3
+ <meta content="http://www.w3.org/1999/xhtml; charset=utf-8" http-equiv="Content-Type"/>
4
+ <title>{{title}}</title>
5
+ <meta content="kindlerb" name="author"/>
6
+ <meta content="kindlerb" name="description"/>
7
+ </head>
8
+ <body>
9
+ <p>&nbsp;</p>
10
+ <p>&nbsp;</p>
11
+ <p>&nbsp;</p>
12
+ <p>&nbsp;</p>
13
+ <h1>{{title}}</h1>
14
+ </body>
15
+ </html>
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: 1.0.1
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Choi
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-01-19 00:00:00.000000000 Z
12
+ date: 2016-12-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri
@@ -57,6 +57,7 @@ files:
57
57
  - bin/setupkindlerb
58
58
  - kindlerb.gemspec
59
59
  - lib/kindlerb.rb
60
+ - lib/kindlerb/version.rb
60
61
  - templates/contents.mustache
61
62
  - templates/ncx.mustache
62
63
  - templates/opf.mustache
@@ -80,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
81
  version: '0'
81
82
  requirements: []
82
83
  rubyforge_project: kindlerb
83
- rubygems_version: 2.2.2
84
+ rubygems_version: 2.5.1
84
85
  signing_key:
85
86
  specification_version: 4
86
87
  summary: Kindle eperiodical generator