mvnForum Homepage Welcome Guest  | Guest Setting  |  Register  |   Login
  Search  
Index  | Recent Threads  | Unanswered Threads  | Who's Online  | User List  | Help


»

No member browsing this thread
Thread Status: Active
Total posts in this thread: 5
Post new Thread
Author
Previous Thread This topic has been viewed 4221 times and has 4 replies Next Thread
Male RhemaSound
Stranger




Joined: Nov 26, 2005
Post Count: 3
Status: Offline
Reply to this Post  Reply with Quote 
PHP or Python

Are there any plans to release a web interface on a platform other than java, like PHP, Python or even Perl?
[Apr 28, 2009 1:53:52 AM] Show Printable Version of Post    View Member Profile    Send Private Message    rhemasoundorg    rhemasoundorg    470282087 [Link] Report threatening or abusive post: please login first  Go to top 
Male jonmmorgan
Regular




Joined: Dec 12, 2008
Post Count: 31
Status: Offline
Reply to this Post  Reply with Quote 
Re: Python Web Application

I am not aware of any plans for another web application. It would certainly be possible to write such an application using the SWIG bindings. The Python bindings are maintained by the BPBible developers and work well. You could also look at the BPBible modules swlib and backend, which add additional useful methods and wrappers (and in the case of backend) renders the text as we want it (which may not be how you want it, but that's another matter).

What exactly are you wanting to do? Do you have any particular plans to make a web application, and if so about how it will be distinguished from biblegateway and friends, or where it will be hosted?

Should you go ahead with such a thing, I am not clear about the distribution status of any copyrighted modules that you use. It would be worth checking this to make sure you are able to serve passages from such works before you include them.
[Apr 28, 2009 3:51:36 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Male Osk
Developer
Member's Avatar


Joined: Sep 17, 2003
Post Count: 211
Status: Offline
Reply to this Post  Reply with Quote 
Re: PHP or Python

There's a Perl-based CGI interface that uses the program diatheke. (Diatheke and the CGI interface are both included in the Sword source tarballs and probably in a few packages.)

However, since I haven't worked on this code in a number of years, it won't take advantage of newer features. I plan to improve the TCL-based eggdrop script, which also uses diatheke, soon. So the CGI script might improve slightly, but I don't have any plans to make major improvements to the CGI script.
[Apr 28, 2009 6:04:32 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male Kriss
Stranger



scripture.sf.net
Joined: Sep 1, 2011
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
Re: PHP or Python

Hello; i am working on project "Scripture"; wich is a Open Source PHP, mobile, and web bible study application. And i wish to learn more about how i could make it possible to infact use these databases. (This makes it infact OS-independent; and would work on most applications).

I'm aware of mod2osis for example. But i would very much like a PHP alternative to this so i could implement it into my project. Wich would give users ability to import these modules from the sword project. OSIS format also seem a bit complicated, and would require much time for developing a converter to it.

I would be grateful for any help on the matter.

Demo: http://scripture.sf.net
Project Home: https://sourceforge.net/projects/scripture
[Sep 1, 2011 4:05:13 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Male jonmmorgan
Regular




Joined: Dec 12, 2008
Post Count: 31
Status: Offline
Reply to this Post  Reply with Quote 
Re: PHP or Python

I have no specific experience with PHP, so I will just make some general statements:
1. CrossWire doesn't encourage people to export SWORD modules into a different format for usage. While it is certainly possible, many modules have compromises that have been made to suit the SWORD Project, and so it is considered preferable to view the original source.

2. Many of the Bibles and other books provided by CrossWire are copyrighted, and only CrossWire has permission to distribute it. If you were to use them you would need to investigate if permission is needed and then obtain said permission.

3. If you want a simpler version than OSIS, SWORD can output modules as plain text (which is used in searching), as well as in HTML. These outputs will all be specifically designed for SWORD, and may not do what you want or be able to be converted into a format you want. (As a result of (1), there is likely to be little or no support for this option, so YMMV).

I believe there are also PHP bindings to SWORD. However, I do not know whether they work or not, and even if they did they would be linking to a C++ library and may not be permitted in all hosting environments.
[Sep 19, 2011 5:16:46 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Show Printable Version of Thread  Post new Thread