Jump to content

Please read the Forum Rules before posting.

Photo
- - - - -

Module Conversion - Bible Anaylzer / The Word / e-Sword


  • Please log in to reply
5 replies to this topic

#1 bbacle

bbacle

    e-Sword Addict

  • Veterans
  • PipPipPipPip
  • 52 posts
Offline

Posted 21 April 2012 - 02:36 PM

I would like to know if there is an easy way to convert modules between these 3 free Bible programs.
It would be great to have such a tool available.

Thanks.
Bob

#2 Josh Bond

Josh Bond

    Administrator

  • Administrators
  • PipPipPipPipPip
  • 2,890 posts
  • LocationGallatin, TN
Offline

Posted 21 April 2012 - 02:39 PM

All three use SQLite databases. It would be hard for many programmer's to do. But relatively easy for someone like Raymond to create. The topic ordering from theWord (and probably BA) would require manual tweaking by the end user for e-Sword. e-Sword continues to sort topics alphabetically, where as other software uses database fields to track the order of an ebook.

BA would be the most challenging because it uses HTML instead of RTF. But the HTML has very simple syntax, so it would be a matter of converting <b> to \b, </b> to \b0, and <i> to \i, etc. And probably account for tables and bullets if BA uses them. The resources I've seen from BA, the Hebrew was corrupted, so that's not an issue. But the Greek didn't use unicode? It would have to be converted to unicode. I think when you view the HTML source on a BA module, rather than seeing the unicode, you see the actual Greek symbols. I forget what format it's in.

Many of BA's recent modules have been copied from this website. :) BA's author got me started with python and gave me some source code examples.

#3 jonathon

jonathon

    e-Sword Fanatic

  • Contributors
  • PipPipPipPipPip
  • 753 posts
Offline

Posted 22 April 2012 - 10:55 AM

It would be hard for many programmer's to do. But relatively easy for someone like Raymond to create.


I'm trying to parse what you mean there.

Once one has the skeleton code to create a resource for one program, then, assuming good coding practices, it is a straightforward process to generate resources for the other projects. The hardest aspect is in finding out the subset of the markup language that the program can utilize.

BA would be the most challenging because it uses HTML instead of RTF. But the HTML has very simple syntax, so it would be a matter of converting <b> to \b, </b> to \b0, and <i> to \i, etc.


Both TheWord and MySword use the same HTML variant. I haven't torn apart any BA resources, and for obvious reasons, don't plan on doing so.

jonathon

#4 Josh Bond

Josh Bond

    Administrator

  • Administrators
  • PipPipPipPipPip
  • 2,890 posts
  • LocationGallatin, TN
Offline

Posted 22 April 2012 - 01:05 PM

I'm trying to parse what you mean there.

Once one has the skeleton code to create a resource for one program, then, assuming good coding practices, it is a straightforward process to generate resources for the other projects. The hardest aspect is in finding out the subset of the markup language that the program can utilize.



Both TheWord and MySword use the same HTML variant. I haven't torn apart any BA resources, and for obvious reasons, don't plan on doing so.

jonathon


TheWord, like e-Sword, uses RTF. I don't believe theWord supports html. BA uses simple HTML, easily viewable by just opening a module in a sqlite database browser.

#5 pfpeller

pfpeller

    Moderator

  • Moderators
  • 1,112 posts
  • LocationWA
Offline

Posted 22 April 2012 - 03:45 PM

I do not think that theWord uses rtf for Bible modules, but for other modules theWord uses rvf or rtf.

#6 ljenks45

ljenks45

    New to Bible Support

  • Veterans
  • Pip
  • 3 posts
Offline

Posted 26 January 2015 - 11:18 AM

Yeah there is one on BA I would like to see in Esword. Thayer's unabridged Greek Lexicon :)






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users




Similar Topics



Latest Blogs