Thread

Zero-JS Hypermedia Browser

Relays: 5
Replies: 11
Generated: 17:15:48
Login to reply

Replies (11)

You have to remember that there is also a human-readable "title" tag. These are only for the macro and can be rendered prettily, for the reader. For instance, I get rid of all hyphens in the "T" tag and display it as Title Case. So `["T", "song-of-solomon"]` is displayed as "Song of Solomon".
2025-11-18 12:38:35 from 1 relay(s) ↑ Parent Reply
Sections, chapters, and publications all have their own "title" tag. Completely separate to the macro tags, which are designed to machine-readable. I handle various sorts of human-friendly formats, client-side. You can use commas between versions, for instance, instead of, or in addition to spaces.
2025-11-18 13:37:24 from 1 relay(s) ↑ Parent Reply
I split it up into one entry for each, for rendering or searching. That's very human-friendly, as you can clearly denote a group of literary excerpts, that are meant to be clustered and displayed together. It's very common, with religious texts. `book:: 2 Maccabees 6:18-31, Psalm 3:2-7, 1 John 4:10b, Luke 19:1-10` would give you today's Daily Readings, like so: [[book:: 2 Maccabees 6:18-31, Psalm 3:2-7, 1 John 4:10b, Luke 19:1-10]]
2025-11-18 13:44:28 from 1 relay(s) ↑ Parent Reply
Most humans would stick to stuff like `book:: 1 John 2:7-12 | KJV` I recognize and render Bible books, Quran, and some others without hyphens or quotations. A number preceding letters is concatenated to a title. Anything that is " number:number-number" can be assumed to be chapter-number:versebeginning-verseending. And there are typical keywords like "preface" or "appendix", that can be identified. I also work with plural or singular and stuff like "Ch" "Ch." "Chapter" and Roman numerals. I can add that to the spec, as a hint to later parser-writers. Anything more complex is probably auto-generated or written by an expert.
2025-11-18 13:55:25 from 1 relay(s) ↑ Parent 1 replies ↓ Reply