scripts for my gemini capsule
plans: drop OEB
BSB and webp are more faithful
Zach DeCook 2024-03-07
parent 6e07db4 · commit e4be862
m---------Open-English-Bible0
-rwxr-xr-xbiblestudy.py1
-rw-r--r--horner.sh6
-rw-r--r--makeplan.sh4
m---------usfm2gmi0
5 files changed, 6 insertions, 5 deletions
diff --git a/Open-English-Bible b/Open-English-Bible
-Subproject 2370ba8b161fff645b22a9501c33ba7a603c62c
+Subproject e2b871ccf196c73f2c3bedaff07084a546da218
diff --git a/biblestudy.py b/biblestudy.py
index 65f55e2..2870ad4 100755
--- a/biblestudy.py
+++ b/biblestudy.py
@@ -12,6 +12,7 @@ from tcgnt import printtcgnt
from hboWLC import printhboWLC
def main(qs):
+ qs = qs.replace('%20',' ')
if not qs:
print("10 Enter a scripture reference\r\n")
return
diff --git a/horner.sh b/horner.sh
index 70c458c..9a7bd48 100644
--- a/horner.sh
+++ b/horner.sh
@@ -6,7 +6,7 @@ alias python=python3
# Gospels
echo "# 1. The Gospel"
gs="$(python chapterN.py $(($day % 89 +1)) Matthew Mark Luke John)"
-./oeb.py "$gs" |grep -v 'xt/ge'
+./bsb.py "$gs" |grep -v 'xt/ge'
gmni "gemini://songs.zachdecook.com/searchVerse.gmi?$gs"
# Moses
@@ -37,7 +37,7 @@ gmni "gemini://songs.zachdecook.com/searchVerse.gmi?$pt"
# 6. Psalms
echo "# 6. Psalm"
ps="Psalm $(($day % 150 +1))"
-./oeb.py "$ps" |grep -v 'xt/ge'
+./webp.py "$ps" |grep -v 'xt/ge'
gmni "gemini://songs.zachdecook.com/searchVerse.gmi?$ps"
# 7. Proverbs
@@ -62,5 +62,5 @@ gmni "gemini://songs.zachdecook.com/searchVerse.gmi?$py"
echo "# 10. Acts"
ac="Acts $(($day % 28 +1))"
-./oeb.py "$ac" |grep -v 'xt/ge'
+./bsb.py "$ac" |grep -v 'xt/ge'
gmni "gemini://songs.zachdecook.com/searchVerse.gmi?$ac"
diff --git a/makeplan.sh b/makeplan.sh
index 28f1932..3032cff 100644
--- a/makeplan.sh
+++ b/makeplan.sh
@@ -19,11 +19,11 @@ echo "# Old Testament Reading"
gmni "gemini://songs.zachdecook.com/searchVerse.gmi?$ot"
echo "# New Testament Reading"
-./oeb.py "$nt" |grep -v 'xt/ge'
+./bsb.py "$nt" |grep -v 'xt/ge'
gmni "gemini://songs.zachdecook.com/searchVerse.gmi?$nt"
echo "# Psalm"
-./oeb.py "$ps" |grep -v 'xt/ge'
+./webp.py "$ps" |grep -v 'xt/ge'
gmni "gemini://songs.zachdecook.com/searchVerse.gmi?$ps"
echo "# Proverb"
diff --git a/usfm2gmi b/usfm2gmi
-Subproject a9e497dbee245754bceed9bc773485309986845
+Subproject 3fb855edbe9d48a3c53eeaefb9e380c4a6eca13