Closed kometenstaub closed 6 months ago
if I understand this right, I came here to +1 this; I think it means allowing the LCSH to be linked like [[English language--Pronoun]], yeah?
heading: China--History--An Lushan Rebellion, 755-763
It is hard for other plugins to identify whether or not this heading is a single heading or an array. Well, i know it's a single heading but without the quotes it would be difficult. In fact, it might be easier to default it to an arraw. heading
That implicitly allows outside application to infer that the item is a single item.
i would also like to code something that would manually parse the heading into broader--related--narrow because not having the same api across the notes makes it difficult for outside apps to hook into the notes.
For instance, Breadcrumbs can establish hierarchies creating an auto discovery tree.
The note on the left a "browsable" api whereas the note on the right only has "heading". Since the heading encodes the data necessary for creating a hierarchal discovery tree, I cannot automate a majority of my pkm, notes with only the "heading" metadata cannot link to related or narrower disciplines.
if I understand this right, I came here to +1 this; I think it means allowing the LCSH to be linked like [[English language--Pronoun]], yeah?
Yes.
heading: China--History--An Lushan Rebellion, 755-763
It is hard for other plugins to identify whether or not this heading is a single heading or an array. Well, i know it's a single heading but without the quotes it would be difficult. In fact, it might be easier to default it to an arraw. heading
- ....
That implicitly allows outside application to infer that the item is a single item.
I don’t decide how it is formatted. That’s valid yaml for strings and how Obsidian formats it when using their API. I don’t see a reason to use an array when it can only be one item. That would also be a breaking change.
Edit: I don’t know why it would be hard for other plugins. There should be no issue unless they interpret strings as arrays when certain characters like commas are present. Iirc breadcrumbs does that? Obsidian used to do it, but veered away from it.
i would also like to code something that would manually parse the heading into broader--related--narrow because not having the same api across the notes makes it difficult for outside apps to hook into the notes.
For instance, Breadcrumbs can establish hierarchies creating an auto discovery tree.
The note on the left a "browsable" api whereas the note on the right only has "heading". Since the heading encodes the data necessary for creating a hierarchal discovery tree, I cannot automate a majority of my pkm, notes with only the "heading" metadata cannot link to related or narrower disciplines.
I don’t understand. Is this related to this issue? Otherwise, please open a new one.
Also to clarify, headings includes the relations in this case. The purpose of this is that it’s possible to navigate the relations without the need of breadcrumbs.
Please tell me if this works as you expect. The feature needs to be enabled and works for broader, narrower and related headings.
https://github.com/kometenstaub/linked-data-vocabularies/blob/24f03460afd216366f451f61f320bb5692ee5718/src/methods/methods-write.ts#L139