Entering conventional references (New Testament currently) should result in an osisRef:
→
Parse with PHP
parse_reference("Rom. 5:5-8") == Rom.5.5-Rom.5.8
parse_reference("Rom. 5:5-8") ==
format_osisref("Rom.5.5-Rom.5.8") == Romans 5:5-8
format_osisref("Rom.5.5-Rom.5.8") ==
JavaScript source: reference-parser.js
PHP source: reference-parser.lib.php