Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 02 Oct 2014, 09:13
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Documents
Psword-0.7 gtkdialog bible reading software
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 4 Posts_count   Goto page: 1, 2, 3, 4 Next
Author Message
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Wed 08 Oct 2008, 20:31    Post_subject:  Psword-0.7 gtkdialog bible reading software
Sub_title: uses the sword libraries also posted here
 

Here's a simple gtkdialog program for bible reading using the sword library. It uses the cli tool "diatheke" from the sword package as a backend. The gui will display selected chapters/verses from the selected book using gtklogfileviewer. It has a phrase search option and can be used to download sword bible modules. You will need to install the sword package and the psword package to use it. Psword will be in your "Personal" menu. Sword will make the module install path /usr/share/sword as the default but you can move that to another location if you wish. You will just need to select that location from within the psword gui.

I thought a simple gtkdialog program would be nice to have since all I can find requires gnome (gnomesword), kde (bibletime), or java (jsword). It isn't fancy but it serves its purpose. If anyone uses it please let me know if you find any bugs or want anything added to it.

0.7 - Added a way to remove modules from within the gui as well as alphabetizing the bookmarks and a way to edit bookmarks from within the gui. Created an English .mo file so if anyone wants to internationalize this it'll be easier. Added Ibidem's fix to wrap the lines in the gtkdialog display. Cleaned up the code a bit.

I also compiled the latest sword library. The script will work with either sword package.
sword-1.6.2-i686.pet
Description 
pet

 Download 
Filename  sword-1.6.2-i686.pet 
Filesize  776.23 KB 
Downloaded  295 Time(s) 
sword_DEV-1.6.2-i686.pet
Description 
pet

 Download 
Filename  sword_DEV-1.6.2-i686.pet 
Filesize  515.92 KB 
Downloaded  287 Time(s) 
psword-0.7.pet
Description 
pet

 Download 
Filename  psword-0.7.pet 
Filesize  11.17 KB 
Downloaded  912 Time(s) 
sword-1.5.11.pet
Description 
pet

 Download 
Filename  sword-1.5.11.pet 
Filesize  547.95 KB 
Downloaded  912 Time(s) 
sword_dev-1.5.11.pet
Description 
pet

 Download 
Filename  sword_dev-1.5.11.pet 
Filesize  77.24 KB 
Downloaded  780 Time(s) 

Edited_times_total
Back to top
View user's profile Send_private_message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Wed 08 Oct 2008, 20:36    Post_subject:  

Here's a picture of the 1st dialog box.

If you don't have any sword modules installed you can check the box for "Download a new sword bible module?" and click ok. From there you can select the language and then select the bible you want to download.

Otherwise, select your book and bible version and then click ok to go to the 2nd dialog box below.
psword1.jpg
 Description   
 Filesize   20.28 KB
 Viewed   2271 Time(s)

psword1.jpg


Edited_times_total
Back to top
View user's profile Send_private_message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Wed 08 Oct 2008, 20:37    Post_subject:  

Here's a picture of the 2nd dialog box.

Here you will see the book and bible versions selected from the previous dialog. You can now select the chapter (all is the default) and then enter a verse or a range of verses (e.g. 3-6). Leave the search box blank if you want to display the selections and click ok. You will then get a gtklogfileviewer popup displaying the selected chapters/verses. If you enter a word/phrase in the search box and then click ok you will get a gtklogfileviewer popup displaying all the verses found that meet your search criteria.
psword2.jpg
 Description   
 Filesize   18.68 KB
 Viewed   2352 Time(s)

psword2.jpg

Back to top
View user's profile Send_private_message 
bones01

Joined: 11 Aug 2008
Posts: 371
Location: Melbourne, Aus

PostPosted: Mon 13 Oct 2008, 18:01    Post_subject:  

It seems to be working fine for me. I've downloaded a greek bible, which will be handy to have, but it's all gibberish. If I need to install a Greek font, can you let me know if I need a specific one please?

Thanks.

Also downloaded ESV module. That has some strange characters come up as well, but is readable between them.

Thanks for making this available. I've been trying to find something like this for a while and kept getting lost in the forums.

_________________
Dell Latitude D630 running Puppy 5.2.8 frugal, Macpup 525 frugal (if I can get it working again)
Precise Puppy 5.4 live DVD
Back to top
View user's profile Send_private_message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Mon 13 Oct 2008, 19:45    Post_subject:  

What module did you download besides ESV? Which locale do you use in Puppy? There is a locale switch in diatheke but I'm not sure if it'll help or not. Try this at the command line:

diatheke -b (module name - e.g. ESV) -o fmnx -k Jn 3:16

and then:

