[Questions] Retrieving Full Sentences from Highlights for Plugin Development
Hello,
I often find myself highlighting words in Zotero that I'm not familiar with. For these instances, I am interested in developing a plugin that would allow me to automatically retrieve and save the entire sentence containing the highlighted word for easier reference and study. This could be particularly useful for creating flashcards to aid in memorization.
I have a couple of questions regarding the feasibility of this idea:
If I possess a zotero:// link to a specific highlight, is there an existing API that would enable me to fetch the content of the linked page? Accessing this could potentially allow me to extract the sentence containing the highlighted word.
Alternatively, is there an API available that permits the retrieval of page content directly? This would allow me to save the relevant sentence as a comment associated with the highlight.
The goal of my plugin is to streamline the process of saving and retrieving full sentences for every word I highlight that I'm not familiar with, thus enhancing my learning and retention capabilities.
Thank you for any guidance or suggestions you can provide.
I often find myself highlighting words in Zotero that I'm not familiar with. For these instances, I am interested in developing a plugin that would allow me to automatically retrieve and save the entire sentence containing the highlighted word for easier reference and study. This could be particularly useful for creating flashcards to aid in memorization.
I have a couple of questions regarding the feasibility of this idea:
If I possess a zotero:// link to a specific highlight, is there an existing API that would enable me to fetch the content of the linked page? Accessing this could potentially allow me to extract the sentence containing the highlighted word.
Alternatively, is there an API available that permits the retrieval of page content directly? This would allow me to save the relevant sentence as a comment associated with the highlight.
The goal of my plugin is to streamline the process of saving and retrieving full sentences for every word I highlight that I'm not familiar with, thus enhancing my learning and retention capabilities.
Thank you for any guidance or suggestions you can provide.
-
ulahcherubimDid you check out ZotCard plugin? I guess it has templating options. You can create and dedicate a card type for your use case. I did not find any spaced repetition option though.
-
crokobitIt appears that ZotCard lacks the feature to automatically retrieve the sentence containing the highlighted word, which is the main functionality I aim to achieve.