This is just the beginning.
nostr:naddr1qvzqqqrcvgpzqez7hqy2ca5f7z94zslmu7489zd645hrhurfeqwj5g4q6we438qcqydhwumn8ghj7mmjd3uj6un9d3shjtnfd4mkzmry9ejh2tcqpphxkcnfwqknqwqxstt3u
Login to reply
Replies (11)
I think everyone was wondering why I stopped publishing, but I needed to figure out the #bookstr tags, first.
Oh, good point. One minute, let me adjust.
Okay, updated. What do you think?
Colons in titles aren't really a problem, as the tags are all formulated like d-tags, but I like using pipe to separate out the optional stuff.
Trying to keep chapter and verse notation Biblical, as lots of people are familiar with that.
https://wikistr.imwald.eu/nkbip-08*645eb808ac7689f08b5143fbe7aa7289baad2e3bf069c81d2a22a0d3b3589c18
They tend to use pipe characters "|", for literature citation-links, since they're derived from wikilinks. That's why I went with pipe.
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".
I could allow the alternative of using quotations, instead of hyphens.
`book:: Bible | "Song of Solomon" 5:1 | KJV`
`book:: "2 Ezra" preface:2-21`
`book:: "Wuthering Heights" "Ch XI":Preamble-8`
The books and chapters in the DRB have prefaces and preambles, not only verses.
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.
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]]
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.
Another easy one is
`book:: Tale of Two Cities 8: Intro-3`
It's obvious that they mean
`book::tale-of-two-cities 8:introduction-3`