Skip to content

Commit

Permalink
Update for latest Logos Bible Verse Maps
Browse files Browse the repository at this point in the history
  • Loading branch information
schierlm committed Feb 1, 2025
1 parent 75ca3d3 commit cfce9ae
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,19 +171,19 @@ public class LogosHTML implements ExportFormat {
"title", "title 1", "title 2", "title A", "title B", "title C", "prologue", "prologue 1", "prologue 2", "subscript",
"1a", "1b", "1c", "1d", "1e", "1f", "1g", "1h", "1i", "1j", "1k", "1l", "1m", "1n", "1o", "1p", "1q", "1r", "1s", "1nb",
"2a", "2b", "2c", "2d", "2e", "2f", "2g", "2h", "2i", "2k", "2l", "2m", "2n", "2o", "2p", "2q",
"3a", "3b", "3c", "3d", "3e", "3f", "3g", "3h", "3i", "3j", "3k", "3l", "4a", "4ab", "4b", "4c", "5a", "5b", "5c", "5d", "5e",
"3a", "3b", "3c", "3d", "3e", "3f", "3g", "3h", "3i", "3j", "3k", "3l", "3x", "3y", "3z", "4a", "4ab", "4b", "4c", "5a", "5b", "5c", "5d", "5e",
"6a", "6ab", "6ac", "6b", "6c", "6d", "6e", "6f", "6g", "6h", "6i", "6j", "7a", "7b", "7c", "8a", "8b", "8c", "9a", "9b", "9c", "9d", "9e",
"10a", "10b", "10c", "11a", "11b", "11c", "12a", "12aa", "12b", "12bb", "12c", "12cc", "12d", "12e", "12f", "12g", "12h", "12i", "12j", "12k", "12l", "12m", "12w", "12nb",
"12n", "12nn", "12o", "12p", "12q", "12r", "12s", "12t", "12u", "12v", "12x", "12y", "12z", "12nb", "13a", "13b", "13c", "13d", "13e", "13f", "13g", "13h", "13q",
"10a", "10b", "10c", "11a", "11b", "11c", "12a", "12aa", "12b", "12bb", "12c", "12cc", "12d", "12e", "12f", "12g", "12h", "12i", "12j", "12k", "12l", "12m",
"12n", "12nn", "12o", "12p", "12q", "12r", "12s", "12t", "12u", "12v", "12w", "12x", "12y", "12z", "12nb", "13a", "13b", "13c", "13d", "13e", "13f", "13g", "13h", "13q",
"14a", "14b", "14c", "14d", "14q", "15a", "15b", "15c", "15d", "15e", "15f", "15g", "15h", "15i", "15q", "16a", "16b", "16c", "16q",
"17a", "17aa", "17b", "17bb", "17c", "17cc", "17d", "17dd", "17e", "17ee", "17f", "17ff", "17g", "17gg", "17h", "17hh", "17i", "17ii", "17j", "17k", "17kk", "17l", "17m",
"17n", "17o", "17p", "17q", "17r", "17s", "17t", "17u", "17v", "17w", "17x", "17y", "17z", "17nb", "18a", "18b", "18c", "18d", "18e", "18f", "18g", "18h", "18i", "18q",
"19a", "19b", "19c", "19d", "19q", "20a", "20b", "20c", "20d", "20e", "20f", "20g", "20h", "20i", "20j", "20k", "20l", "20q", "21a", "21b", "21c",
"19a", "19b", "19c", "19d", "19e", "19f", "19q", "20a", "20b", "20c", "20d", "20e", "20f", "20g", "20h", "20i", "20j", "20k", "20l", "20q", "21a", "21b", "21c",
"22a", "22b", "22c", "22d", "22e", "23a", "23ab", "23b", "23c", "23d", "24a", "24b", "24c", "24d", "24e", "24f", "24g", "24h", "24i", "24k", "24l", "24m",
"24n", "24o", "24p", "24q", "24r", "24s", "24t", "24u", "24x", "24y", "24z", "25a", "25b", "26a", "26b", "27a", "27b",
"28a", "28b", "28c", "28d", "28e", "28f", "28g", "28h", "29a", "29b", "30a", "30b", "30c", "31a", "31b", "32a", "33a", "33b", "34a", "34b", "34c",
"35a", "35b", "35c", "35d", "35e", "35f", "35g", "35h", "35i", "35k", "35l", "35m", "35n", "35o",
"36a", "36b", "36p", "37a", "37b", "37c", "37p", "38a", "38b", "38p", "39a", "39p", "40a", "40ab", "40b", "40c", "40p",
"36a", "36b", "36p", "37a", "37b", "37c", "37p", "38a", "38b", "38p", "39a", "39b", "39p", "40a", "40ab", "40b", "40c", "40p",
"41a", "41p", "42a", "42b", "42c", "42d", "42p", "43a", "43b", "43p", "44a", "44p", "45a", "45b", "45p",
"46a", "46b", "46c", "46d", "46e", "46f", "46g", "46h", "46i", "46k", "46l", "46p", "47a", "47p", "48a", "48b", "48p", "49a", "49b", "49p",
"50a", "50b", "50p", "51a", "51b", "51p", "52a", "52p", "53a", "53b", "53p", "54a", "54p", "55a", "55p", "56a", "56b", "56p", "57a", "57p", "58a", "58p", "59a", "59p",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ public class LogosVerseMapDownloader {
"BibleNETS", "BibleNETSA", "BibleORTHSB",
"BibleBT4E","BibleCCB","BibleEHV","BibleESVCE","BibleNJBCT","BibleRHG",
"BibleAM", "BibleBB", "BibleBH", "BibleBTX", "BibleDHH", "BibleHERDER", "BibleHSV", "BibleJJ", "BibleLJJ", "BibleLPD", "BibleNRSVUE", "BiblePESHES", "BibleSIHGAO", "BibleWEB", "BibleWEBME",
"BibleAPC", "BibleARND", "BibleAS", "BibleBENGEL", "BibleBSNZ", "BibleCJB2", "BibleDCBOT", "BibleDPB", "BibleFILLION", "BibleJSHRZSIR",
"BibleLEXOTAPOC", "BibleLH", "BibleLU1545CRED", "BibleLU1545DC", "BibleLUTHER21", "BibleLXXGAT", "BibleLXXGIGUET", "BibleMENGE20",
"BibleNAVARRA", "BibleNBV2021", "BibleNVT", "BiblePATTLOCH", "BibleSACY", "BibleSB", "BibleTXT", "BibleVGRX", "BibleZB",
};

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

0 comments on commit cfce9ae

Please sign in to comment.