Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Welcome to Talk Jesus Christian Forums

    Celebrating 20 Years!

    A bible based, Jesus Christ centered community.

    Register Log In

Programming the Bible (Feedback Requested)

I know that the more logic loops all data has to go through, the longer the search results, and speed is by far the greatest asset of this program, but I assume you check the speed after each modification?
 
Yes sir, you are correct.

Currently, though I'm 100% sure that if I tried harder I could have made it more efficient. The program is currently over 1,500 lines of code. Not including the long reference pages that list
all of the characters, and not counting the number of tables in the database.

Yea I enjoy programming. I started doing the hardest part first. In high school I learned C++ from my brother and later thought mysq PHP, SQl , Flash, Photoshop, and HTML.
Since I started C++ first which is the hardest of the 3 in high school, doing HMTL and other web programming is much eaiser.

By profession I'm a social worker(therapist), though I did minor in computer science.

Yea, I held on to the computer hobbies. It is fun, all the details of the behind the scenes working of the applications that people don't see.
 
Yes sir, you are correct.

Currently, though I'm 100% sure that if I tried harder I could have made it more efficient. The program is currently over 1,500 lines of code. Not including the long reference pages that list
all of the characters, and not counting the number of tables in the database.

Yea I enjoy programming. I started doing the hardest part first. In high school I learned C++ from my brother and later thought mysq PHP, SQl , Flash, Photoshop, and HTML.
Since I started C++ first which is the hardest of the 3 in high school, doing HMTL and other web programming is much eaiser.

By profession I'm a social worker(therapist), though I did minor in computer science.

Yea, I held on to the computer hobbies. It is fun, all the details of the behind the scenes working of the applications that people don't see.

1500 lines of code is pretty good for that program. Congratulations!
 
@Jesus_is_LORD

Greetings,

Since I started C++ first which is the hardest of the 3 in high school, doing HMTL and other web programming is much easier.

I have heard it said that code is like poetry for those who enjoy it. I only ventured into basic HTML and that sort of thing, which was fun enough and stimulating.
W3Schools was a helpful place to visit. HTML Tutorial

One day, when I've got nothing else to do.... I wouldn't mind playing around with the heavier stuff. I like to use LINUX, which is open for all to partake in. Had a few fiddles but usually messed things up!
So, what you have done is really appreciated for the likes of laymen like me.

It would be nice to see a full bottled Bible software for LINUX to run offline. There's a few out there but they don't have the same input from enthusiasts as projects like E- Sword and My-Sword (Android for E-Sword).
----------------------------------------------------
Your updates:
The new colour in the results is much better (for me)
boldness.png


Thanks for the search total results numbers and scroll to top/bottom. Is it hard to do a scroll that floats? My search on 'life' whole Bible, had 428 results but in order to scroll back to top, you either have to do so via the mouse or go the the end and then scroll using your button from there. I know it's a minute thing for users to click on the Browser scroll button so it is not really a big deal.

I am unable to view the video. Probably my browser and/or settings or maybe my OS. Might try another Browser and see if it plays.
----------------------------------------------------
By the way, how does this work on Tablets, i-Pads and Phones? Anyone tried it?


Keep up the good work,


Bless you ....><>
 

Attachments

  • boldness.png
    boldness.png
    41.7 KB · Views: 160
  • boldness.png
    boldness.png
    41.7 KB · Views: 142
  • boldness.png
    boldness.png
    41.7 KB · Views: 169
  • boldness.png
    boldness.png
    41.7 KB · Views: 146
@Jesus_is_LORD

Greetings,



I have heard it said that code is like poetry for those who enjoy it. I only ventured into basic HTML and that sort of thing, which was fun enough and stimulating.
W3Schools was a helpful place to visit. HTML Tutorial

One day, when I've got nothing else to do.... I wouldn't mind playing around with the heavier stuff. I like to use LINUX, which is open for all to partake in. Had a few fiddles but usually messed things up!
So, what you have done is really appreciated for the likes of laymen like me.

