Personal Online Journal

Friday, January 25, 2019

Formatting URL to Position the Browser to a Particular Verse

-
This is the current format for scripture references:
https://www.lds.org/scriptures/nt/1-cor/1?verse=21-25&lang=eng#p21
  • https://www.lds.org OR gospellibrary://content – LDS.org or the Gospel Library app.
  • /scriptures – section of LDS.org or content type.
  • /nt – testament / work / volume of scripture (ot / nt / bofm / dc-testament / pgp).
  • /1-cor – scripture book.
  • /1 – chapter.
  • ?verse=21-25 – verse(s) to put a callout box around, optional. If not specified, no callout boxes will be drawn. This can be a single verse, a range, or a series (for example, "2-5,7" is valid).
  • &lang=eng – language, optional. If not specified, link will default to the browser/device language (which could give an error if the content doesn't exist in that language).
  • #p21 – verse to scroll to, optional. If not specified, chapter will load to the top.
Samuel Bradshaw • If you desire to serve God, you are called to the work.
("Formatting url to search for specific verses", 10 Dec 2017 tech.lds.org)
-

No comments: