scripts for my gemini capsule
bible: stop using old api
Zach DeCook 2021-04-26
parent 777a5e7 · commit 8f2e3d9
-rwxr-xr-xesv.sh2
-rwxr-xr-xindex.gmi1
-rw-r--r--makeplan.sh2
3 files changed, 3 insertions, 2 deletions
diff --git a/esv.sh b/esv.sh
index 4f3f8ea..90cfa27 100755
--- a/esv.sh
+++ b/esv.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# esv api v2 is deprecated.
+# I'm not planning on jumping thru Crossway's hoops again for this.
if [ "$QUERY_STRING" = "" ]
then
printf "10 Enter a scripture reference\r\n"
diff --git a/index.gmi b/index.gmi
index 0ce135e..3680b91 100755
--- a/index.gmi
+++ b/index.gmi
@@ -4,7 +4,6 @@ printf '20 text/gemini \r\n
#All Services
## Experimental bible reading scripts
-=> /cgi-bin/esv.sh Wrapper for the English Standard Version API.
=> /cgi-bin/net.sh Wrapper for New English Translation API.
=> /cgi-bin/oeb.py Open English Bible (WIP) rough-ish script for reading.
=> /cgi-bin/lsv.py Literal Standard Version script for reading.
diff --git a/makeplan.sh b/makeplan.sh
index 29f507e..fe57b3e 100644
--- a/makeplan.sh
+++ b/makeplan.sh
@@ -11,7 +11,7 @@ echo "# Old Testament Reading"
gmni "gemini://gemini.zachdecook.com/cgi-bin/webp.py?$ot"
echo "# New Testament Reading"
-gmni "gemini://gemini.zachdecook.com/cgi-bin/net.sh?$nt"
+gmni "gemini://gemini.zachdecook.com/cgi-bin/oeb.py?$nt"
echo "# Psalm"
gmni "gemini://gemini.zachdecook.com/cgi-bin/oeb.py?$ps"