iPhone/iPad URL Schema

Discussions around the iPhone/iPad/iPod Touch versions of the Gospel Library application.
mnickel
New Member
Posts: 8
Joined: Sun Feb 06, 2011 1:24 pm

iPhone/iPad URL Schema

Postby mnickel » Sun Feb 06, 2011 1:28 pm

Is there a URL schema to open a verse from outside of the application? I have created a few ePubs for my personal use and I would like to click on a scripture reference and have it open the Gospel Library app and go right to that reference.

Thanks.

jbh001
Community Moderators
Posts: 854
Joined: Thu Mar 13, 2008 5:17 pm
Location: Las Vegas, NV

Postby jbh001 » Sun Feb 06, 2011 3:01 pm

Here is a sample URL.
http://lds.org/scriptures/nt/john/1.1-5,14?lang=eng#1

1.1-5,14 tells it go to chapter 1, and highlight verses 1 thru 5, and verse 14.

#1 tells it to begin displaying the text at verse 1


http://lds.org/scriptures/nt/john/1.1-5,14?lang=eng#NaN

#NaN apparently tells the browser to start displaying text from the chapter heading (or before).


Here is another example.
http://lds.org/scriptures/bofm/3-ne/11.14?lang=eng#10


EDIT: Oops, I missed this part about having it launch the Gospel Library app instead of just using the browser. I don't know how to create a link that will launch the Gospel Library app and pass a reference to it. Here is some helpful information that you might already be aware of. http://iphonedevelopertips.com/cocoa/launching-other-apps-within-an-iphone-application.html

mnickel
New Member
Posts: 8
Joined: Sun Feb 06, 2011 1:24 pm

Postby mnickel » Sun Feb 06, 2011 9:55 pm

The URL schema is registered with Apple. For example, Gospel Library could be gospel:// and the rest of the URL could follow the lds.org URL. But it must be built into the app. Has this already been done? If it has, what is the URL? If it hasn't, can it be added?

mnickel
New Member
Posts: 8
Joined: Sun Feb 06, 2011 1:24 pm

Postby mnickel » Sun Feb 06, 2011 10:18 pm


mnickel
New Member
Posts: 8
Joined: Sun Feb 06, 2011 1:24 pm

Postby mnickel » Fri Feb 11, 2011 9:14 am

Any thoughts on this by anyone?

mnickel
New Member
Posts: 8
Joined: Sun Feb 06, 2011 1:24 pm

Postby mnickel » Tue Jan 31, 2012 11:49 pm

Any update on this?

laughing_elk
New Member
Posts: 5
Joined: Thu Apr 28, 2011 9:49 pm

Re: iPhone/iPad URL Schema

Postby laughing_elk » Thu Apr 24, 2014 4:36 pm

It looks like the LDS Music app has an API for doing this sort of thing.
https://tech.lds.org/wiki/Syntax_for_li ... usic://%29

I've tried putting links like this in my ebook and they work great.

Will the Gospel Library app also have this functionality? Does it already? If so, I can't find any documentation on it.


Return to “iPhone/iPad Gospel Library”

Who is online

Users browsing this forum: No registered users and 1 guest