mvnForum Homepage

Print at Jul 12, 2014 1:31:56 AM
Posted by timmfisk at Jan 9, 2011 11:00:47 PM
Database
What database tool can I use to view the .idx and .dat files? I was hoping that SQL Server or Access (yuk) may help in this. Any info would be a great help.

Posted by karl at Jan 10, 2011 7:35:46 PM
Re: Database
There really aren't any "viewer"-type tools, but mod2imp is useful for dumping a module in "import" format so that you can see the keys and content adequately.
----------------------------------------
Project Admin, Xiphos

Posted by timmfisk at Jan 11, 2011 1:58:08 AM
Re: Database
Thanks for the info. Does this mean that there is no way to get the data outside of this mod? Is this something like an ISAM db?

Posted by jonmmorgan at Jan 18, 2011 4:30:18 AM
Re: Database
The module format is an internal format, specific to SWORD. It is not using any standard database format. While people can and have tried to access it directly, the format varies depending on what type of module it is (e.g. Bible, commentary, dictionary, Genbook), whether it is zipped or not, and what versification it uses, so most attempts end up lagging behind SWORD. Probably the best supported way of getting data out of the module is mod2imp, but even then it may be subject to copyright restrictions and working with the data in that form is not recommended.

It is also possible to access the module contents directly using the SWORD API, or one of its bindings (such as the Python or Perl ones).