kometenstaub / linked-data-vocabularies

Add linked data to the YAML of your Obsidian notes.
MIT License
88 stars 2 forks source link

I am trying to get the classification description into a note. #34

Open mariomui opened 5 months ago

mariomui commented 5 months ago
Screen Shot 2024-04-11 at 12 49 00 PM

I'm trying to use the description of the classficiation but I can't seem to find the source anywhere. Where does this data come from. Im sure it comes from the jsonld i downloaded but it's a doozy to sift through. care to point me to the correct direction?

kometenstaub commented 5 months ago

It’s in the download and the json conversion, but at the moment only used for display purposes.

https://github.com/kometenstaub/linked-data-helper/blob/ce3a564cd99bc598134ba89d79d5a7d827bc145b/src/methods/parseJson.ts#L77 https://github.com/kometenstaub/linked-data-vocabularies/blob/51a2fd5ee166de260b58fd318eb99277e8512bee/src/ui/LOC/utils.ts#L50

kometenstaub commented 5 months ago

I hadn’t considered offering the possibility to add it to the properties. The data is there, though.

mariomui commented 5 months ago

Thanks, now that I know where it is I can intercept it somehow. The jsonld structure was more complicated than I had expected.

On Fri, Apr 12, 2024 at 7:00 AM kometenstaub @.***> wrote:

I hadn’t considered offering the possibility to add it to the properties. The data is there, though.

— Reply to this email directly, view it on GitHub https://github.com/kometenstaub/linked-data-vocabularies/issues/34#issuecomment-2051819248, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHB7EBFPDSHP7IHHFX7GBFDY47SHBAVCNFSM6AAAAABGC5N5I2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJRHAYTSMRUHA . You are receiving this because you authored the thread.Message ID: @.***>

-- Full Stack Developer

resume: zety.com/mycv/mariomui github: github.com/mariomui in: linkedin.com/in/mariomui/

kometenstaub commented 5 months ago

I can look into supporting it in the plugin.

mariomui commented 5 months ago

Yup! I think it’s a great idea. What I do with it is that when I create the subject heading, I need to remind myself what the lcc classification is. So if possible , it would work best if this was an additional optional command. “Insert lcc description” for example. It would reduce repeating the description across notes.

On Fri, Apr 12, 2024 at 8:12 AM kometenstaub @.***> wrote:

I can look into supporting it in the plugin.

— Reply to this email directly, view it on GitHub https://github.com/kometenstaub/linked-data-vocabularies/issues/34#issuecomment-2051955109, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHB7EBBAMZECFQRQUZBYPA3Y472XHAVCNFSM6AAAAABGC5N5I2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJRHE2TKMJQHE . You are receiving this because you authored the thread.Message ID: @.***>

-- Full Stack Developer resume: zety.com/mycv/mariomui github: github.com/mariomui in: linkedin.com/in/mariomui/

kometenstaub commented 5 months ago

Do you mean as an extra option (different modifier) for the already existing modal?

mariomui commented 5 months ago

I meant an extra command that brings up the same modal but this one adds the description. The user has a choice on whether or not to add the description.

On Fri, Apr 12, 2024 at 8:29 AM kometenstaub @.***> wrote:

Do you mean as an extra option (different modifier) for the already existing modal?

— Reply to this email directly, view it on GitHub https://github.com/kometenstaub/linked-data-vocabularies/issues/34#issuecomment-2051982850, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHB7EBEEZVDLBFPQKSOECPTY474VXAVCNFSM6AAAAABGC5N5I2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJRHE4DEOBVGA . You are receiving this because you authored the thread.Message ID: @.***>

-- Full Stack Developer

resume: zety.com/mycv/mariomui github: github.com/mariomui in: linkedin.com/in/mariomui/