Plugin: Bible Citation

Not yet, as the plugin It's in its first stages and I think there is some work to do. btw how can I add it to the official repo? I'm very new to the Joplin community.
Thanks

Would be nice to convert e-Sword bblx files to work with this plug-in.

1 Like

There is a program to convern any bible format from one another. It's called " Church Software: Simple Bible Reader / Converter"
I used that software to convert a normal xml bible to osis xml, but I think it supports e-Sword bibles.

Another issue is that the bibleIndex is only in Spanish. This would have to be adapted as well. I looked at your code and it is not bad for someone who started programming. I suggest to look at certain programming patterns, but I am also thinking that there are people visiting this forum who can help.

I'd love to help, but I haven't even found the time to write the Trash plugin yet. I have parts of it in my head, but other parts still have to be figured out, b/c the API most likely does not support what I want to do. Thus I might have to add that to the API first, which is an enhancement to the core code which I did not plan to do for the plugin. (And it is not clear, whether such a change would be accepted.)

1 Like

@skim1124
I made a lot of bug fixes on the plugin.
Try the new version 0.3.0 under releases and let me know if it works for you!
But before trying anything please read the README in my repository.

Now I also added english support!
I hadn't added it because I couldn't pass the settings values to the markdown plugin, but now I found a way around to make it work. I'll post what I did on my other post.

I fixed some issues with the code. Please read the README in my repository and try the new version 0.3.0.
Let me know if it works for you!

I think this post has information, but it may be out of date:

1 Like

Thanks. The Simple Bible Reader solved the problem. It converted the xml file to an OSIS xml file (I don't know what that means, but it works), and now it's working as intended. Thanks again for a very cool plugin.

Would it be possible to add options for displaying the name of the book and chapter differently. For example, most of the time I'd prefer to see the reference on one line, rather than two lines (e.g. Genesis 1:1-3).

1 Like

Please make sure that the versions are the same in manifest.json and package.json.
I can have a look at the files before you want to publish your plugin to npm, if you want.

1 Like

I had the same thought when I started the plugin, but at first I implemented it as it is now because of simplicity; but now I'm working on a feature to allow the selection of the display format as you say.

1 Like

Thanks! I look forward to the changes.

1 Like

I modified the version on my package.json to match my manifest.json and then ran npm run update, which updated the package-lock.json.
Can you take a look to my files before I publish it?
Thanks!

Yes, looks good, but I'd change the homepage url to https://github.com/DanteCoder/JoplinBibleQuote#readme
(but you don't have to)

3 Likes

It's finished!
You can wait for version 1.0.0 directly on juplin plugin list, or you can download the jpl from my releases page on my repository.

I implemented it this way:
If your cite only spans a chapter, in the viewer you'll see only the cite.
if your cite spans more than one chapter, it'll also show the chapter numbers.
if your cite spans more than one book, it'll also show the book names.

Awesome! I'll wait to update it from the plugin list and then give you some feedback, if needed.

1 Like

Version 1.0.0 does exactly what I want it to do. Thanks!

Not necessary but just for fun, maybe you could add the option to show the version after the citation: e.g. Genesis 1:1 (ESV), John 1:1 (KJV), etc.

1 Like

Thank you for your feedback! I'm glad it's useful for you.

I'll put that on my "good ideas" list.

Hi everyone!
I'm working on displaying multiple Bible versions in the render.
Please let me know your thoughts of what I've done already:

image

I still don't decide how to present the setting to the user to import multiple bibles. I was thinking providing a path to the folder containing all the bibles.
Also, how to get an input from the user to know which bible versions to display.

BTW, I worked on cleaning a lot the code to make it more easy to read/contribute.

1 Like

One folder for all bible versions sounds very good, and easy to manage.

For the default version, perhaps you could have a setting that lists the files in a drop-down list, allowing the user to select? Or a file browser dialogue to navigate to the file the user wants.

I guess in the settings, you would also want the user to be able to specify the home folder location for bible versions (unless the plugin itself creates a default location that is not customizable by the user), and leaves it to the user to move the bibles there.

Good luck!

1 Like