For example, if I’m interested in getting a list of pali suttas with “samādhi” in the sutta title, is there a way to do that in suttacentral? or DPR? Currently, on SC, searching for “samādhi sutta” returns interesting results, but not what I’m looking for.
The attached file is a list of all the sutta titles in the CSCD edition of the DN, MN, SN, AN, Khp, Ud, Iti and Sn, along with their approximate location. In the case of the AN, where many suttas have no titles, I’ve also added the vagga and peyyāla names.
As a Mac-user I can’t use the CSCD Windows program and so on my computer I have the CD’s contents in the form of text files. Every paragraph in each file begins with a bulleted numeral indicating the nature of its content. For example, •12 is used before the title of the text; •21 and •22 are used to show the first and second lines of a gāthā; •1 is the body of the text; •13 for a vagga name; •14 for a sutta name, etc.
With most of the texts I produced the list by using the text processor BBEdit to select and copy all the paragraphs with the relevant opening tag.
With the Aṅguttara Nikāya it was a little more complicated as I wanted to preserve the vaggas and peyyālas too, and I wanted them in the right order rather than as separate lists from the sutta titles. So here I took the opposite approach: using BBEdit’s “Process Lines Containing…” function to select and delete all the paragraphs I didn’t need.