It would be nice to see a full bottled Bible software for LINUX to run offline. There's a few out there but they don't have the same input from enthusiasts as projects like E- Sword and My-Sword (Android for E-Sword).
----------------------------------------------------
Your updates:
The new colour in the results is much better (for me)
View attachment 269

Thanks for the search total results numbers and scroll to top/bottom. Is it hard to do a scroll that floats? My search on 'life' whole Bible, had 428 results but in order to scroll back to top, you either have to do so via the mouse or go the the end and then scroll using your button from there. I know it's a minute thing for users to click on the Browser scroll button so it is not really a big deal.

I am unable to view the video. Probably my browser and/or settings or maybe my OS. Might try another Browser and see if it plays.
----------------------------------------------------
By the way, how does this work on Tablets, i-Pads and Phones? Anyone tried it?


Keep up the good work,


Bless you ....><>




Thanks for the feedback.
Cool to hear about your programming background as well. Yea I dabbled in a bit of Linux as well with the command line and tryed Suse and some of the other distributions. I don't do much compiled programming now because I haven't kept up with the compilers and it takes way more time and brain power than HTML. With C++ you often are doing much from scratch, whereas HTML has many built in supports and GUIs already there.

Yes, W3schools is where I do a lot of research too. It is very helpful. I would say with most programmers you don't know everything. You have to pull from here or there and see what libraries of functions are already out there. So for example doing this project, I'm searchig the net for things like how do I remove or add white space to a search term, or what is the function again for highlighting text, or adding subscripts to text, etc. Most of the features I have added I didn't already know how to code or did and forgot, so I search it out and since I'm familiar with the language, when I see it, it makes sense to me and I can just modify it for my needs.

Let me research the floating up and down tab and see what I find.

The video is a mp4 file and I'm using the <object> tags to play it. I could use youtube,
but I didn't want to rely on their platform. I'll have to check into that. Let me know if you figure out
something on your end, like changing the browser, etc.

I haven't looked at the mobile support or i-phones, i-pads etc. I'll have to check into that.

Also let me know your thoughts. Ok I thought of another cool search feature to add, and let me know how to best phrase it.
Previously it was AND and OR, now I've added BUT NOT (let me know how to best phrase it).

It may be helpful when you want to exclude a term to narrow the search. Lets say you search for the word sin and the word lust is
in many of the results and you just want the word sin mentioned when lust is not mentioned. You would search for
"sin" BUT NOT "lust" to pull up those verses.

Let me know if that concept makes sense and if it would be helpful?
It is already added and you can play with it.
 
Thanks brother. I looked at the source code here on TalkJesus,

You can right click on any website and select view source code. Can you believe that this page for this post has
over 4,000 lines of code.Wow, take a look for yourself.

I saw some of the functions that they used and searched and found something. I am able to subsitute the text for a button if
I want, but I have the text now until I can figure out what style of button would work. The text seems to work with the style but let me know your feedback.

Thanks.

When you search on the page now it will have the scroll to bottom and top links to the left with the search result number as well.
 
Greetings again Brother Wala Neh,

I am now using Firefox and the video works fine. The other Browser, Opera' would probably work as well but I might have settings too tight? Could be I haven't added appropriate extras to play all videos. I often get a no play result but so far don't mind. (Firefox is a little too mixed with google nowdays for my liking!)

Do you think you could add an alphabet on the Lists of Women and men in the Bible? Again, a laziness feature but would save scrolling through the whole list.

It's looking good. A very pleasing feature is that it is all uncluttered and yet full featured.


I'll keep playing.... and yes, I looked at the source code and elements. I got a bit lost, mind you! so I looked up the links I gave you rather than try to find the code relevant to the Scroll feature.

