Expand description
Long-form writing (NIP-23, kind 30023): what an article says of itself in its tags, and how long it takes to read.
An article is no note. It has a title, a line that sums it up, a picture and topics, all in its tags, and what it says is Markdown proper: a line break in a paragraph is a space, as it is not in a note. It is known by an address (who wrote it and what they called it), under which it is written again when it is changed, so that each version has an id of its own and the address stays. When it was written is so when it was last changed.
Where it is listed among notes, an article shows as a card: its
picture, its title, and what sums it up. All of it is shown where it
is opened, as the note a thread is for (see Note::in_full).
Structs§
- Article
- What an article says of itself, beside what it says.
- Article
Link - An article a note names by its address (
nostr:naddr1…). Shown under the note’s text, as the card of the article when that is at hand, and as a link to it when it isn’t.
Constants§
- ARTICLE_
KIND 🔒 - The kind of event an article is.
- MAX_
TOPICS 🔒 - How many topics of an article are shown, and how much of each: as many as Jumble shows.
- SUMMARY_
MAX_ 🔒CHARS - TITLE_
MAX_ 🔒CHARS - How much of an article’s title and of what sums it up is kept: both are the author’s to write, at any length.
- TOPIC_
MAX_ 🔒CHARS - UNSPACED_
PER_ 🔒MINUTE - WORDS_
PER_ 🔒MINUTE - How many words are read in a minute, and how many characters of what is written without spaces between words: what Jumble takes them to be.
Functions§
- reading_
minutes - How many minutes
texttakes to read, near enough: its words, and the characters of what is written without spaces, each at the pace such are read. One minute at the least. The addresses in it are counted as the word or two they come to, which is little either way. - unspaced 🔒
- Whether
cis of a script written without spaces between words: Japanese, Chinese, Korean.