This conversion tool enables you to convert a Bible translation (in one of the supported formats) to the XML format used by rBiblia. The subsequent conversion from *.xml to a *.bibx file can be accomplished using the free xml2bibx translations converter.
Supported input formats are:
| Name | Id | File extension |
|---|---|---|
| eSword | sword | *.bblx, *.mybible |
| Zefania | zefania | *.xml |
| theWord | word | *.ot, *.nt, *.ont |
| tab as a separator | tsv | *.tsv |
| comma as a separator | csv | *.csv |
| MyBible (Android) | mybible | *.SQLite3 |
Note
Compiled bib2xml.phar file can be downloaded directly from the GitHub Releases page. To use the converter, PHP v8.2 must be installed on your operating system.
You need to have PHP v8.2 or newer installed onto your system.
- clone this repo
- go to the
./projectfolder - run
composer install -o --no-dev - go back to the main folder
- run
create-phar.batfile
bib2xml.phar file will be created in ./bin folder.
Converter requires PHP v8.2 installed onto your system to work.
Example of use (from the ./bin folder):
php bib2xml.phar convert input_translation.bblx output_translation.xml swordor just
php bib2xml.phar convert input_translation.bblx-
v0.6.1.0 (2024-08-26):
- upgraded PHP to v8.2
- added GitHub Action for release automation
- fix incorrect namespace in exception classes
-
v0.6.0.0 (2023-11-24):
- added
csvinput format support
- added
-
v0.5.0.0 (2022-03-17):
- upgraded PHP to v8
- added
mybibleinput format support - added input file format auto-detection
- minor fixes and improvements
- added
bib2xml.bathelper inbinfolder
-
v0.4.0.0 (2021-05-04):
- added
tsvinput format support - added support for
3esbook - small internal fixes
- added
-
v0.3.0.0 (2020-12-15):
- added
theWordinput format support - added text sanitizer for global use when parsing translations
- generate default output filename if no output given
- many internal improvements and fixes
- added
-
v0.2.0.0 (2020-12-06):
- added
Zefania XMLinput format support - added additional trim rules for eSword input format
- directory structure fixes
- added
-
v0.1.0.0 (2020-12-04):
- initial release (
eSwordinput format support only)
- initial release (
Author: Rafał Toborek
Feel free to contribute and support my work.
Download rBiblia for free here.