Jump to content

Please read the Forum Rules before posting.

Photo

How to convert MySword to MyBible reference links


  • Please log in to reply
3 replies to this topic

#1 Plasticsoul

Plasticsoul

    New to Bible Support

  • Veterans
  • Pip
  • 2 posts
Offline

Posted 22 March 2019 - 05:24 AM

Hi guys, can you help me please?

 

I'm converting MySword to MyBible but MySword links are in this format:

<a class='bible' href='#b45.8.24'>Rm 8:24</a>

<a class='bible' href='#b52.1.2-52.1.5'>Tes </a>

 

And I want to convert it to MyBible format, example:

<a href='B:490 1:2'>Lucas 1:2</a>

 

How can I do this? Do you have some script to share? I know php and javascript, sqlite and I have Ubuntu and Windows 10.

 

 



#2 JPG

JPG

    Jon.

  • Moderators
  • 1,675 posts
Online

Posted 22 March 2019 - 09:00 AM

They have all the info you need on their site.

https://mybible.zone/code-eng.php

 



#3 Plasticsoul

Plasticsoul

    New to Bible Support

  • Veterans
  • Pip
  • 2 posts
Offline

Posted 25 March 2019 - 04:32 AM

They have all the info you need on their site.

https://mybible.zone/code-eng.php

I know this site, but it doesn't has algorithms, by the way, I just made a node.js script to convert them.

God bless you.  ;)



#4 JPG

JPG

    Jon.

  • Moderators
  • 1,675 posts
Online

Posted 25 March 2019 - 04:35 AM

Great!

Is it something you can share on this forum for others to benefit?






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users




Similar Topics



Latest Blogs