Skip to content

Commit cfce9ae

Browse files
committed
Update for latest Logos Bible Verse Maps
1 parent 75ca3d3 commit cfce9ae

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

biblemulticonverter-logos/src/main/java/biblemulticonverter/logos/format/LogosHTML.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -171,19 +171,19 @@ public class LogosHTML implements ExportFormat {
171171
"title", "title 1", "title 2", "title A", "title B", "title C", "prologue", "prologue 1", "prologue 2", "subscript",
172172
"1a", "1b", "1c", "1d", "1e", "1f", "1g", "1h", "1i", "1j", "1k", "1l", "1m", "1n", "1o", "1p", "1q", "1r", "1s", "1nb",
173173
"2a", "2b", "2c", "2d", "2e", "2f", "2g", "2h", "2i", "2k", "2l", "2m", "2n", "2o", "2p", "2q",
174-
"3a", "3b", "3c", "3d", "3e", "3f", "3g", "3h", "3i", "3j", "3k", "3l", "4a", "4ab", "4b", "4c", "5a", "5b", "5c", "5d", "5e",
174+
"3a", "3b", "3c", "3d", "3e", "3f", "3g", "3h", "3i", "3j", "3k", "3l", "3x", "3y", "3z", "4a", "4ab", "4b", "4c", "5a", "5b", "5c", "5d", "5e",
175175
"6a", "6ab", "6ac", "6b", "6c", "6d", "6e", "6f", "6g", "6h", "6i", "6j", "7a", "7b", "7c", "8a", "8b", "8c", "9a", "9b", "9c", "9d", "9e",
176-
"10a", "10b", "10c", "11a", "11b", "11c", "12a", "12aa", "12b", "12bb", "12c", "12cc", "12d", "12e", "12f", "12g", "12h", "12i", "12j", "12k", "12l", "12m", "12w", "12nb",
177-
"12n", "12nn", "12o", "12p", "12q", "12r", "12s", "12t", "12u", "12v", "12x", "12y", "12z", "12nb", "13a", "13b", "13c", "13d", "13e", "13f", "13g", "13h", "13q",
176+
"10a", "10b", "10c", "11a", "11b", "11c", "12a", "12aa", "12b", "12bb", "12c", "12cc", "12d", "12e", "12f", "12g", "12h", "12i", "12j", "12k", "12l", "12m",
177+
"12n", "12nn", "12o", "12p", "12q", "12r", "12s", "12t", "12u", "12v", "12w", "12x", "12y", "12z", "12nb", "13a", "13b", "13c", "13d", "13e", "13f", "13g", "13h", "13q",
178178
"14a", "14b", "14c", "14d", "14q", "15a", "15b", "15c", "15d", "15e", "15f", "15g", "15h", "15i", "15q", "16a", "16b", "16c", "16q",
179179
"17a", "17aa", "17b", "17bb", "17c", "17cc", "17d", "17dd", "17e", "17ee", "17f", "17ff", "17g", "17gg", "17h", "17hh", "17i", "17ii", "17j", "17k", "17kk", "17l", "17m",
180180
"17n", "17o", "17p", "17q", "17r", "17s", "17t", "17u", "17v", "17w", "17x", "17y", "17z", "17nb", "18a", "18b", "18c", "18d", "18e", "18f", "18g", "18h", "18i", "18q",
181-
"19a", "19b", "19c", "19d", "19q", "20a", "20b", "20c", "20d", "20e", "20f", "20g", "20h", "20i", "20j", "20k", "20l", "20q", "21a", "21b", "21c",
181+
"19a", "19b", "19c", "19d", "19e", "19f", "19q", "20a", "20b", "20c", "20d", "20e", "20f", "20g", "20h", "20i", "20j", "20k", "20l", "20q", "21a", "21b", "21c",
182182
"22a", "22b", "22c", "22d", "22e", "23a", "23ab", "23b", "23c", "23d", "24a", "24b", "24c", "24d", "24e", "24f", "24g", "24h", "24i", "24k", "24l", "24m",
183183
"24n", "24o", "24p", "24q", "24r", "24s", "24t", "24u", "24x", "24y", "24z", "25a", "25b", "26a", "26b", "27a", "27b",
184184
"28a", "28b", "28c", "28d", "28e", "28f", "28g", "28h", "29a", "29b", "30a", "30b", "30c", "31a", "31b", "32a", "33a", "33b", "34a", "34b", "34c",
185185
"35a", "35b", "35c", "35d", "35e", "35f", "35g", "35h", "35i", "35k", "35l", "35m", "35n", "35o",
186-
"36a", "36b", "36p", "37a", "37b", "37c", "37p", "38a", "38b", "38p", "39a", "39p", "40a", "40ab", "40b", "40c", "40p",
186+
"36a", "36b", "36p", "37a", "37b", "37c", "37p", "38a", "38b", "38p", "39a", "39b", "39p", "40a", "40ab", "40b", "40c", "40p",
187187
"41a", "41p", "42a", "42b", "42c", "42d", "42p", "43a", "43b", "43p", "44a", "44p", "45a", "45b", "45p",
188188
"46a", "46b", "46c", "46d", "46e", "46f", "46g", "46h", "46i", "46k", "46l", "46p", "47a", "47p", "48a", "48b", "48p", "49a", "49b", "49p",
189189
"50a", "50b", "50p", "51a", "51b", "51p", "52a", "52p", "53a", "53b", "53p", "54a", "54p", "55a", "55p", "56a", "56b", "56p", "57a", "57p", "58a", "58p", "59a", "59p",

biblemulticonverter-logos/src/test/java/biblemulticonverter/logos/tools/LogosVerseMapDownloader.java

+6-2
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ public class LogosVerseMapDownloader {
6161
"BibleNETS", "BibleNETSA", "BibleORTHSB",
6262
"BibleBT4E","BibleCCB","BibleEHV","BibleESVCE","BibleNJBCT","BibleRHG",
6363
"BibleAM", "BibleBB", "BibleBH", "BibleBTX", "BibleDHH", "BibleHERDER", "BibleHSV", "BibleJJ", "BibleLJJ", "BibleLPD", "BibleNRSVUE", "BiblePESHES", "BibleSIHGAO", "BibleWEB", "BibleWEBME",
64+
"BibleAPC", "BibleARND", "BibleAS", "BibleBENGEL", "BibleBSNZ", "BibleCJB2", "BibleDCBOT", "BibleDPB", "BibleFILLION", "BibleJSHRZSIR",
65+
"BibleLEXOTAPOC", "BibleLH", "BibleLU1545CRED", "BibleLU1545DC", "BibleLUTHER21", "BibleLXXGAT", "BibleLXXGIGUET", "BibleMENGE20",
66+
"BibleNAVARRA", "BibleNBV2021", "BibleNVT", "BiblePATTLOCH", "BibleSACY", "BibleSB", "BibleTXT", "BibleVGRX", "BibleZB",
6467
};
6568

6669
public static String[] ALL_BOOK_NAMES = {
@@ -93,7 +96,7 @@ public static void main(String[] args) throws Exception {
9396
return;
9497
System.out.println("Downloading Logos verse map...");
9598
final String PREFIX = "<a href=\"https://community.logos.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fhtmlpreview.github.io%2F%3F";
96-
String url = "https://us.v-cdn.net/6038263/uploads/EGW5N5DP6AZJ/bible-verse-maps-html.txt";
99+
String url = "https://us.v-cdn.net/6038263/uploads/RKBF44XS827B/bible-verse-maps-html.txt";
97100
HttpURLConnection uc;
98101
try {
99102
uc = (HttpURLConnection) new URL("https://community.logos.com/kb/articles/549-bible-verse-maps").openConnection();
@@ -290,7 +293,8 @@ private static void parseVerseMap(Map<String, List<List<String>>> books, Writer
290293
if (!range.matches("[0-9-]+")) {
291294
Integer idx = namedVerseMap.get(range);
292295
if (idx == null) {
293-
System.out.println("SKIPPING VERSE " + range);
296+
if (!range.matches("3[a-c][a-z]"))
297+
System.out.println("SKIPPING VERSE " + range);
294298
continue;
295299
}
296300
range = String.valueOf(idx + 1000);

0 commit comments

Comments
 (0)