Skip to content

Scripture Reference Standard: OSIS

To ensure search precision and consistent data parsing, this theme requires all Scripture references to follow the OSIS format.

Human-readable references must be converted into period-delimited OSIS strings:

  • Standard: Revelation 21:9-22:5
  • OSIS: Rev.21.9-Rev.22.5

Visit Bible Reference Parser Demo for more examples.

  • Sermon Entry (PagesCMS): My customised deploy of PagesCMS includes a dedicated Scripture field. It validates user input in real-time and automatically converts it to OSIS upon saving.

  • Smart Search: The Sermons page parses search queries for Scripture references. These are converted to OSIS in real-time to return precise results across specific search ranges.

  • The Tech Stack: The conversion logic relies on two core libraries to bridge the gap between human input and machine-readable data:

    1. Bible Passage Reference Parser: Interprets natural language input and converts it to an OSIS string.
    2. Bible Reference Formatter: Converts OSIS strings back into a human-friendly format for display.