kkartch0 / obsidian-gospel-study

An Obsidian plugin that allows for automatic importing and linking of scripture verses and other paragraphs such as those from a conference talk.
1 stars 1 forks source link

Add proper handling of non "p<number>" paragraph ids #21

Open kkartch0 opened 6 months ago

kkartch0 commented 6 months ago

Today's quote of the day link (https://www.churchofjesuschrist.org/study/general-conference/2023/10/26choi?id=kicker1%23kicker1&lang=eng) produced the following output:

image

kkartch0 commented 5 months ago

This seems to be a more general issue of not properly handling ids other than the ones of the format "p".

For example the following link ends up producing only the "standard" paragraphs and excludes the title2, scripture_title1, etc. https://www.churchofjesuschrist.org/study/manual/come-follow-me-for-home-and-church-book-of-mormon-2024/10?id=title2,scripture_title1,title3,p2-p4&lang=eng#title2

image

kkartch0 commented 5 months ago

image

kkartch0 commented 5 months ago

image

kkartch0 commented 5 months ago

image

kkartch0 commented 5 months ago

"Standard" link form is of the format: "https://www.churchofjesuschrist.org/study/?lang=&id=#

e.g. https://www.churchofjesuschrist.org/study/scriptures/bofm/1-ne/1?lang=eng&id=p1-p2#p1

kkartch0 commented 1 month ago

image

https://www.churchofjesuschrist.org/study/manual/come-follow-me-for-home-and-church-book-of-mormon-2024/29?id=scripture_title5,title7,p17,figure_p31&lang=eng#scripture_title5