Scripture Reference Standard: OSIS
To ensure search precision and consistent data parsing, this theme requires all Scripture references to follow the OSIS format.
Formatting Example
Section titled “Formatting Example”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.
Features & Integration
Section titled “Features & Integration”-
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:
- Bible Passage Reference Parser: Interprets natural language input and converts it to an OSIS string.
- Bible Reference Formatter: Converts OSIS strings back into a human-friendly format for display.