From af4e3600bd39d36aa19a2ac7890c3f84c8060953 Mon Sep 17 00:00:00 2001 From: Tyler Date: Tue, 12 Sep 2023 14:55:26 -0700 Subject: [PATCH] Preparing for templates --- html/find.html | 24 ------------------------ html/old_find.html | 24 ++++++++++++++++++++++++ tools/transcript_parse.py | 12 ++++++++++++ 3 files changed, 36 insertions(+), 24 deletions(-) create mode 100644 html/old_find.html create mode 100644 tools/transcript_parse.py diff --git a/html/find.html b/html/find.html index 243dbba..e69de29 100644 --- a/html/find.html +++ b/html/find.html @@ -1,24 +0,0 @@ -
-Home | Quick Search | -Random Verse | -Verse of the Day
-

Quick Search

-
-
-

- -
- - - - - diff --git a/html/old_find.html b/html/old_find.html new file mode 100644 index 0000000..243dbba --- /dev/null +++ b/html/old_find.html @@ -0,0 +1,24 @@ +
+Home | Quick Search | +Random Verse | +Verse of the Day
+

Quick Search

+ +
+

+ +
+ + + + + diff --git a/tools/transcript_parse.py b/tools/transcript_parse.py new file mode 100644 index 0000000..b8565c2 --- /dev/null +++ b/tools/transcript_parse.py @@ -0,0 +1,12 @@ +#Here we will take the transcript of a sermon, extract references to scripture and store in +# a sqlite database by scripture UID per what's in the kjv.db +# This will write to a new db, sermons.db, with the following table +# key, verse_id, sermon_name, sermon_preacher, sermon_denomination, sermon_link, sermon_timestamp + +# Need to do a study of how scripture is transcoded, as in, is it "matthew fifeteen seven" or "Matthew 15:7" and account +# for those differences. +# This tool is only for populating the database when given + +usage = """Transcript Parser by Tyler Dinsmoor +Usage: python3 transcript_parse.py sermon_transcript.txt [../data/sermons.db] +""" \ No newline at end of file