Skip to content

Commit fd6594d

Browse files
authored
Merge pull request #27 from daniel-tran/1.3.0
Version 1.3.0
2 parents c8948b0 + ea5e8f3 commit fd6594d

163 files changed

Lines changed: 668 additions & 76 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Change Log
22

3+
## 1.3.0
4+
- Added functionality to include minimal copyright information into the Base Extractor and Web Extractor
5+
- Added Bible Gateway translation-specific copyright URL to output files
6+
- Added translation support for: AMP, CSB, LSB, RSV
7+
38
## 1.2.0
49
- Fixed an issue where the YAML Extractor sometimes includes extra whitespace that is not present in the Web Extractor
510
- Fixed an issue where the `output_as_list` flag in the Base Extractor would be modified when an error occurred while calling one of the text searching functions

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ This is the dictionary structure that is passed into `write` and returned from `
111111
}
112112
},
113113
"Info": {
114+
"Copyright": "URL to the copyright information for this translation on Bible Gateway",
114115
"Language": "Translation Language",
115116
"Translation": "Translation Code",
116117
"Timestamp": "Timestamp in ISO 8601 format",

README.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,11 @@ You can view the API documentation as static HTML documents from `docs\index.htm
3636

3737
## English
3838

39+
- AMP
3940
- ASV
4041
- AKJV
4142
- BRG
43+
- CSB
4244
- EHV
4345
- ESV
4446
- ESVUK
@@ -49,6 +51,7 @@ You can view the API documentation as static HTML documents from `docs\index.htm
4951
- KJV
5052
- KJ21
5153
- LEB
54+
- LSB
5255
- MEV
5356
- NASB
5457
- NASB1995
@@ -62,6 +65,7 @@ You can view the API documentation as static HTML documents from `docs\index.htm
6265
- NOG
6366
- NRSV
6467
- NRSVUE
68+
- RSV
6569
- WEB
6670
- YLT
6771

