-
-
Notifications
You must be signed in to change notification settings - Fork 308
Description
In the context of a thread on refining our text API, this request came up -
We use the text api extensively to link to content that we do not have natively in our app. We make ca text api call - and present the content in a local popup within our app. The problem that we have is that amount of text that is presented many times is very long and not precise enough to help a person zero in on the correct part of the reference.
The way that we deal with this with internal links to our own content - is that besides the Page (to main entry in our database) We also include IDs of a Range of Phrases or Range of Words or a list of Multiple Phrases or multiple Words and our internal engine returns the "Page" with the words or phrases highlighted. That way you can see what the author was referring to in context of the whole source.
In our internal texts we either have ids on every word or on phrases. In the Sefaria texts you do not have ids at that level.
It would be nice if we could specify words 20-25 within a source and have those words wrapped in a tag as the selection that we could render as we please.
Originally posted by @mayerpasternak in #1343 (comment)