The Scroll 'button' you have at present works but I needed to zoom out the page size to have it clearly visible on the side, otherwise it was over the text I was reading in the results. A different colour and simple button with words, 'Top' 'Bottom', or 'Scroll Up' 'Scroll Down' would be good. Perhaps W3 have suggestions? (I don't know if 'Bottom' is acceptable these days? Such is the way of the world.

I was looking for the Total search results and see you put it with the Scroll button. Is that because of the nature of the scroll feature or something you thought might be a good idea?


Bless you ....><>
 
Greetings again,

I'll try other OS's and browsers and also Android and get back to you with the results, It might take a day or two or...


Bless you ....><>

Now on Android (Firefox Browser)
.
All works however, the text is far too small for me and zooming in in portrait mode doesn't allow for easy reading. Landscape mode is better but still can't access the whole page easily
.
I noticed no Scroll feature on the Reference and Read pages. Also the Scroll button is 'covering' text in Portrait mode .

EDIT: Now on Puppy Linux Slacko using firefox. All good except video.
Message is:
No video with supported format and MIME type not found
Not necessarily on your end but indicative of the limitations of the video format you are using. I agree with you regarding NOT using youtube. Stay with that if you can.

ps.... you should try Puppy one day. Amazing little OS that runs entirely on RAM using Kernel. I like to think of it as Kennel rather than Kernel. Leaves no trace on PC and is quick, steady and full featured... except obviously here but that is something I can tweak if I want to. Open Source, secure and fun as well as customizable.

I'll try a few more.

------------------------------------------
Bless you ....><>
 
Last edited:
Greetings again Brother Wala Neh,

I am now using Firefox and the video works fine. The other Browser, Opera' would probably work as well but I might have settings too tight? Could be I haven't added appropriate extras to play all videos. I often get a no play result but so far don't mind. (Firefox is a little too mixed with google nowdays for my liking!)

Do you think you could add an alphabet on the Lists of Women and men in the Bible? Again, a laziness feature but would save scrolling through the whole list.

It's looking good. A very pleasing feature is that it is all uncluttered and yet full featured.


I'll keep playing.... and yes, I looked at the source code and elements. I got a bit lost, mind you! so I looked up the links I gave you rather than try to find the code relevant to the Scroll feature.

The Scroll 'button' you have at present works but I needed to zoom out the page size to have it clearly visible on the side, otherwise it was over the text I was reading in the results. A different colour and simple button with words, 'Top' 'Bottom', or 'Scroll Up' 'Scroll Down' would be good. Perhaps W3 have suggestions? (I don't know if 'Bottom' is acceptable these days? Such is the way of the world.

I was looking for the Total search results and see you put it with the Scroll button. Is that because of the nature of the scroll feature or something you thought might be a good idea?


Bless you ....><>


Thanks for all the beta testing.
I did add the total search results to the left because if seemed like a good idea. I am able to put it back where it was before if that would be better.
I was thinking of how when you scroll the total search results goes away, but I also kinda missed it at first. Let me know what you think, if I should bring
it back and not have it be a sticky.

I agree with the alphabet list for the reference pages as well as for the reading page, that is a good idea. I'll add that. I was thinking about it.

I'll also try anchoring that more to the left and let you know so you can test it when I'm done, maybe in a day or two. I've been so productive because I've been on break, 10 days off from work. Winter break. I go back to work tomorrow so coding will continue but not as many hours of coding now since I'll be
spending 8 of those at work.

I'm currently using an mp4 video file. Maybe I should convert to .mov or .avi. I assume most will support those basic formats.

I created a todo list for the site currently on the list is


***Try anchoring scroll up and down links to the left
***Explore possible up and down buttons with words on them
***Review video format, other than mp4
***add scroll for reference page with alphabet indexes
**add scroll for reading pages
***Finish adding red letter to new testament books
***Finish adding search links to reference page
 
I'm also thinking of moving the part where it says for example

"Search Term: adam BUT NOT eve FOUND IN The Whole Bible"

To the left to be a sticky so when you scroll it stays fixed. I'm just thinking about
the eyes and having to look to the left and back to the middle for that information.
The thought is if I have it all together it is easier on the eyes.

What do you think?
 
Greetings again,

sorry to use another post here. My present Browser etc won't let me edit my previous post.

Brother, here using Bodhi Linux with Midori Browser. Not the best for full features in general. Adequate for the most part. For your site, it has dark search boxes. I probably won't use it often but thought you might like to know.
The video won't play on Midori. There may be very few who would use it anyway who would access it anyway. I don't use it much at all.

A copy paste from there:
And let the beauty of the LORD our God be upon us: and establish you the work of our hands upon us; yea, the work of our hands establish you it. Psalm 90:17

You mentioned it is the KJV but I don't think it is. Is it a new version you are using?
I can't see a 'back' button to get back to the search results after looking at a result in context.

I clicked on Buz in the Men's names section and apart from his brother Huz the other results had 'buzzard' 'Buzite' and 'Buzi'. Can we elect ONLY the word chosen, as in, no words containing the searched word? I had at one stage considered aname, Buz Zuph for a son but figured he would probably upset some when asked what his name was! Nice enough meanings but English is english...


Bless you ....><>
 
I'm also thinking of moving the part where it says for example

"Search Term: adam BUT NOT eve FOUND IN The Whole Bible"

To the left to be a sticky so when you scroll it stays fixed. I'm just thinking about
the eyes and having to look to the left and back to the middle for that information.
The thought is if I have it all together it is easier on the eyes.

What do you think?

Personally i think it would be best where it was but perhaps try moving it and let's see how it looks and performs.

Please note the comment about a 'Back to results' type of button.

I am logging off again to change Distro's. This one is a little inferior for my needs at present.


Bless you ....><>
 
@Brad Huber

Greetings Brad,

what OS are you using. My beta testing is from Linux so won't necessarily give good results for windows users... or apple users, etc
Also what Browser?

Can you see the Scroll to top and bottom 'button on the left hand side? If so, how does it sit on your page?

Might be a few other things that have been discussed here that you might find different?


Bless you Brother ....><>

ps... how is your wife now?
 
@Brad Huber

Greetings Brad,

what OS are you using. My beta testing is from Linux so won't necessarily give good results for windows users... or apple users, etc
Also what Browser?

Can you see the Scroll to top and bottom 'button on the left hand side? If so, how does it sit on your page?

Might be a few other things that have been discussed here that you might find different?


Bless you Brother ....><>

ps... how is your wife now?
Using windows 10 with firefox browser. My wife got out of the hospital new years eve from intestinal blockage surgery. She is weak and has other problems that now have to be addressed. I am taking her to her doctor today, for higher than normal blood pressure, irregular heart beat, and a few other lingering effects of the intestinal problems that she can get advice on the proper medication. She wasnt sure the meds they prescribed her (which we havent been able to get yet due to her pharmacy closed Sun and Mon) were best.
 
Using windows 10 with firefox browser. My wife got out of the hospital new years eve from intestinal blockage surgery. She is weak and has other problems that now have to be addressed. I am taking her to her doctor today, for higher than normal blood pressure, irregular heart beat, and a few other lingering effects of the intestinal problems that she can get advice on the proper medication. She wasnt sure the meds they prescribed her (which we havent been able to get yet due to her pharmacy closed Sun and Mon) were best.

Sounds like you have enough on your plate at present, Brother. May you both know that your Shepherd is with you, His Rod and His Staff keeping you and delivering you from all evil.

Get back to this when all is settled, Brad. Until then,

Blessed be the God and Father of our Lord Jesus Christ, which according to His abundant mercy has begotten us again unto a lively hope by the resurrection of Jesus Christ from the dead, 1Peter 1:3


Bless you ....><>
 
I created two buttons in MSpaint, even added a little shadow .I have put the total search results back to the center where it was before. On the buttons I have first and last, instead of scroll up or down, or top or bottom.

Does the spacing fit on your screen now?
 
Back
Top