@@ -108,6 +112,7 @@ Ecclesiastes:
108112
Info:
109113
Language: English
110114
Translation: NIV
115+
Copyright: https://www.biblegateway.com/versions/new-international-version-niv-bible/#copy
111116
Timestamp: '0000-00-00T00:00:00.000000+00:00'
112117
Meaningless: 0.0.0
113118
```
@@ -154,6 +159,7 @@ Ecclesiastes:
154159
Info:
155160
Language: English
156161
Translation: NIV
162+
Copyright: https://www.biblegateway.com/versions/new-international-version-niv-bible/#copy
157163
Timestamp: '0000-00-00T00:00:00.000000+00:00'
158164
Meaningless: 0.0.0
159165
Customised?: true
@@ -179,6 +185,7 @@ Running the above code would produce a file called `Ecclesiastes.json` in the cu
179185
}
180186
},
181187
"Info": {
188+
"Copyright": "https://www.biblegateway.com/versions/new-international-version-niv-bible/#copy",
182189
"Language": "English",
183190
"Meaningless": "0.0.0",
184191
"Timestamp": "0000-00-00T00:00:00.000000+00:00",
@@ -230,6 +237,7 @@ Running the above code would produce a file called `Ecclesiastes.json` in the cu
230237
}
231238
},
232239
"Info": {
240+
"Copyright": "https://www.biblegateway.com/versions/new-international-version-niv-bible/#copy",
233241
"Customised?": true,
234242
"Language": "English",
235243
"Meaningless": "0.0.0",
@@ -257,6 +265,7 @@ Running the above code would produce a file called `Ecclesiastes.xml` in the cur
257265
<info>
258266
<language>English</language>
259267
<translation>NIV</translation>
268+
<copyright>https://www.biblegateway.com/versions/new-international-version-niv-bible/#copy</copyright>>
260269
<timestamp>0000-00-00T00:00:00.000000+00:00</timestamp>
261270
<meaningless>0.0.0</meaningless>
262271
</info>
@@ -312,6 +321,7 @@ Running the above code would produce a file called `Ecclesiastes.xml` in the cur
312321
<info>
313322
<language>English</language>
314323
<translation>NIV</translation>
324+
<copyright>https://www.biblegateway.com/versions/new-international-version-niv-bible/#copy</copyright>
315325
<timestamp>0000-00-00T00:00:00.000000+00:00</timestamp>
316326
<meaningless>0.0.0</meaningless>
317327
<customised>true</customised>
@@ -342,11 +352,11 @@ Output:
342352

343353
Running the above code would produce a file called `Ecclesiastes.csv` in the current working directory with the approximate contents:
344354
```
345-
Book,Chapter,Passage,Text,Language,Translation,Timestamp,Meaningless
355+
Book,Chapter,Passage,Text,Language,Translation,Copyright,Timestamp,Meaningless
346356
Ecclesiastes,1,2,"² “Meaningless! Meaningless!”
347357
says the Teacher.
348358
“Utterly meaningless!
349-
Everything is meaningless.”",English,NIV,0000-00-00T00:00:00.000000+00:00,0.0.0
359+
Everything is meaningless.”",English,NIV,https://www.biblegateway.com/versions/new-international-version-niv-bible/#copy,0000-00-00T00:00:00.000000+00:00,0.0.0
350360
```
351361

352362
## CSV Extractor
@@ -385,11 +395,11 @@ Output:
385395

386396
Running the above code would produce a file called `Ecclesiastes.csv` in the current working directory with the approximate contents:
387397
```
388-
Book,Chapter,Passage,Text,Language,Translation,Timestamp,Meaningless
398+
Book,Chapter,Passage,Text,Language,Translation,Copyright,Timestamp,Meaningless
389399
Ecclesiastes,1,2,"² “Meaningless! Meaningless!”
390400
says the Teacher.
391401
“Utterly meaningless!
392-
Everything is meaningless.”",English (EN),NIV,0000-00-00T00:00:00.000000+00:00,0.0.0
402+
Everything is meaningless.”",English (EN),NIV,https://www.biblegateway.com/versions/new-international-version-niv-bible/#copy,0000-00-00T00:00:00.000000+00:00,0.0.0
393403
```
394404

395405
## Text searching within files

docs/_static/documentation_options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const DOCUMENTATION_OPTIONS = {
2-
VERSION: '1.2.0',
2+
VERSION: '1.3.0',
33
LANGUAGE: 'en',
44
COLLAPSE_INDEX: false,
55
BUILDER: 'html',

docs/genindex.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
<head>
55
<meta charset="utf-8" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>Index &#8212; Meaningless 1.2.0 documentation</title>
7+
<title>Index &#8212; Meaningless 1.3.0 documentation</title>
88
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=4f649999" />
99
<link rel="stylesheet" type="text/css" href="_static/alabaster.css?v=28c8e701" />
10-
<script src="_static/documentation_options.js?v=6efca38a"></script>
10+
<script src="_static/documentation_options.js?v=1f29e9d3"></script>
1111
<script src="_static/doctools.js?v=888ff710"></script>
1212
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
1313
<link rel="icon" href="_static/favicon.png"/>

docs/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
<meta charset="utf-8" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
77

8-
<title>Meaningless 1.2.0 - API Documentation &#8212; Meaningless 1.2.0 documentation</title>
8+
<title>Meaningless 1.3.0 - API Documentation &#8212; Meaningless 1.3.0 documentation</title>
99
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=4f649999" />
1010
<link rel="stylesheet" type="text/css" href="_static/alabaster.css?v=28c8e701" />
11-
<script src="_static/documentation_options.js?v=6efca38a"></script>
11+
<script src="_static/documentation_options.js?v=1f29e9d3"></script>
1212
<script src="_static/doctools.js?v=888ff710"></script>
1313
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
1414
<link rel="icon" href="_static/favicon.png"/>
@@ -78,7 +78,7 @@ <h3 id="searchlabel">Quick search</h3>
7878
<div class="body" role="main">
7979

8080
<section id="meaningless-library-version-api-documentation">
81-
<h1>Meaningless 1.2.0 - API Documentation<a class="headerlink" href="#meaningless-library-version-api-documentation" title="Link to this heading"></a></h1>
81+
<h1>Meaningless 1.3.0 - API Documentation<a class="headerlink" href="#meaningless-library-version-api-documentation" title="Link to this heading"></a></h1>
8282
<div class="toctree-wrapper compound">
8383
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
8484
<ul>

0 commit comments

Comments
 (0)