Benutzer-Werkzeuge

Webseiten-Werkzeuge


Übersetzungen dieser Seite?:
de:tech:file

Info: Diese Gabe des Dhammas ist noch nicht (vollständig übersetzt). Fühlen Sie sich frei Ihre Verdienste zu teilen, gegeben mit einer zu versorgen, selbst wenn nur ein Teilabschnitt, oder sich in Vervollständigung und Verbesserung einzubringen, wenn inspiriert fühlend. (Bleistiftsymbol recht, wenn angemeldet ersichtlich, drücken um Text zu bearbeiten. (Entfernen Sie diese Anmerkung sobald eine Übersetzung gegeben und ändern Sie die Division #wrap_h_content_untranslated in #wrap_h_content .)

Preperation of htmls into ATI.eu currently in progress. Please visite the corresponding page at ZzE. If inspired to get involved in this merits here, one may feel invited to join best here: [ATI.eu] ATI/ZzE Content-style

A Tipitaka Filename Recommendation

A Tipitaka Filename Recommendation

Summary:

A Tipitaka Filename Recommendation

by

John T. Bullitt

Übersetzung ins Deutsche von:

noch keine vorhanden

The convention by which names are now assigned to Tipitaka files at Access to Insight was first implemented in Juni 2006. It emerged from more than two years of discussions between John Bullitt, Michael Olds, Alex Genaud, and Hugo Gayosso. Several others contributed helpful ideas on the now-defunct ATI technical blog, including John Gill, E.M., Donnovan Knight, Ben N, and Robert.

Anhang (2009.06.05): When this article was written (2007), I was mainly concerned with the naming of static HTML files. For the most part, the arguments presented below apply equally well to the naming of permalinks in any online content management system. Thoughtful and consistent naming of permalinks is always a good idea.

Contents

Motivation

The problem

The naming and organization of Tipitaka files on websites across the Internet tends to be haphazard. To illustrate, consider the following suttas from the Majjhima Nikaya that turned up in a recent »Google search for //majjhima sutta//:

<table cellspacing=„5“ style=„margin-left:5%“ >

MN 28 (English)/canon/sutta/majjhima/mn-028-tb0.html \\(From Access to Insight in 2005. In 2006 the file was moved to /tipitaka/mn/mn.028.than.html.)

</tr>

MN 28 (English)/e-tipitaka/mn-28.htm www.mahindarama.com/e-tipitaka/mn-28.htm
MN 28 (English)/028-mahahatthipadopama-sutta-e1.htm
MN 23 (English)/dhamma-vinaya/mo/mn/mn023_mo.htm themozone.net/dhamma-vinaya/mo/mn/mn023_mo.htm
MN 28 (Czech)/sloni-stopa.htm
MN 28 (German)/majjhima/m028n.htm
MN 28 (Italian)/tipitaka/mn28.html utenti.lycos.it/tipitaka/mn28.html
MN 28 (Portuguese)/sutta/MN28.htm www.acessoaoinsight.net/sutta/MN28.htm
MN 107 (Russian)/dhamma/canon/mn107.htm koleso.netherweb.com/dhamma/canon/mn107.htm
MN 28 (Serbian)http://www.geocities.com/budizam/canon/majjhima/mn28.html
MN 16 (Swedish)/buddha/95.htm

This simple experiment reveals two striking facts:

  1. Filenames are inconsistent. \\Some sites name a sutta file using a Pali name (<tt>028-mahahatthipadopama-sutta-e1.htm</tt>); some use the local language's translation of the Pali title (<tt>sloni-stopa.htm</tt>); some use a local index number (<tt>95.htm</tt>); some use uppercase nikaya abbreviations (e.g., <tt>MN</tt>); some use lowercase; some use hyphens and underscores. And so on.

  2. Directory hierarchies are inconsistent.
    Moreover, they are rarely laid out in a way that reflects the structure of the Tipitaka itself. For example: some sites pour all their suttas into one big directory called „tipitaka“ (<tt>/tipitaka/mn28.htm</tt>); others place them in a „sutta“ directory <tt>(/sutta/MN28.htm</tt>); others refine this a little further, by placing each nikaya inside a „canon“ directory (<tt>/budizam/canon/majjhima/mn28.html</tt>); while others place the nikayas under a „sutta pitaka“ directory (<tt>/canon/sutta/majjhima/mn028-tb0.html</tt>).

Why we should care

It is quite natural for a busy webmaster to improvise a filing system that fulfills a site's immediate needs, one that quickly gets the job done of making the site's files accessible to its users. This is the strategy that Buddhist sites (Access to Insight included) have usually followed. But, as any experienced webmaster knows, as the number of files in a site's collection grows, the problem of intelligently managing all the hyperlinks between files can escalate at an alarming rate.(1) Any webmaster hoping to host a substantial collection of Tipitaka files must be prepared to provide hyperlinks between many thousands of files. Adding new files to a growing collection is only practical if the site adheres to a consistent and logical file-naming system.

There are other compelling reasons for consistent Tipitaka filenames. As Buddhist students, practitioners, and scholars study the online Tipitaka texts, they naturally exchange Tipitaka files with each other via e-mail or via postings on their websites. If you were to send me a file named <tt>95.htm</tt> along with an e-mail that said, „Here's that sutta we talked about two weeks ago,“ what am I to make of it? I would have to open it and read it before I could know where to file it. If the file instead had a more meaningful name like <tt>mn-095-thanissaro.html</tt> then I could tell at a glance that this was Thanissaro's translation of MN 95 and I would know instantly where to drop it in my Tipitaka collection. Moreover, if I am trying to locate MN 95 on a website that is poorly indexed and whose filenames are poorly chosen, there is no way to know a priori where to find that sutta. This makes it extremely difficult to install useful hyperlinks between sites, as the webmaster must first decode the target site's opaque filing system.

Large sites and sites that serve as distribution source points for other sites should be concerned about these issues if they hope to continue to provide well organized and richly cross-referenced collections of Tipitaka texts.

General principles

Restrict the character set

Filenames shall be constructed from a subset of the World Wide Web Consortium's "unreserved characters" for URIs. In particular, our character set is this:

<table class=„shaded“ align=„center“ cellpadding=„10“>

a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9 - (hyphen) . (dot)

</tr></table>

Please note that we exclude:

  • the tilde (~) [because it has a special meaning in Unix C-style shell scripts;
  • any uppercase characters [to make URIs easier to type and to remember]
  • spaces or tabs [because (1) URIs would have to encode them as <tt>%20</tt>; (2) filenames with whitespace are hard to type at the command line.]
  • Underscores (_) [because they look like spaces in hyperlinked file lists. Example: spot the underscores and the spaces in this file name: an01_03 -123_ xyz.html.]
Keep filenames short

Filenames shall be restricted to no more than 25 characters, plus the extension. For HTML files, either the <tt>.html</tt> or <tt>.htm</tt> extension may be used (ATI prefers <tt>.html</tt>). The maximum filename length is thus 30 characters.

One sutta, one translator, one file

Filenames shall describe a specific sutta. Because of the brevity of suttas in some sections of the canon, however, suttas may sometimes be bundled together into a single file (e.g., AN I, Thag 1, and Thig 1). In some cases, the filename may describe a range of suttas or excerpts. The texts in a file shall always be from a single translator. If a translator has more than one translation of a sutta, all such translations shall be included in the same file.

Filenames reflect the text's location in the canon

Each filename shall be carefully chosen so that, when a file is separated from its enclosing directory (as, for example, when sent as an e-mail attachment), anyone can tell at a glance from where in the canon it came.(2)

Filenames accurately reflect the contents of the file

Filenames shall include standardized information about (1) which texts the file contains, and (2) the identity of the translator. Filenames may someday be extended to include other information — for example, about the language of the translations, if other than English.

The structure of a filename

To make filenames machine-readable, they are structured to consist of three, four, or five dot-separated data fields, terminated by an extension (<tt>EXT</tt>). The possible fields are:

<tt>VOLUME</tt> :: The <tt>VOLUME</tt> field is present in all files. It consists of a two-, three-, or four-character lowercase alphanumeric field. The following <tt>VOLUME</tt>s are allowed:

<pre>

dn
mn
sn01 sn02 sn03 ... sn55 sn56 //(one volume per samyutta)//
an01 an02 an03 ... an10 an11 //(one volume per nipata)//
khp dhp ud iti snp vv pv thag thig nm
miln
mv cv (Vinaya)]!

Files from a given <tt>VOLUME</tt> are stored in a directory with the same name as the <tt>VOLUME</tt>. Thus, files from <tt>VOLUME</tt> <tt>dn</tt> are stored in the directory named <tt>dn</tt>; files from <tt>VOLUME</tt> <tt>an06</tt> are stored in the directory named <tt>an06</tt>; etc.

The following are not yet implemented on ATI, and will be added on an as-needed basis: pk jat nc ps ap bv cp nett petk (Sutta Pitaka); sv (Vinaya Pitaka); dhs vbh kvu pug dhk yam pat (Abhidhamma Pitaka).

<tt>CHAPTER</tt> :: The <tt>CHAPTER</tt> field is not present in all files. It corresponds to the vagga or nipata in a given <tt>VOLUME</tt>. It consists of a one-digit non-padded field or a two-digit zero-padded field

The following <tt>CHAPTER</tt>s are recognized:

VOLUME CHAPTER cv 01 02 03 … 11 12 mv 01 02 03 … 09 10 ud 1 2 3 4 5 6 7 8 iti 1 2 3 4 snp 1 2 3 4 5 vv 1 2 3 4 5 6 7 pv 1 2 3 4 thag 01 02 03 … 20 21 thig 01 02 03 … 15 16 miln 1 2 3 4 5 6 7

<tt>TEXT</tt> :: The <tt>TEXT</tt> field is present in all files. In most cases it corresponds to the basic unit of text in the Sutta Pitaka: the sutta. It consists of a one-, two-, or three-digit zero-padded subfield, optionally followed by:
  1. the letter <tt>x</tt> to indicate an excerpt;

  2. a hyphen followed by another digit subfield of the same width, to indicate an uninterrupted range of texts;

  3. a hyphen, followed by another digit subfield of the same width, followed by the letter <tt>x</tt>, to indicate a broken series of excerpts.

The possible values in the first subfield of the <tt>TEXT</tt> field are as follows:

VOLUME Possible TEXT values cv 01 02 03 … mv 01 02 03 … dn 01 02 … 33 34 mn 001 002 003 … 151 152 sn (all) 001 002 003 … an (all) 001 002 003 … khp 1 2 3 … 8 9 dhp 01 02 03 … 25 26 ud 01 02 03 … iti* 001 002 003 … 110 111 snp 01 02 03 … thag 01 02 03 … thig 01 02 03 … *TEXT numbering runs consecutively across the chapters.

The optional part of the <tt>TEXT</tt> contains more specific information about the contents of the file, as described above. For example:

FilenameWhat it contains
<tt>an10.001x.abcd.html</tt>An excerpt from AN 10.1
<tt>an01.001-010.abcd.html</tt>Suttas AN 1.1-10 (complete)
<tt>an01.001-010x.abcd.html</tt>Suttas AN 1.1-10 (excerpts)

? <tt>SECTION</tt> :: <tt>SECTION</tt> is a one-digit field that is used to further subdivide certain TEXTs: the Mv and Cv in the Vinaya (following IB Horner's numbering), and the longer suttas in DN.

<tt>SOURCE</tt> :: The <tt>SOURCE</tt> field is present in all files. It contains a four-byte translator code that stands for the name of the translator(s) of the given text. For example: <tt>nymo</tt>=Ñanamoli Thera; <tt>than</tt>=Thanissaro Bhikkhu; <tt>irel</tt>=John D. Ireland. Librarians and webmasters are encouraged to use translator codes from Access to Insight's pool of Reserved Translator Codes. Eventually, the need may emerge for some organizational structure to oversee and coordinate assignment of these codes — especially when managing translations into other (non-English) languages. But this goes far beyond the scope of what I can do.

Additional <tt>SOURCE</tt> sub-fields may be needed in the future. All such sub-fields shall be appended after the translator code. If specific languages are to be incorporated in the future, language codes should observe the three-byte ISO 639.2 standard.

</dl>

Directory hierarchy

tipitaka/ vin/ cv/ mv/ sv/ dn/ mn/ sn/ sn01/ sn02/ sn03/sn55/ sn56/ an/ an01/ an02/ an03/ … an10/ an11/ kn/ khp/ dhp/ ud/ iti/ snp/ vv/ pv/ thag/ thig/ jat/ nm/ nc/ ps/ ap/ bv/ cp/ nett/ petk/ miln/ abhi/ dhs/ vbh/ kvu/ pug/ dhk/ yam/ pat/

Filenames for each Tipitaka section

Mahavagga (Mv)

Note: ATI follows IB Horner's PTS numbering (Book of the Discipline, Part 4).

<table>

Form:<tt>VOLUME.CHAPTER.TEXT.SECTION.SOURCE.EXT</tt>

</tr>

<tt>VOLUME:</tt><tt>mv</tt>

</tr>

<tt>CHAPTER:</tt><tt>01 02 03 … 11 12</tt>

</tr> <tr> <td valign=„top“ align=„right“><tt>TEXT:</tt></td> <td>The range of possible <tt>TEXT</tt>s depends on the <tt>CHAPTER</tt>: <table>

VOLUME.CHAPTER Possible TEXTs mv.01 01 02 03 … 78 79 mv.02 01 02 03 … 35 36 mv.03 01 02 03 … 13 14 mv.04 01 02 03 … 17 18 mv.05 01 02 03 … 12 13 mv.06 01 02 03 … 39 40 mv.07 01 02 03 … 12 13 mv.08 01 02 03 … 31 32 mv.09 01 02 03 … 06 07 mv.10 01 02 03 04 05 06

</td> </tr> <tr> <td valign=„top“ align=„right“><tt>SECTION:</tt></td> <td>The range of possible <tt>SECTION</tt>s varies from <tt>TEXT</tt> to <tt>TEXT</tt>: 01 02 03 … . <tt>TEXT</tt>s for which Horner has not enumerated any <tt>SECTION</tt>s are assigned a <tt>SECTION</tt> of 01.</td> </tr>

Examples:<tt>mv.08.26.01-08.than.html</tt> (Mv 8.26.1-8 {Horner, Part IV, p.431}; the story of the monk with dysentery)

</tr> </table>

Cullavagga (Cv)

Note: ATI follows IB Horner's PTS numbering (Book of the Discipline, Part 5).

<table>

Form:<tt>VOLUME.CHAPTER.TEXT.SECTION.SOURCE.EXT</tt>

</tr>

<tt>VOLUME:</tt><tt>cv</tt>

</tr>

<tt>CHAPTER:</tt><tt>01 02 03 … 11 12</tt>

</tr> <tr> <td valign=„top“ align=„right“><tt>TEXT:</tt></td> <td>The range of possible <tt>TEXT</tt>s depends on the <tt>CHAPTER</tt>: <table>

VOLUME.CHAPTER Possible TEXTs cv.01 01 02 03 … 33 34 cv.02 01 02 03 … 08 09 cv.03 01 02 03 … 35 36 cv.04 01 02 03 … 13 14 cv.05 01 02 03 … 36 37 cv.06 01 02 03 … 20 21 cv.07 01 02 03 04 05 cv.08 01 02 03 … 13 14 cv.09 01 02 03 04 05 cv.10 01 02 03 … 26 27 cv.11 01 cv.12 01 02

</td> </tr> <tr> <td valign=„top“ align=„right“><tt>SECTION:</tt></td> <td>The range of possible <tt>SECTION</tt>s varies from <tt>TEXT</tt> to <tt>TEXT</tt>: 01 02 03 … . <tt>TEXT</tt>s for which Horner has not enumerated any <tt>SECTION</tt>s are assigned a <tt>SECTION</tt> of 01.</td> </tr>

Examples:<tt>cv.05.06.01x.olen.html</tt> (Cv 5.6, excerpt. Horner does not give any section numbers in Cv 5.6, so we call it 01.)

</tr> </table>

Digha Nikaya (DN)

<table>

| Form:|<tt>VOLUME.TEXT.SECTION.SOURCE.EXT</tt>| </tr>

<tt>VOLUME:</tt><tt>dn</tt>

</tr>

<tt>TEXT:</tt><tt>01 02 03 … 33 34</tt>

</tr> <tr> <td valign=„top“ align=„right“><tt>SECTION:</tt></td> <td>The range of possible <tt>SECTION</tt>s depends on the <tt>TEXT</tt>: <table>

VOLUME.TEXT SECTION dn.01 1 2 3 dn.02 0 dn.03 1 2 dn.04 0 … 0 dn.09 0 dn.10 1 2 dn.11 0 dn.12 0 dn.13 0 dn.14 1 2 3 dn.15 0 dn.16 1 2 3 4 5 6 dn.17 1 2 dn.18 0 dn.19 0 dn.20 0 dn.21 1 2 dn.22 0 dn.23 0 dn.24 1 2 dn.25 0 … 0 dn.29 0 dn.30 1 2 dn.31 0 dn.32 0 dn.33 1 2 3 dn.34 1 2

</td> </tr>

Examples:

<td><tt>dn.01.2.abcd.html</tt> (DN 1, section 2)
<tt>dn.16.5-6.than.html</tt> (DN 16, sections 5-6, complete)
<tt>dn.16.1-6.vaji.html</tt> (DN 16, complete (i.e., sections 5-6))
<tt>dn.16.1-3x.abcd.html</tt> (DN 16, sections 1-3, excerpts)
<tt>dn.22.0.than.html</tt> (DN 22, complete)</td> </tr> </table>

Majjhima Nikaya (MN)

<table>

| Form:|<tt>VOLUME.TEXT.SOURCE.EXT</tt>| </tr>

<tt>VOLUME:</tt><tt>mn</tt>

</tr>

<tt>TEXT:</tt><tt>001 002 003 … 151 152</tt>

</tr>

Examples:

<td><tt>mn.001.than.html</tt> (MN 1, complete)
<tt>mn.021x.budd.html</tt> (MN 21, excerpt)</td> </tr> </table>

Samyutta Nikaya (SN)(3)

<table>

| Form:|<tt>VOLUME.TEXT.SOURCE.EXT</tt>| </tr>

<tt>VOLUME:</tt><tt>sn01 sn02 sn03 … sn55 sn56</tt>

</tr>

<tt>TEXT:</tt><tt>001 002 003 …</tt>

</tr>

Examples:

<td><tt>sn01.001.than.html</tt> (SN 1.1)
<tt>sn36.010.nypo.html</tt> (SN 36.10)
<tt>sn56.011.piya.html</tt> (SN 56.11)</td> </tr> </table>

Anguttara Nikaya (AN)

<table>

| Form:|<tt>VOLUME.TEXT[.SECTION].SOURCE.EXT</tt>| </tr>

<tt>VOLUME:</tt><tt>an01 an02 an03 … an10 an11</tt>

</tr>

<tt>TEXT:</tt><tt>001 002 003 …</tt>

</tr>

<tt>SECTION:</tt>

A few suttas contain enumerated sections, which in other editions of the Tipitaka are treated as separate suttas. For example, AN 3.100 (PTS) contains 15 sections; in the Thai edition the first 10 are counted as one sutta and the last 5 as another. To avoid ambiguity, we therefore number the first as <tt>an03.100.01-10</tt> and the second as <tt>an03.100.11-15</tt>.| </tr>

Examples:

<td><tt>an01.021-040.than.html</tt> (AN 1.21 through AN 1.40, complete)
<tt>an01.031-040x.wood.html</tt> (AN 1.31 through AN 1.40, excerpts)
<tt>an03.100.01-10.than.html</tt> (AN 3.100, first part; see above re: <tt>SECTION</tt>)
<tt>an05.161.nymo.html</tt> (AN 5.61)</td> </tr> </table>

Khuddakapatha (Khp)

<table>

| Form:|<tt>VOLUME.TEXT.SOURCE.EXT</tt>| </tr>

<tt>VOLUME:</tt><tt>khp</tt>

</tr>

<tt>TEXT:</tt><tt>1 2 3 … 8 9</tt>

</tr>

Examples:

<td><tt>khp.9.amar.html</tt> (Khp 9)
<tt>khp.1-9x.piya.html</tt> (Khp 1-9, excerpts)</td> </tr> </table>

Dhammapada (Dhp)

<table>

| Form:|<tt>VOLUME.TEXT.SOURCE.EXT</tt>| </tr>

<tt>VOLUME:</tt><tt>dhp</tt>

</tr>

<tt>TEXT:</tt><tt>01 02 03 … 25 26</tt>

</tr>

Examples:

<td><tt>dhp.06.than.html</tt> (Dhp, Pandita vagga)
<tt>dhp.23.budd.html</tt> (Dhp, Naga vagga)
<tt>dhp.14.than.html#dhp-183</tt> (Dhp 183; see note)</td> </tr>

Note:Individual verses are referenced by <tt>href</tt> anchors, which are numbered consecutively across vaggas. Thus, Dhp 183 would be referenced as <tt>&lt;a href=„dhp.14.abcd.html#dhp-183“&gt;….</tt>

</tr> </table>

Udana (Ud)

<table>

| Form:|<tt>VOLUME.CHAPTER.TEXT.SOURCE.EXT</tt>| </tr>

<tt>VOLUME:</tt><tt>ud</tt>

</tr>

<tt>CHAPTER:</tt><tt>1 2 3 4 5 6 7 8</tt>

</tr>

<tt>TEXT:</tt><tt>01 02 03 … 09 10</tt>

</tr>

Examples:<tt>uda.1.02.abcd.html</tt> (Ud 1.2)\\

</tr> </table>

Itivuttaka (Iti)

<table>

| Form:|<tt>VOLUME.CHAPTER.TEXT.SOURCE.EXT</tt>| </tr>

<tt>VOLUME:</tt><tt>iti</tt>

</tr>

<tt>CHAPTER:</tt><tt>1 2 3 4</tt>

</tr>

<tt>TEXT:</tt><tt>001 002 003 … 111 112</tt>

</tr>

Examples:

<tt>iti.1.002.abcd.html</tt> (Iti 2)
<tt>iti.2.028-030.abcd.html</tt> (Iti 28-30)
<tt>iti.4.106-112x.irel.html</tt> (excerpts from Iti 106-112)\\| </tr>

Note:The numbering of suttas (<tt>TEXT</tt>s) runs consecutively across chapters (it does not restart at the beginning of each chapter).

</tr> </table>

Suttanipata (Sn)

<table>

| Form:|<tt>VOLUME.CHAPTER.TEXT.SOURCE.EXT</tt>| </tr>

<tt>VOLUME:</tt><tt>snp</tt>

</tr>

<tt>CHAPTER:</tt><tt>1 2 3 4 5</tt>

</tr>

<tt>TEXT:</tt><tt>01 02 03 … 15 16</tt>

</tr>

Examples:

<tt>snp.1.02.abcd.html</tt> (Sn 1.2)
<tt>snp.5.16.abcd.html</tt> (Sn 5.16)\\| </tr> </table>

Vimanavatthu (Vv)

<table>

| Form:|<tt>VOLUME.CHAPTER.TEXT.SOURCE.EXT</tt>| </tr>

<tt>VOLUME:</tt><tt>vv</tt>

</tr>

<tt>CHAPTER:</tt><tt>1 2 3 4 5 6 7</tt>

</tr>

<tt>TEXT:</tt><tt>01 02 03 … 83 84 85</tt>

</tr>

Example:<tt>vv.1.16.irel.html</tt> (Vv 1.16)

</tr> </table>

Petavatthu (Pv)

<table>

| Form:|<tt>VOLUME.CHAPTER.TEXT.SOURCE.EXT</tt>| </tr>

<tt>VOLUME:</tt><tt>pv</tt>

</tr>

<tt>CHAPTER:</tt><tt>1 2 3 4</tt>

</tr>

<tt>TEXT:</tt><tt>01 02 03 … 49 50 51</tt>

</tr>

Example:<tt>pv.1.05.than.html</tt> (Pv 1.5)

</tr> </table>

Theragatha (Thag)

<table>

| Form:|<tt>VOLUME.CHAPTER.TEXT.SOURCE.EXT</tt>| </tr>

<tt>VOLUME:</tt><tt>thag</tt>

</tr>

<tt>CHAPTER:</tt><tt>01 02 03 … 20 21</tt>

</tr>

<tt>TEXT:</tt><tt>01 02 03 … 48 49</tt>

</tr>

Examples:

<tt>thag.01.00.abcd.html#sutta120</tt> (Thag 1.120; see Note)
<tt>thag.02.01.abcd.html</tt> (Thag 2.1)
<tt>thag.02.49x.abcd.html</tt> (Thag 2.49 (excerpt))
<tt>thag.21.01.abcd.html</tt> (Thag 21.1)\\| </tr>

Note:

Some chapters (e.g., 21) contain only one sutta, which is numbered 1.| </tr> </table>

Therigatha (Thig)

<table>

| Form:|<tt>VOLUME.CHAPTER.TEXT.SOURCE.EXT</tt>| </tr>

<tt>VOLUME:</tt><tt>thig</tt>

</tr>

<tt>CHAPTER:</tt><tt>01 02 03 … 15 16</tt>

</tr>

<tt>TEXT:</tt><tt>01 02 03 … 09 10</tt>

</tr>

Examples:

<tt>thig.01.00.abcd.html#sutta18</tt> (Thig 1.18; see Note)
<tt>thig.02.03.abcd.html</tt> (Thig 2.3)
<tt>thig.12.01x.abcd.html</tt> (Thig 12.1 (excerpt))\\| </tr>

Note:

Some chapters (e.g., 12) contain only one sutta, which is numbered 1.| </tr> </table>

Mahaniddesa (Nm)

<table>

| Form:|<tt>VOLUME.CHAPTER.TEXT.SOURCE.EXT</tt>| </tr>

<tt>VOLUME:</tt><tt>nm</tt>

</tr>

<tt>CHAPTER:</tt><tt>1 2 3 … 15 16</tt>

</tr>

<tt>TEXT:</tt><tt>01 02 03 … 20 21</tt>

</tr>

Example:<tt>nm.2.04.olen.html</tt> (Nm 2.4)

</tr>

Note:<tt>CHAPTER</tt> and <tt>TEXT</tt> are taken from the BJT edition.

</table>

Milindapañha (Miln)

Horner's strange enumeration of sections in Miln frustrates attempts at building logical file names. Suttas are grouped in „divisions,“ each of which contains several questions posed to Ven. Nagasena. Her chapter II contains divisions 1-3, while chapter III contains divisions 4-7. Thus, if the last question in chapter II were referenced as „Miln 2.3.16“ (Horner p. 87), the next question, in chapter III, would be referenced as „Miln 3.4.1“ (p. 89). In other words, there is no „Miln 3.1.1“. So be it.

<table>

Form:<tt>VOLUME.CHAPTER.[DIVISION.]TEXT.SOURCE.EXT</tt>

</tr>

<tt>VOLUME:</tt><tt>miln</tt>

</tr>

<tt>CHAPTER:</tt><tt>1 2 3 4 5 6 7</tt>

</tr>

<tt>DIVISION:</tt>depends on the <tt>CHAPTER</tt>.

</tr>

<tt>TEXT:</tt>dependson the <tt>DIVISION</tt>.

<tr><td></td><td> <table>

VOLUME.CHAPTER DIVISION TEXT miln.1 - - [not numbered ] miln.2 1 01 02 … 15 2 1 2 … 9 3 01 02 … 16 miln.3 4 1 2 … 8 5 01 02 … 10 6 01 02 … 11 7 01 02 … 16 miln.4 1 1 2 … 8 2 1 2 … 8 3 01 02 … 12 4 01 02 … 10 5 01 02 … 11 6 1 2 … 9 7 01 02 … 10 8 01 02 … 12 miln.5 - - [not numbered ] miln.6 - 1 2 … 9 miln.7 - 01 02 … 67

</td> </tr>

Example:

<tt>miln.2.3.12.kell.html</tt> (Miln 2.3.12; Horner vol 1 p.85; PTS p.62)
<tt>miln.2x.kell.html</tt> (Miln 2, excerpts)\\| </tr> </table>

</dl>

Reserved Translator Codes

These four-byte codes are used in the translator code sub-field of a filename.

<table style='font-size:smaller;margin:0 0 20px 20px;border:1px solid #ccc;padding:10px;'> <tr> <th style='font-weight:bold'>Code</th> <th style='font-weight:bold'>Translator</th> <th style='font-weight:bold'>Identifying info</th> </tr>

aggaAggacitta BhikkhuReceived higher ordination at Mahasi Meditation Centre, Rangoon, Myanmar, in 1979.
agkuAggacitta Bhikkhu & Kumara BhikkhuTranslations done jointly by these two individuals.
amarAmaravati SanghaAny of the monks or nuns affiliated with the Amaravati Buddhist Monastery, England.
bodhBodhi, Bhikkhugeb. Jeffrey Block in New York City, 1944.
bpitBurmese Pitaka AssociationVen. Dr. Ashin Candasiri, Mahaganthavacakapandita (Asst. Rector, Sitagu International Buddhist Academy, Sagaing Hills, Sagaing, Myanmar), by way of Vilāsa Bhikkhu.
buddBuddharakkhita, Ven. AcharyaFounder of the Maha Bodhi Society in Bangalore, India.
chlmChalmers, Robertgeb. 18 August 1858 (where?).
edmnEdmunds, Albert J.???
hareHare, E.M.geb. 4 March 1893 (where?).
harvHarvey, PeterNow at the School of Social and International Studies, University of Sunderland, Sunderland SR2 7EE, UK. (jtb 070328).
heckHecker, Hellmuth???
hekhHecker, Hellmuth & Khema, Ayya (Group)Translations done jointly by both individuals. (Hecker: Pali to German; Khema: German to English).
hornHorner, I.B.geb. in Walthamstow, England, 1896; d. 1981.
irelIreland, John D.geb. in London, 1932; d. 1998.
jnssJohansson, Rune E.A.geb. Sweden (when?); d. (when?). Author: The Dynamic Psychology of Early Buddhism; Pali Buddhist Texts: An Introductory Reader and Grammar (1998).
kantKantasilo Bhikkhu???
kellJohn Kellygeb. 1952.
khanKhantipalo Bhikkhugeb. Laurence Mills, 1932 (where?).
khemKhema, Ayyageb. Ilse Kussel in Berlin, 1923; d. 1997.
ksw0John Kelly, Sue Sawyer, & Victoria Wareham (Group)Translations done jointly by these three individuals.
kumaKumara Bhikkhugeb. Liew Chin Leag in Malaysia, 1972.
luptLupton, Walter Jamesgeb. 1871; d. 1955 (?dates unconfirmed?).
mendDr. N.K.G. Mendisgeb. (when?) Sri Lanka.
msydMahasi Sayadawgeb. Aug 14, 1904 at Seikkhun, Burma; d. Aug 14, 1982.
nanaÑanananda, Bhikkhugeb. in Sri Lanka (year?).
naraNarada Therageb. in Kotahena, Sri Lanka, 1898; d. 1983.
nizaNizamis, Khristosgeb. Adelaide, South Australia 1961. Independent philosopher, meditator, and scholar.
normNorman, K.R.Vice-president, Pali Text Society.
ntbbÑanamoli Thera & Bhikkhu Bodhi (Group)Translations done jointly by these two individuals. (Ñanamoli: Pali to English; Bodhi: Pali to English & editor.)
nymoÑanamoli Therageb. Osbert Moore in England, 1905; d. 1960.
nypoNyanaponika Therageb. Siegmund Feniger in Germany, 1901; d. 1994.
nysaNyanasatta Therageb. in Czechoslovakia (year?).
nyvaÑanavara Theraa.k.a. Somdet Phra Buddhaghosacariya (where? year?)
oldsOlds, Michaelgeb. Indiana, USA 1941; writing from New York and Los Altos. AKA 'Obo'.
olenOlendzki, AndrewExecutive director of the Barre Center for Buddhist Studies.
piyaPiyadassi Therageb. Colombo, Sri Lanka, in 1914; d. 1998.
pnjiPunnaji, Mahathera Madewelageb. Sri Lanka (when?); recommended by M.O.
rhycRhys Davids, C.A.F.geb. Caroline Augusta Foley in Wadhurst, England, 1857; d. 1942
rhytRhys Davids, T.W.geb. in Colchester, England, 1843; d. Chipstead, England 1922.
sangsangham.netÜbersetzungsgemeinschaft im Arbeitsforum des Online-Klosters sangham.net
somaSoma Therageb. Victor Emmanuel Perera Pulle in Sri Lanka, 1898; d. 1960.
soniSoni, R.L.Resided in Mandalay, Burma in the 1950's.
storStory, Francisgeb. in England 1910; d. 1972.
tanpTan, Piyageb. Piya Tan Beng Sin in Malaisen, 1949.
thanThanissaro Bhikkhugeb. Geoffrey DeGraff in USA, 1949.
uppaUpalavanna, Sister???
vajiVajira, Sistergeb. in Germany.
vakaÑanavara Thera & Kantasilo Bhikkhu (Group)Translations done jointly by these two individuals.
uppaUppalavanna von Galla, Schwestergeb. in Sri Lanka, hält sich in der Provinz Galla auf.
wlshWalshe, Maurice O'Connorgeb. in London 1911; d. 1998.
woodWoodward, F.L.geb. 1871; d. 1952.
wrrnWarren, Henry Clarkegeb. in Boston 1854; d. 1899. (Recommended by M.O. 060719.)
yahoYahoo! Pali Group (Group)Translations done jointly by participants of the Yahoo! Pali Group, an online forum.

</table>

Notes

1.

At the time of this writing (June 2006), ATI has about 1,700 files linked by 50,000 hyperlinks.

2.

Elsewhere I discussed the possibility of a compact numerical file-naming system, whereby any sutta in the Tipitaka can be uniquely identified by an ordered series of nine digits. One of the system's greatest appeals is that, when a random pile of files is sorted alphabetically, the files arrange themselves into their proper canonical order. Although the mathematical precision of this system has its appeal (the roman digits are widely recognized, even to languages that don't use the roman alphabet), the filenames are cumbersome. It would take a machine to tell you that <tt>230056011.html</tt> was the Buddha's first discourse (SN 56.11); or that <tt> 210000022.html</tt> was the Mahasatipatthana Sutta (DN 22). But perhaps this is precisely the value of such a system: it is eminently suited for automated file manipulation. The future of filing systems, however, lies in the metadata within the files themselves, perhaps in the form of XML tags. In a few years' time it won't matter how we name our files; this numerical scheme and the one that is the subject of this document will soon be obsolete. The metadata alone will take care of all those pesky filing chores for us. So we may as well work with names that have a human and historical face; one that uses <tt>mn</tt> and <tt>thig</tt> instead of sterile digits.

3.

There has been much online discussion about how to subdivide SN files. The best options seem to boil down to these:

  1. Divide by vagga only (5 directories, total): <tt>sn/1/, sn/2/, sn/3, sn/4/, sn/5/</tt>

  2. Divide by samyutta only (56 dirs): <tt>sn/01/, sn/02/,… sn/55/, sn/56/</tt>

  3. Divide by both vagga and samyutta (5 dirs + 56 dirs): <tt>sn/1/01/, sn/1/02/, … sn/1/11/; sn/2/01/, sn/2/02/, … sn/2/21/; … sn/5/01/, sn/5/02/, … sn/5/56/.</tt>

Dividing by vagga (1 and 3) has compelling didactic appeal, as the thematic grouping of suttas is more tightly bound to vagga than to samyutta. But if the goal is to simplify file management for a website librarian, who spends much of his or her time clicking and scrolling through directories to edit files, method 2 makes most sense. Consider a website containing the complete SN (2,889 files). Method 1 would yield about 500 files/dir (f/d); method 2 about 50 f/d; method 3 about 50 f/d, plus an additional layer of 5 dirs. From a librarian's point of view, the best choice is the simplest, cleanest, quickest, and most intuitive one. To me, that's 2. Although 1 and 3 have theoretical appeal, from a practical file-management point of view they add additional keystrokes and mouse-clicks that I don't want. Librarians and webmasters can, of course, design their index.html files to present SN files as being subdivided any way they like. But that is more a matter of display, not of organization.

</dl>


Hilfe | Über | Kontakt | Umfang der Dhamma-Gabe | Mitwirken
Anumodana puñña kusala!

de/tech/file.txt · Zuletzt geändert: 2022/08/08 13:23 von Johann