Re: 1. OSIS XML->e-Reader, 2. OSIS2USFM
pierre amadio <[email protected]>
| Newsgroups | gmane.comp.literature.sword.devel |
|---|---|
| Message-ID | <CAOTAUqJ9rBpFTAYaswj+t8EFhHyttrBM72zD+j-NEyrqQgBWOg@mail.gmail.com> |
Hi there. 1) I created an epub from an Osis file this way: https://github.com/pierre-amadio/epub-hb/tree/main/notes The idea is to parse the original xml file to convert it to simple html and create a matching table of content. Then to add the resulting file in an epub with sigil. https://sigil-ebook.com/ A script that does something similar (greek new testament) using the sword library: https://github.com/pierre-amadio/SwordSandBox/blob/master/python/epub/test.py 2) I had a similar issue when dealing with the LXX module (a title node was not at the right place). Using beautiful soup, moving node in a xml file is easy: https://www.crummy.com/software/BeautifulSoup/bs4/doc/ This is how i dealt with the title node that needed to be moved: https://github.com/pierre-amadio/LXX/blob/main/bin/5-specific-pssol.py On Tue, 20 Dec 2022 at 20:14, Marjan Šavli <[email protected]> wrote: > > > Hi! > > Two short questions: > > 1. How can I make Bible to be displayed on e-reader (Kindle, Kobo...) > Bible source is in OSIS XML format. > (In free-scriptures there is a way to make epub format.) > > > 2. I also tried to convert the module SloKJV to USFM, but I have some problems with Psalms and my low knowledge of python. This should not be one time only conversion. Needed to be automated. Problem is defined on stackoverflow.com. > > > Thanks for answering my questions > > Best regards, > > ------------ Marjan ---------- > e-mail: [email protected] > -------------------------------------- > _______________________________________________ > sword-devel mailing list: [email protected] > http://crosswire.org/mailman/listinfo/sword-devel > Instructions to unsubscribe/change your settings at above page _______________________________________________ sword-devel mailing list: [email protected] http://crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page