Messing about with Bibles
Posted: Wed Apr 16, 2008 2:47 pm
I am a newbie. I am tasked with taking html based Bibles back to text, grooming them and then running a python script on them that reformats the text in html that's friendly to our app. I inherited all of this. I don't know how to edit the python script so I need to change the text files to something the script will accept.
So here is what I face I'll use Genesis for an example. I have to insert at least one blank line between chapters in the right spot and then pick up the book name which in this case is Genesis and append it with the proper chapter number. I just started using TextPipe today. I spent about 3 hours on it and decided to go for help.
Genesis 1
Beginnings
1:1 In the beginning
1:2
1:end of chapter
2:1
2:2
I need it to look like this:
Genesis 1
Beginnings
1:1 In the beginning
1:2
1:end of chapter
Genesis 2
2:1
2:2
and so on for Genesis 3 and forward.
So here is what I face I'll use Genesis for an example. I have to insert at least one blank line between chapters in the right spot and then pick up the book name which in this case is Genesis and append it with the proper chapter number. I just started using TextPipe today. I spent about 3 hours on it and decided to go for help.
Genesis 1
Beginnings
1:1 In the beginning
1:2
1:end of chapter
2:1
2:2
I need it to look like this:
Genesis 1
Beginnings
1:1 In the beginning
1:2
1:end of chapter
Genesis 2
2:1
2:2
and so on for Genesis 3 and forward.