Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Meta

Welcome to the Judaism community on Codidact!

Will you help us build our community of learners? Drop into our study hall, ask questions, help others with answers to their questions, share a d'var torah if you're so inclined, invite your friends, and join us in building this community together. Not an ask-the-rabbi service, just people at all levels learning together.

Comments on Sefaria linking is now installed

Parent

Sefaria linking is now installed

+11
−0

This is a test to see if the Sefaria linking works. @ArtOfCode says just make things that look like references. So I suppose Genesis 1:1 should give me the first Pasuk of the Torah. Let's see...

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

General comments (8 comments)
Post
+13
−0

In more detail: yes, this site now has the Sefaria linker plugin installed. It's a JavaScript plugin, so you need JavaScript enabled for this site for it to work for you. We don't do anything malicious, promise!

Each time you load a page, the linker will look for things in posts that look like scripture references, and if it finds any, will add a link to them that pops up an embedded version of the text on Sefaria with a Read More link to go to the full thing. This is also why you'll also see a short delay before these links are added sometimes.

This also means that pages on this site should gradually start to be listed on Sefaria as having linked to specific bits of scripture.


Since it's not always clear exactly what text will generate a link to Sefaria and what won't, there's also a second new button (the Torah scroll icon). While you're writing a post, you can select some text that you think might be a reference and click the button - it will bring up a list of suggestions that will generate Sefaria links, and clicking on one will replace your selected text with that reference.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

1 comment thread

General comments (9 comments)
General comments
manassehkatz‭ wrote over 4 years ago

Not just "scripture", which typically refers to the Tanakh (Bible), as in the example in my post, but also the Mishnah (example in Isaac's comment), Gemara (like Bava Metzia 8a that I'm in a class on Sunday mornings) and Halachic writings (example in Isaac's comment).

Isaac Moses‭ wrote over 4 years ago

You're the most responsive Q&A platform dev team I've ever seen, by far!

David‭ wrote over 4 years ago

This is so cool! Also, @IsaacMoses - good to have your further examples. This strikes me as pretty wonderful. :)

msh210‭ wrote over 4 years ago

Bravo! Many thanks!

msh210‭ wrote over 4 years ago

"This also means that pages on this site should gradually start to be listed on Sefaria as having linked to specific bits of scripture." I didn't know Sefaria has such a feature. Will it really work even though these are JS-based links?

ArtOfCode‭ wrote over 4 years ago

It should do, @msh210 - I don't know exactly what the rules are for when sites start to get displayed there, but there are certainly others shown and I'm reliably informed that it should work for us too.

Monica Cellio‭ wrote over 4 years ago

I haven't read the code, but since it's JS on our side, I imagine that when the script is invoked -- i.e. when somebody views a page with a link -- they could update references at their end. It's not immediate, apparently; the link from this question doesn't show us yet.

Skipping 1 deleted comment.

Isaac Moses‭ wrote over 4 years ago · edited over 4 years ago

@msh210 I wouldn't be surprised if they do things like cache JS calls they detect, only link if the number of loads exceeds some threshold, only link if a link persists for some time, apply anti-spam analysis, whitelist sites they'll accept links from, etc., which would result in varying delays between a link being invoked here and it having an effect there.

Monica Cellio‭ wrote over 4 years ago

Apparently our site has to be added to an allow list there before links show up. (Makes sense; they wouldn't want to provide links to trolls, bigots, and spammers.) I've asked somebody who can ask somebody.

Skipping 1 deleted comment.