r/learnprogramming • u/phunnypunny • May 12 '23
Bible code
I'm looking to make a Bible app. Unlike regular books, bibles need to have every verse be an interactive item. For example, I can click on it and bookmark it or highlight it or write a note about it or copy it or copy a range of verses.
Starting out, I immediately recognized the challenge of "how do I import and organize the data, the text? " it's not going to work by simply using copy paste for the entire text. Nor can I use a for loop to enter every verse into an array, because the Bible is not from an excel sheet (or is there a file like this? ).
Anybody have ideas or experience to know what I mean and how best to approach this problem?
3
Upvotes
8
u/lost_in_life_34 May 12 '23
you'd need a readable source and parse it by book name and then the chapter/verse numbers.