Comments (3)
Hello Phil,
To get rid of features, you can do a second conversion to StrippedDiffable format.
java -jar BibleMultiConverter-AllInOneEdition.jar SWORD modules\texts\ztext\arasvd StrippedDiffable tmp.txt StripFootnotes StripHeadlines StripFormatting
It will output what it stripped and what other features you could strip too (you can add as many features to strip to the end as you want to). In this example, footnotes headlines and formatting are stripped. Then convert as a second step from Diffable:
java -jar BibleMultiConverter-AllInOneEdition.jar Diffable tmp.txt ZefaniaXMLMyBible arasvd_zef.xml
bsname
in Zefania XML is supposed to be (copied from the specification):
This attribute holds the book book name in short form, e.g. "Gen", in the language of the Bible book.
So, while bsname in an English Bible may be "Acts", it will be "Apg" for a German Bible. The way to detect it is actually the Book of Acts is via the bnumber
attribute (which is 44).
However, you can use the attached XSL to rewrite the bsname
based on bnumber
if you prefer.
I'll leave this issue open - feel free to close it if it answers your questions :)
from biblemulticonverter.
I tried and I still get NOTE in the way.
It's not present in the tmp.txt so I guess it's added in the converter, only first verse of each chapter.
The other ZefaniaXML export still write bsname="Genesis" too.
Thank you so much for the xsl. Very useful indeed!
from biblemulticonverter.
Ah sorry, did not notice you used ZefaniaXMLMyBible
format. If you do not want to import into MyBible (www.mybible.de) I would not recommend this format, as it contains several quirks to work around bugs in MyBible:
- Prologs will be converted into footnotes (I guess this is what tripped you here; you can also
StripPrologs
with StrippedDiffable if you don't like them) as MyBible crashes on<PROLOG>
tags - All footnotes get HTML encoded and get an extra
<p></p>
(as MyBible will HTML decode them before viewing) - Reordered (like, 1, 4, 2, 3, 5) or split verses (like 17a, 18a, 17b, 18b) will get merged to a single verse with the lowest verse number, and the "real" verse numbers get added in bold parentheses between the verses, as MyBible wants consecutive verse numbers only
- whitespace between formatting or grammar tags will get replaced by unicode U+FEFF U+0020 (modifying zero witdh non breaking space followed by normal space) as the normal MyBible importer strips "normal" whitespace between tags, and afterwards strips zero width non breaking spaces, resulting in combining words).
So you'd probably have more work "fixing" these workarounds in your XSL later, than just starting with Zefania XML and implementing the workarounds yourself.
In case your only reason to use this format was to get OSIS-like IDs in the bsname
, I guess it is easier to use my XSL instead :)
from biblemulticonverter.
Related Issues (20)
- From .chm format to EquipdEPUB format HOT 1
- Is `ide` valid in USX? HOT 6
- USFM `\fig` properties written out as plain text HOT 5
- single line OSIS file output HOT 5
- Getting exception errors HOT 4
- Bible name not found HOT 4
- Issue using "-inline" to convert Bible with more than one verse per line HOT 2
- Trouble converting USFM with Strong's numbers to LogosHTML HOT 2
- Help with command line HOT 2
- USFM word level attributes not recognized when there are nested USFM tags HOT 2
- Markdown output format HOT 4
- Help with versification HOT 4
- theWord import: <WT*> tags not implemented HOT 4
- Importing interlinear information from MySword bibles HOT 4
- Export from Accordance 13.3.2 failing on macOS HOT 3
- Bibleworks to theword HOT 1
- MyBible (SQLite3) to ZefaniaXML error HOT 2
- EquipdEpub: mimetype should be stored uncompressed HOT 3
- CCEL's ThML xml? HOT 1
- Import Beblia xml bibles HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from biblemulticonverter.