diatheke -b (module name - e.g. ESV) -o fmnx -k Jn 3:16 -l (your locale abbreviation - e.g. en)

See if there's a difference between the two. If the forced locale helps out I can change a bit of code and post a 0.2 version.
Back to top
View user's profile Send_private_message 
ttuuxxx


Joined: 05 May 2007
Posts: 10762
Location: Ontario Canada,Sydney Australia

PostPosted: Tue 14 Oct 2008, 04:38    Post_subject:  

This looks like the start of something really interesting, Do you think you might make a full GUI with highlight, bookmarks and maybe printing?
just wondering, I might be asking too much at this point, But anyways very good work.
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send_private_message Visit_website 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Tue 14 Oct 2008, 09:33    Post_subject:  

Those are good ideas and I'll certainly consider them. Hopefully I'll have some spare time for those improvements.
Back to top
View user's profile Send_private_message 
KF6SNJ

Joined: 19 Jun 2007
Posts: 698
Location: Distressed States of Amerika

PostPosted: Tue 21 Oct 2008, 00:55    Post_subject:    

I decided to try this on Puppy 4.1 as it was suggested that perhaps Psword could be used in ChurchPup Concordia Edition. Unfortunately, I tried to install the ESV bible and it made about seven or eight attempts before I stopped it. I think that there may yet be some work to do. I will watch how development goes. I won't include in the version of Concordia I am presently working on, but as it progresses, I may consider it in the future. It does hold a lot of promise. I look forward to watching its progress. Who knows, it could eventually become a hightly viable alternative to BibleDesktop. Please keep me posted.
_________________
The only windows I have are those on my home.
Back to top
View user's profile Send_private_message Visit_website YIM 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Tue 21 Oct 2008, 10:07    Post_subject:  

I'm unsure what problem you're encountering. The ESV bible downloads and installs fine for me (as do countless others that I've tried). Try starting psword from rxvt and post whatever errors are displayed.
Back to top
View user's profile Send_private_message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Tue 21 Oct 2008, 10:53    Post_subject:  

While I'm waiting for KF6SNJ's reply I thought that maybe the problem could be that www.crosswire.org was down or possibly no internet connection was present when trying to download a bible module. I added a little code that will ping www.crosswire.org first before trying to connect. That will be in 0.2 but I'll wait to see if there's possibly another issue first.
Back to top
View user's profile Send_private_message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Tue 21 Oct 2008, 19:24    Post_subject:  

Alright, I posted a 0.2 version. Give this one a try and post your results please. I added the ping check to www.crosswire.org when attempting to download a module. I also added the ability to bookmark and exporting to leafpad for printing.
Back to top
View user's profile Send_private_message 
ttuuxxx


Joined: 05 May 2007
Posts: 10762
Location: Ontario Canada,Sydney Australia

PostPosted: Wed 22 Oct 2008, 02:20    Post_subject:  

plinej wrote:
Alright, I posted a 0.2 version. Give this one a try and post your results please. I added the ping check to www.crosswire.org when attempting to download a module. I also added the ability to bookmark and exporting to leafpad for printing.
Maybe you could export it to Abiword instead? The reason is for maps? Oh by the way do the map files work on here also like Bibletime,? I don't use them, but I'm sure others might.
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send_private_message Visit_website 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Wed 22 Oct 2008, 08:45    Post_subject:  

0.3 is up

Okay, I changed it so it exports to abiword for printing. I'm not sure what you mean by the "map files".
Back to top
View user's profile Send_private_message 
KF6SNJ

Joined: 19 Jun 2007
Posts: 698
Location: Distressed States of Amerika

PostPosted: Wed 22 Oct 2008, 09:31    Post_subject:  

I used Opera to check the crosswire site, so it was not my internet connection or the crosswire site. I am wondering if the download was not 100% complete (never mind that I used wget to get the program). I will check out the 0.3 release this weekend. I think being able to ping crosswire will help. However, I have noticed that Psword is not setup to access crosswire beta. This is a feature that would be needed in Concordia. Also, being able to display maps would be very handy.
_________________
The only windows I have are those on my home.
Back to top
View user's profile Send_private_message Visit_website YIM 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Wed 22 Oct 2008, 09:51    Post_subject:  

Alright, I'm awaiting your response to figure out why you can't download a module using psword. The program just uses wget to download the modules that are all listed at /usr/share/psword/repos. I'll look into the maps that you guys are talking about but I'm not sure what they are right now. I'll go to crosswire.org and see if I can figure out what you're talking about.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 4 Posts_count   Goto page: 1, 2, 3, 4 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Documents
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0775s ][ Queries: 13 (0.0050s) ][ GZIP on ]