Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link to a specific word in a text #745

Open
ykaner opened this issue Jan 26, 2022 · 0 comments
Open

Link to a specific word in a text #745

ykaner opened this issue Jan 26, 2022 · 0 comments

Comments

@ykaner
Copy link
Contributor

ykaner commented Jan 26, 2022

Now the links in sefaria can point to a text in a limited precision, lets take an example:
https://www.sefaria.org.il/Jerusalem_Talmud_Shabbat.3.6.2?lang=he
This is a link to a pretty long Halakha in Jerusalem Talmud, and I have no option to share a specific place inside of this Halakha.
(Same is correct for Sharing a part of Passuk etc.).

My proposal is to add an option specify a word inside any section, by the index of the word. For example I can modify the link above to point to word number 100:
https://www.sefaria.org.il/Jerusalem_Talmud_Shabbat.3.6.2:100?lang=he

This would be very useful in sharing more accurate references or saving a "bookmark" where I stop.

Disadvantages

  • One important disadvantage I can think of is that this feature would not work precisely when switching languages, because the 100th word in Hebrew is not exactly the 100th word in English.

Implementation

I think this would not be a hard feature, It requires only some changes in the frontend:

  • Mark the required word when opening such a link.
  • A share\save button with the correct index when double tapping or highlighting a word.

I think I can do this, I just want to hear what you have to say about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant