Thatâs not a quirk, thatâs a bug! Thanks so much for letting me know.
Youâve never read the Therigatha? My goodness you are in for a treat. So happy that SuttaFriends could help you.
Thatâs not a quirk, thatâs a bug! Thanks so much for letting me know.
Youâve never read the Therigatha? My goodness you are in for a treat. So happy that SuttaFriends could help you.
OK, should be fixed now. For anyone curious about why this was happeningâŠ
Books are either a collection of suttas or a collection of chapters with suttas in them. And on the three websites the plugin really deals with (at least by calculating the urls programmatically) that is the limit to the levels, even though traditionally there may be more internal grouping.
There is one unusual case though, and thatâs with the Thera and Therigatha. In those books there are a few chapters that, in effect, only have a single sutta. SuttaCentral and SuttaFriends deal with this by giving them the citation chapter.1. So for example, Thig11.1. But there is only one âsuttaâ aka Theri in that chapter. However, on DhammaTalks.org, this is sutta has the citation Thig11.
Right now you can get all three links, but the script will only give you SC and SF if you put in Thag11.1. But along the way, when you type âThag11â it will pop up DT. Not ideal, but at least now itâs not broken!
Iâve done an overhaul of the name lookup tool. Also has a new link:
https://name.readingfaithfully.org/
As always, feedback is welcome.
I still have one major improvement to make so that the interface is more responsive.
I am having trouble reading the darker font color on the dark background:
For example, I found it hard to spot that in an$ words ending with "am"
the third character is a $
, and not a s
.
Oh, yes. Thatâs a good point. Also the font was smaller for some reason. Please tell me what you think now: https://name.readingfaithfully.org/
This looks much clearer, yes. Thank you!
hmmm I expected the sutta name to be linkafied too (not just the number). And I expected the link to take to me to the sutta.rf
âCitation Helperâ so I could get my pick of translation / PÄli
Great expectations! Thanks.
Now the whole thing is a link.
Integrating the name lookup into the citation tool is a bigger project. Iâm still not sure how I want to do that. For me Iâm happy to always be taken to sc (after all, there is almost always a translation waiting there) and then if I do need other translations go back and look those up. But I can understand why that would not be great for everyone.
If the citation helper supported links you wouldnât have to integrate beyond constructing the link. Just add a query param ?ref=DN%204
or whatever, no?
Right. Thatâs probably how I will implement it, but it would still be as an option. I probably have a distorted perception of my data usage (OK, I definitely do) and data usage in general, but I would think that loading that whole citation helper tool each time would be a bit much.
UPDATE:
Now you can also get links for PaliAudio.com and Voice.SuttaCentral.net. PaliAudio just has single pages for each chapter of the SN an AN, so you need to do a bit of looking once you follow the link. But for DN and MN itâs a direct link to the page with the audio.
Voice itself is having some minor bugs, but once things are fixed there you shouldnât notice any problems.
Also, now there is a way to select which sites you want to include in your search. And all settings are saved from session to session.
As always thanks for the feedback, especially @Khemarato.bhikkhu and @stu.
Update 25 July 2022:
New for Citation Helper: sutta.readingfaithfully.org/
mn23
, the url will now look like this:sutta.readingfaithfully.org/?q=mn23
New for Name Lookup name.readingfaithfully.org
Due to the work and persistence of Ven @Khemarato.bhikkhu, the Citation Helper app now puts history in your browser like any ordinary website. As long as you stay in the same tab, it will allow you to go back and forward through your history by clicking the browser buttons.
I also wanted to mention that having the citation in the url bar (like sutta.readingfaithfully.org/?q=sn46.38
) now allows you to use any of a number of plugins in your browser that let you select and search for text. So, for exampleâŠ
When you click on Citation Helper
, it will open up the citation helper and put the selected text into the input field and look up the citation.
Ta da!
For FireFox, I use this one:
In Chrome I have used
But there is also this one that even has its own website.
Setting up a custom search is quite easy. For example in the Firefox plugin, you just put this into the settings:
In Chromeâs Selection Search itâs similar:
Let me know if you try it out and if you have any problems.
These plugins are really useful in general if you often find yourself, for example, trying to find book titles on a certain book website like GoodReads or Amazon. And, come to think of it, you can do it for SuttaCentral too. The search string would be
https://suttacentral.net/search?query={searchTerms}
Bunch of new fun stuff⊠Please offer any feedback in the thread here. Especially bugs.
Added a button for a direct link to the SC Light version.
Added a way to see what alternative translations exist on SuttaCentral. Now if a citation has additional translations on SC, you will get a plus button:
+
button will still jut take you to the SuttaPlex page. But if you have the site language on SC set to the same language on the Citation helper, then those translations will show up at the top of the card.
Added selections from AccessToInsight.org. The majority of suttas on ATI are now on DhammaTalks.org, so none of those are included. I also didnât include partial suttas. Itâs not a lot, but quite a few popular suttas. Also added all of Ven. Buddharakkhitaâs Dhammapada translations. They can also be found on SuttaCentral, but I thought they were important enough to add.
Iâve cleaned up a feature to create html lists of the results. The buttons to copy them to the clipboard can be found under the âinfoâ tab in the bottom half of the app:
This is what the HTML sentence for DN22 looks like: SuttaCentral.net, SuttaFriends.org, DhammaTalks.org, Ancient-Buddhist-Texts.net, AccessToInsight.org, PaliAudio.com, and Voice.SuttaCentral.net.
Looks ever more cool! I like especially the + button.
But as I am curious by nature, I would like to know what is hidden at the bottom of the page. Unfortunately I canât scroll further down than this:
I am looking in Firefox (on Ubuntu20.04).
I also see some discrepancies in how collections are abbreviated. In the citation helper, there are two abbreviations that diverge from SC (Khp, Itv), whereas in the name lookup, the latter is Iti like on SC.
I havenât been following closely, but are there any plans to eventually incorporate the PTS Converter code here? I know I can go to the PTS Converter site, but then I donât get the same choice of sources and cool interfaceâŠ
No, not at this point. One reason is that I hardly ever need to look up that kind of citation.
It is not the solution you asked for, but if you are on desktop, you can follow the instructions in this post so that once you get the âmodernâ citation from the PTS tool, you can quickly take it to this citation helper.
c
flag for forcing a chapter link is no longer supported. It must be either ch
or `chapter[AN 4.139 Dhammakathika](https://suttacentral.net/an4.139/en/sujato)
The link will be whatever destination you have selected in the settings.Now on the name lookup tool, you can hover over (most) results to see the blurb about the sutta:
This was made easy by a new tool to create a single JSON file from the blurbs on SuttaCentral.