Recent Topics

[Today at 11:54:58 AM]

[Today at 11:23:38 AM]

[Today at 05:58:06 AM]

[Today at 05:42:57 AM]

[November 17, 2019, 06:07:26 PM]

[November 17, 2019, 05:43:55 PM]

[November 17, 2019, 03:35:17 PM]

[November 17, 2019, 11:25:12 AM]

[November 17, 2019, 11:09:54 AM]

[November 16, 2019, 10:06:15 PM]

[November 16, 2019, 06:33:59 PM]

[November 16, 2019, 05:20:48 PM]

[November 16, 2019, 01:45:32 PM]

[November 16, 2019, 06:39:00 AM]

[November 15, 2019, 05:23:35 PM]

[November 15, 2019, 05:19:52 PM]

[November 15, 2019, 06:39:27 AM]

[November 14, 2019, 04:12:21 PM]

[November 13, 2019, 12:17:11 PM]

[November 13, 2019, 07:27:02 AM]

[November 13, 2019, 06:46:12 AM]

[November 12, 2019, 08:15:05 AM]

[November 11, 2019, 05:22:23 PM]

[November 11, 2019, 03:02:17 PM]

[November 11, 2019, 10:49:24 AM]

[November 11, 2019, 10:35:59 AM]

[November 11, 2019, 06:36:45 AM]

[November 10, 2019, 07:25:28 PM]

[November 10, 2019, 06:21:10 PM]

Talkbox

2019 Nov 18 05:41:01
Moritz: Chom reap leah, for now _/\_ May Bhante have a pleasent day. _/\_

2019 Nov 18 05:22:11
Johann: Nyom Moritz

2019 Nov 18 05:20:39
Moritz: Vandami Bhante _/\_

2019 Nov 16 21:59:56
Moritz: Vandami Bhante _/\_ _/\_ _/\_

2019 Nov 16 20:43:25
Johann: Ayasma Moritz

2019 Nov 14 22:46:22
Johann: Atma leaves the paranimmita-vasavatti deva and nimmanarati deva now to find good birth by themself, no more power left.

2019 Nov 14 22:00:48
Cheav Villa: _/\_ _/\_ _/\_

2019 Nov 14 21:39:00
Johann: Duties and Silas are words of same meaning, denoting "proper conduct and giving in ones relations where ne desires to have a good and safe stand"

2019 Nov 14 21:25:51
Cheav Villa:  _/\_ _/\_ _/\_

2019 Nov 14 21:21:02
Johann: May all have good rest at the end of day, done ones duties or even a blessed done merits after that as well. My person is now off of energy and good to rest as well.

2019 Nov 14 13:43:11
Khemakumara:  _/\_ _/\_ _/\_

2019 Nov 14 10:35:51
Johann: Respecting the Devas one gains their respect and protection.

2019 Nov 14 10:34:40
Johann: Bhante. (Meawmane is a spirit from a Server in Bangkok)

2019 Nov 14 10:28:52
Khemakumara: Nyom Meawmane

2019 Nov 14 10:27:53
Khemakumara:  _/\_ _/\_ _/\_ Bhante

2019 Nov 13 20:44:51
Cheav Villa:  _/\_ _/\_ _/\_

2019 Nov 13 20:28:20
Johann: Bhante  _/\_ Nyom, Nyom

2019 Nov 13 13:19:14
Cheav Villa: Kana Bhante :) _/\_ _/\_ _/\_

2019 Nov 13 11:54:18
Johann: Mahā (written), not moha (following civil transliteration of khmer, very unuseful, better following pali transliteration) "Deluded Wisdom Monastery" could be understood while "Great Wisdom Monastery"  :)

2019 Nov 13 10:22:14
Johann: mudita

2019 Nov 13 09:56:41
Cheav Villa: Kana now at Panha Moha Viheara, waiting for  Bhikkuni

2019 Nov 13 09:47:10
Cheav Villa: Vandami Bhante _/\_ _/\_ _/\_

2019 Nov 12 08:01:41
Cheav Villa: Sadhu Sadhu Sadhu  _/\_ _/\_ _/\_

2019 Nov 12 05:35:02
Khemakumara:  Sīlena nibbutiṁ yanti. Through virtue they go to Unbinding. May it be a fruit-and pathful Uposatha day.

2019 Nov 11 16:41:52
Varado: Happily indeed we live, we, for whom there is [nowhere] anything at all. We will feed on rapture like the Ābhassarā devas. Dh.v.200.

2019 Nov 11 11:40:45
Johann: Ven. Sirs  _/\_ (Kana trust that leave for some rest will not reduce Bhantes releasing joy here)

2019 Nov 11 11:13:48
Cheav Villa: Sadhu Sadhu Sadhu  _/\_ _/\_ _/\_

2019 Nov 11 11:06:19
Johann: May it be an auspicious end of the Vassa of the Noble ones, a deep Anapanasati day today, for all conducting the full moon uposatha today.

2019 Nov 11 06:00:43
Johann: " Happy/peaceful the area/custom of the Arahats, craving and wandering on having layed aside"?

2019 Nov 11 03:22:11
Johann: Of which would mean what, Lok Ta, if not wishing to use google or not given means?

2019 Nov 10 23:54:03
Varado: Sukhino vata arahanto taṇhā tesaṃ na vijjati _/\_

2019 Nov 10 19:51:07
Khemakumara:  _/\_ _/\_ _/\_ Bhante Ariyadhammika

2019 Nov 10 17:54:44
Johann: ភនតេ វ៉ាលិ

2019 Nov 10 14:42:47
Johann: Lok Ta  _/\_

2019 Nov 09 16:31:12
Cheav Villa: Sadhu Sadhu Sadhu  :) _/\_ _/\_ _/\_

2019 Nov 09 16:25:14
Johann: May Nyom and all have a safe travel

2019 Nov 09 16:03:41
Cheav Villa: Kana and kids Plan to go to Aural tomorrow, will leave Phnom Penh at 5am  _/\_ _/\_ _/\_

2019 Nov 09 15:41:39
Cheav Villa: Vandami Bhante  _/\_ _/\_ _/\_

2019 Nov 09 15:37:40
Johann: Bhante Ariyadhammica, Nyom Villa

2019 Nov 09 15:35:16
Johann: Sadhu

2019 Nov 09 14:56:15
Varado: Homage to the Noble Sangha _/\_ _/\_ _/\_

2019 Nov 09 14:55:15
Varado: Blessed is the arising of Buddhas. Blessed is the explaining of the true teaching. Blessed is concord in the community of bhikkhus. Of those in concord, blessed is their practice of austerity.

2019 Nov 09 14:53:06
Johann: Ven Grandfather, Nyom Annaleana,

2019 Nov 09 01:57:47
Moritz: Vandami, Bhante Varado _/\_

2019 Nov 09 01:43:05
Varado: Pūjā ca pūjanīyānaṃ

2019 Nov 09 00:44:14
Johann: Worthy those on path or reached the aim

2019 Nov 08 22:36:29
Varado: Homage to those elder bhikkhus of long-standing who have long gone forth, the fathers and leaders of the Sangha. _/\_

2019 Nov 08 20:16:23
Johann: May the Venerables allow my persons leave, running out of battery.  _/\_

2019 Nov 08 20:09:51
Johann: Sadhu, Sadhu!

2019 Nov 08 20:09:14
Varado: Homage to Good Friends. For this is the entire holy life. _/\_ _/\_ _/\_

2019 Nov 08 20:07:04
Varado: Homage to the Good Friends. For this is the entire holy life. _/\_ _/\_ _/\_

2019 Nov 08 19:29:09
Varado: Thanks for summary. I send article on milk. Anything else?

2019 Nov 08 18:53:24
Varado: Also greed, hatred, and delusion. Tīni akusalamūlāni: lobho akusalamūlaṃ doso akusalamūlaṃ moho akusalamūlaṃ (D.3.214).

2019 Nov 08 18:36:34
Johann: So does it, so does it, for Bhikkhus, layman, laywoman as well. And what is the root of stinginess? Ingratitude (wrong view).

2019 Nov 08 18:30:56
Varado: Possessing five qualities, a bhikkhuni is deposited in hell as if brought there. What five? She is miserly with dwellings, families, gains, praise, and the Dhamma (A.3.139). Pañcahi bhikkhave dhammehi samannāgatā bhikkhunī yathābhataṃ nikkhittā evaṃ niraye: katamehi pañcahi: Āvāsamaccha

2019 Nov 08 18:23:39
Varado: Macchariya for lodgings, maybe?

2019 Nov 08 18:01:17
Johann: Kana saw that Bhikkhunis has even a rule in regard of macchariya, for Vineyya in their Vinaya.

2019 Nov 08 17:58:14
Johann: So does it dear Ven. Grandfather, so does it. Amacchariya is the domain of the Noble Ones, beginning by the stream to the complete of stinginess's root.

2019 Nov 08 17:51:33
Varado: Having eliminated the stain of stinginess together with its origin, they are beyond criticism.

2019 Nov 08 17:35:15
Johann: ...and "Vineyya maccheramalaṁ samūlaṁ aninditā"

2019 Nov 08 17:29:21
Johann: These Devas and Brahmas...  :) mudita

2019 Nov 08 16:53:41
Varado: May the Buddha bless you. May the Dhamma shine on you. May Wat Ayum be a refuge to many. For any possible help with questions, please email. My pleasure.

2019 Nov 08 13:55:57
Johann: ..."This shows that the Buddha would not be troubled by those who become angry and resentful, but by those who are strongly opinionated and who relinquish their views reluctantly...."

2019 Nov 08 09:27:01
Johann: Ven. Bhantes

2019 Nov 08 09:23:11
Khemakumara:   _/\_ _/\_ _/\_ Bhante Ariyadhammika

2019 Nov 08 06:26:12
Johann: It was four days after closing that decreased in last instance

2019 Nov 08 06:15:13
Moritz: The bot traffic is not decreasing.

2019 Nov 08 06:15:10
Johann: Ayasma Moritz

2019 Nov 08 06:14:53
Moritz: (was logged in long time before, but not at PC)

2019 Nov 08 06:14:52
Johann: Ayasama Moritz

2019 Nov 08 06:14:06
Moritz: Vandami Bhante _/\_ _/\_ _/\_

2019 Nov 08 02:08:55
Moritz: Sadhu _/\_ May Bhante bear and overcome all sickness well _/\_ _/\_ _/\_

2019 Nov 08 02:05:42
Khemakumara: Khantı paramaṁ tapo tītikkhā. Patient forbearance is the highest austerity

2019 Nov 08 02:01:46
Khemakumara: lack of energy because of sickness of the body (boils) Nyom Moritz

2019 Nov 08 01:53:48
Khemakumara: Meister Moritz

2019 Nov 08 01:52:12
Moritz: Hoping Bhante is well _/\_

2019 Nov 08 01:51:55
Moritz: Vandami Bhante (Khemakumara) _/\_ _/\_ _/\_

2019 Nov 07 20:02:22
Johann: enery, battery saysfinish for now... may there be food for liberation be found and got touched by many independently.

2019 Nov 07 20:00:16
Johann: Every being, even without capacity to gain higher, is worthy of metta, worthy to be not harmed in existance, worthy to help in times of needing the four paccayas, Ven. Grandfather.

2019 Nov 07 19:37:39
Visitor: Let us treat those with Buddhanature with the respect appropriate to future Buddhas.

2019 Nov 07 19:01:03
Johann: Maybe an inspirig topic on the matter How should I express Mudita or Joy for all beings? for all having access (upanissaya).

2019 Nov 07 18:56:59
Johann: Sadhu, Sadhu. That's how mudita is good understood in relation with "Buddhanature"

2019 Nov 07 18:54:52
Visitor: Homage to all those with Buddhanature. _/\_ _/\_ _/\_

2019 Nov 07 18:53:59
Visitor:  Homage to all the Buddhas.  _/\_ _/\_ _/\_

2019 Nov 07 18:28:47
Johann: Dear lok ta Visitor

2019 Nov 07 17:29:02
Cheav Villa:  _/\_  _/\_ _/\_

2019 Nov 07 17:24:12
Johann: Don't worry either, yet perfect if visiting the Nuns. Mudita

2019 Nov 07 17:21:15
Cheav Villa: About the medicin called loṇasociraka, Kana will take time to go to Visit Wat Panha to ask her for detail  _/\_ _/\_ _/\_

2019 Nov 07 17:21:05
Johann: Cetana counts, the own one, Nyom.

2019 Nov 07 17:18:42
Johann: May Nyom not worry to much about it. My person guesses Nyom Chanroth might have lot of joy in the idea of planting. While Cacaco is fine, yet not a need or request, it's something that can be gained in shops.

2019 Nov 07 17:09:57
Cheav Villa: Kana now seen without Sila… someone could not tell the truth 

2019 Nov 07 17:01:13
Cheav Villa: Kana ordered 5kg via web, phoned them 2days ago but still no delivery cause of no confirmation since he still abroad now

2019 Nov 07 16:49:17
Cheav Villa: But the Cacao company in Mondolkiri doesnt allowed, they sale Cacao beans.

2019 Nov 07 16:47:38
Cheav Villa: Kana Bhante  _/\_ _/\_ _/\_ as he informed to bring only Cacao fruits for Bhante could make and use of medecine againts Malaria

2019 Nov 07 16:20:48
Johann: Indeed releasing investigation cause hunger and no food can be expected at the end as well.

2019 Nov 07 16:18:35
Johann: When homeless effort is requested, no joy in sacrificing into it. Oh this monks... of modern world.  :)

2019 Nov 07 16:16:59
Johann: Oh this monks  :) When household effort can be made for favor and house, all engaged...

2019 Nov 07 14:17:18
Johann: Āyasmā Moritz (Master, a usual address for skilled lay people in the Tipitaka)

2019 Nov 06 17:27:06
Cheav Villa: Master Moritz _/\_

2019 Nov 06 17:23:52
Moritz: Bong Villa _/\_

Tipitaka Khmer

 Please feel welcome to join the transcription project of the Tipitaka translation in khmer, and share one of your favorite Sutta or more. Simply click here or visit the Forum: 

Search ATI on ZzE

Zugang zur Einsicht - Schriften aus der Theravada Tradition



Access to Insight / Zugang zur Einsicht: Dhamma-Suche auf mehr als 4000 Webseiten (deutsch / english) - ohne zu googeln, andere Ressourcen zu nehmen, weltliche Verpflichtungen einzugehen. Sie sind für den Zugang zur Einsicht herzlich eingeladen diese Möglichkeit zu nutzen. (Info)

Random Sutta
Random Article
Random Jataka

Zufälliges Sutta
Zufälliger Artikel
Zufälliges Jataka


Arbeits/Work Forum ZzE

"Dhammatalks.org":
[logo dhammatalks.org]
Random Talk
[pic 30]

Dear Visitor!

Herzlich Willkommen auf sangham.net! Welcome to sangham.net!
Ehrenwerter Gast, fühlen sie sich willkommen!

Sie können sich gerne auch unangemeldet an jeder Diskussion beteiligen und eine Antwort posten. Auch ist es Ihnen möglich, ein Post oder ein Thema an die Moderatoren zu melden, sei es nun, um ein Lob auszusprechen oder um zu tadeln. Beides ist willkommen, wenn es gut gemeint und umsichtig ist. Lesen Sie mehr dazu im Beitrag: Melden/Kommentieren von Postings für Gäste
Sie können sich aber auch jederzeit anmelden oder sich via Email einladen und anmelden lassen oder als "Visitor" einloggen, und damit stehen Ihnen noch viel mehr Möglichkeiten frei. Nutzen Sie auch die Möglichkeit einen Segen auszusprechen oder ein Räucherstäbchen anzuzünden und wir freuen uns, wenn Sie sich auch als Besucher kurz vorstellen oder Hallo sagen .
Wir wünschen viel Freude beim Nutzen und Entdecken des Forums mit all seinen nützlichen Möglichkeiten .
 
Wählen Sie Ihre bevorzugte Sprache rechts oben neben dem Suchfenster.

Wähle Sprache / Choose Language / เลือก ภาษา / ជ្រើសយកភាសា: ^ ^
 Venerated Visitor, feel heartily welcome!
You are able to participate in discussions and post even without registration. You are also able to report a post or topic to the moderators, may it be praise or a rebuke. Both is welcome if it is meant with good will and care. Read more about it within the post: Report/comment posts for guests
But you can also register any time or get invited and registered in the way to request via Email , or log in as "Visitor". If you are logged in you will have more additional possibilities. Please feel free to use the possibility to  give a blessing or light an incent stick and we are honored if you introduce yourself or say "Hello" even if you are on a short visit.
We wish you much joy in using and exploring the forum with all its useful possibilities  
Choose your preferred language on the right top corner next to the search window!

Zugang zur Einsicht - Übersetzung, Kritik und Anmerkungen

Herzlich Willkommen im Arbeitsforum von zugangzureinsicht.org im Onlinekloster sangham.net!


Danke werte(r) Besucher(in), dass Sie von dieser Möglichkeit Gebrauch machen und sich direkt einbringen wollen.

Unten (wenn Sie etwas scrollen) finden Sie eine Eingabemaske, in der Sie Ihre Eingabe einbringen können. Es stehen Ihnen auch verschiedene Gestaltungsmöglichkeiten zur Verfügung. Wenn Sie einen Text im formatierten Format abspeichern wollen, klicken Sie bitte das kleine Kästchen mit dem Pfeil.

Die Textfelder "Name" und "email" müssen ausgefüllt werden, Sie können hier aber auch eine Anonyme Angabe machen und eine Pseudo-email angeben (geben Sie, wenn Sie Rückantwort haben wollen, jedoch einen Kontakt an), wenn Ihnen das unangenehm ist. Der Name scheint im Forum als Text auf und die Email ist von niemanden außer dem Administrator einsehbar.

Wenn Sie den Text fertig geschrieben haben, müssen Sie noch den Spamschutz überwinden, das Bild zusammen setzen, und dann auf "Vorschau" oder "Senden" drücken, wenn für Sie alles passt.

Wenn Sie eine Spende einer Übersetzung machen wollen, wäre es schön, wenn Sie etwas vom Entstehen bzw. deren Herkunft erzählen und Ihrer Gabe vielleicht noch eine Widmung anhängen.

Gerne, so es möglich ist, werden wir Ihre Übersetzung dann auch den Seiten von Zugang zur Einsicht veröffentlichen. Für generelle Fragen zu dem Umfang der Dhamma-Geschenke auf ZzE sehen Sie bitte in den FAQ von ZzE ein.

Gerne empfangen wir Kritik und selbstverständlich auch Korrekturen oder Anregungen hier. Es steht Ihnen natürlich offen und Sie sind dazu herzlich eingeladen auch direkt mit einem eigenen Zugang hier an den Arbeiten vielleicht direkt teilzunehmen.

Sadhu!

metta & mudita
Ihr Zugang zur Einsicht Team

Um sich im Abeitsforum etwas unzusehen, klicken Sie hier. . Sie finden hier viele Informationen und vielleicht sogar neues rund um Zugang zur Einsicht.

Author Topic: [ATI.eu] CSCD xml to ati.eu format: converting, editing  (Read 11248 times)

0 Members and 1 Guest are viewing this topic.

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +367/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] CSCD xml to ati.eu format: converting, editing
« Reply #60 on: February 26, 2019, 06:21:25 AM »
Sadhu
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +367/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] CSCD xml to ati.eu format: converting, editing
« Reply #61 on: February 26, 2019, 05:09:02 PM »
Replacement for the header-hangnum correction in jat, atthakatha and tipitaka

Name of replacement: hangum into header (jat)

search:

/===== ([^<>]*?) =====\n<span sang_id #([^\n]*?)>\[\[\{path-release\}:([^\n]*?)\|([^\n]*?)\]\] \| \[\[([^\n]*?):([^\n]*?):([^\n]*?)#([^\n]*?)\|source\]\]<\/span>(.*?)<p rend=[^\w]hangnum[^\w]>[\s]*<\/p>[\n]+ ([១២៣៤៥៦៧៨៩០1234567890๑๒๓๔๕๖๗๘๙๐\-]+)\. ([^\n]*?)\n/s

replace
===== $1 =====\n<span sang_id #$2>[[{path-release}:$3|$4]] | [[$5:$6:$7#$8|source]]</span>$9==== $10. $11 ====\n<span sang_id #$2.{no}>[[{path-release}:$2.{no}|$2.{no}]] | [[$5:$6:$7#$2.{no}|source]]</span>\n

fist turn: "86 matches on 23 pages" then 10+ times
It has to be repeated till no new match can be found any more. In case a new script has special chars for numbers, they have to be added in the search.

For higher headers only pages then, and other specials... let's see further.

Ohh... btw. did Nyom Moritz , and that is just a question not a demand anyhow, run the replacement for the newly uploaded previous "broken" 169 pages another time, just thought there might be are some incl./misssed in this match(es) actually.

(the code display seems to be bugy here, btw., as the mod might be not updated to php version ?, therefore as quote text)
« Last Edit: February 26, 2019, 07:31:18 PM by Johann »
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +367/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] CSCD xml to ati.eu format: converting, editing
« Reply #62 on: February 26, 2019, 07:25:57 PM »
Replacement for the higher header-hangnum correction in jat, atthakatha and tipitaka

Name of replacement: hangum into header (jat) 2

search:

/======= ([^<>]*?) =======\n<span sang_id #([^\n]+?)\.v(..)>\[\[\{path-release\}:([^\n]+?)\.v(..)\|([^\n]+?)\.v(..)\]\] \| \[\[([^\n]*?):([^\n]*?):([^\n]+?)\.v(..)#([^\n]+?)\.v(..)\|source\]\]<\/span>(.*?)<p rend=[^\w]hangnum[^\w]>[\s]*<\/p>[\n]+ ([១២៣៤៥៦៧៨៩០1234567890๑๒๓๔๕๖๗๘๙๐\-]+)\. ([^\n]*?)\n/s

replace:

======= $1 =======\n<span sang_id #$2.v$3>[[{path-release}:$4.v$5|$6.v$7]] | [[$8:$9:$10.v$11#$12.v$13|source]]</span>$14==== $15. $16 ====\n<span sang_id #$2.{no}>[[{path-release}:$2.{no}|$2.{no}]] | [[$8:$9:$10.v$11#$2.{no}|source]]</span>\n

fist turn: "38 matches on 38 pages" then 10+ times
It has to be repeated till no new match can be found any more. In case a new script has special chars for numbers, they have to be added in the search.

« Last Edit: February 26, 2019, 07:44:03 PM by Johann »
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +367/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] CSCD xml to ati.eu format: converting, editing
« Reply #63 on: February 27, 2019, 10:17:13 AM »
with [..] likewise

hangum into header (jat) 3

search:

/===== ([^<>]*?) =====\n<span sang_id #([^\n]*?)>\[\[\{path-release\}:([^\n]*?)\|([^\n]*?)\]\] \| \[\[([^\n]*?):([^\n]*?):([^\n]*?)#([^\n]*?)\|source\]\]<\/span>(.*?)<p rend=[^\w]hangnum[^\w]>[\s]*<\/p>[\n]+ \[([១២៣៤៥៦៧៨៩០1234567890๑๒๓๔๕๖๗๘๙๐\-]+)\] ([^\n]*?)\n/s

replace:
 
===== $1 =====\n<span sang_id #$2>[[{path-release}:$3|$4]] | [[$5:$6:$7#$8|source]]</span>$9==== [$10] $11 ====\n<span sang_id #$2.{no}>[[{path-release}:$2.{no}|$2.{no}]] | [[$5:$6:$7#$2.{no}|source]]</span>\n

hangum into header (jat) 4

search:

/======= ([^<>]*?) =======\n<span sang_id #([^\n]+?)\.v(..)>\[\[\{path-release\}:([^\n]+?)\.v(..)\|([^\n]+?)\.v(..)\]\] \| \[\[([^\n]*?):([^\n]*?):([^\n]+?)\.v(..)#([^\n]+?)\.v(..)\|source\]\]<\/span>(.*?)<p rend=[^\w]hangnum[^\w]>[\s]*<\/p>[\n]+ \[([១២៣៤៥៦៧៨៩០1234567890๑๒๓๔๕๖๗๘๙๐\-]+)\] ([^\n]*?)\n/s

replace:

======= $1 =======\n<span sang_id #$2.v$3>[[{path-release}:$4.v$5|$6.v$7]] | [[$8:$9:$10.v$11#$12.v$13|source]]</span>$14==== [$15] $16 ====\n<span sang_id #$2.{no}>[[{path-release}:$2.{no}|$2.{no}]] | [[$8:$9:$10.v$11#$2.{no}|source]]</span>\n

and since once defined exception increase...

hangum into header (jat) 5

search:

/======= ([^<>]*?) =======\n<span sang_id #([^\n]+?)\.v(..)_([^\n]+?)>\[\[\{path-release\}:([^\n]+?)\.v(..)_([^\n]+?)\|([^\n]+?)\.v(..)_([^\n]+?)\]\] \| \[\[([^\n]*?):([^\n]*?):([^\n]+?)\.v(..)_([^\n]+?)#([^\n]+?)\.v(..)_([^\n]+?)\|source\]\]<\/span>(.*?)<p rend=[^\w]hangnum[^\w]>[\s]*<\/p>[\n]+ \[([១២៣៤៥៦៧៨៩០1234567890๑๒๓๔๕๖๗๘๙๐\-]+)\] ([^\n]*?)\n/s

replace:

======= $1 =======\n<span sang_id #$2.v$3_$4>[[{path-release}:$5.v$6_$7|$8.v$9_$10]] | [[$11:$12:$13.v$14_$15#$16.v$17_$18|source]]</span>$19==== [$20] $21 ====\n<span sang_id #$2.{no}_$4>[[{path-release}:$2.{no}_$4|$2.{no}_$4]] | [[$11:$12:$13.v$14_$15#$2.{no}_$4|source]]</span>\n


placeholder with higher header

hangum into header (jat) 6

search:

/======= ([^<>]*?) =======\n<span sang_id #([^\n]*?)>\[\[\{path-release\}:([^\n]*?)\|([^\n]*?)\]\] \| \[\[([^\n]*?):([^\n]*?)#([^\n]*?)\|source\]\]<\/span>(.*?)<p rend=[^\w]hangnum[^\w]>[\s]*<\/p>[\n]+ ([១២៣៤៥៦៧៨៩០1234567890๑๒๓๔๕๖๗๘๙๐\-]+)\. ([^\n]*?)\n/s

replace:

======= $1 =======\n<span sang_id #$2>[[{path-release}:$3|$4]] | [[$5:$6#$7|source]]</span>$8==== $9. $10 ====\n<span sang_id #{file-}.{no}>[[{path-release}:{file-}.{no}|{file-}.{no}]] | [[{path-source}:{file}#{file-}.{no}|source]]</span>\n
« Last Edit: February 27, 2019, 03:14:11 PM by Johann »
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Offline Moritz

  • Cief houskeeper / Chefhausmeister
  • Very Engaged Member
  • *
  • Sadhu! or +256/-0
  • Gender: Male
Re: [ATI.eu] CSCD xml to ati.eu format: converting, editing
« Reply #64 on: February 27, 2019, 06:20:53 PM »
Vandami Bhante _/\_

Ohh... btw. did Nyom Moritz , and that is just a question not a demand anyhow, run the replacement for the newly uploaded previous "broken" 169 pages another time, just thought there might be are some incl./misssed in this match(es) actually.

I just added the list of files manually to the index now.

(the code display seems to be bugy here, btw., as the mod might be not updated to php version ?, therefore as quote text)
I can't recognize anything looking wrong on the picture.
What is it that seems buggy there?

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +367/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] CSCD xml to ati.eu format: converting, editing
« Reply #65 on: February 27, 2019, 06:43:54 PM »
Sadhu

Vandami Bhante _/\_

Ohh... btw. did Nyom Moritz , and that is just a question not a demand anyhow, run the replacement for the newly uploaded previous "broken" 169 pages another time, just thought there might be are some incl./misssed in this match(es) actually.

I just added the list of files manually to the index now.

Oh, it was more about the placeholder-replacment that Nyom did with a script. Indexing seems fine


(the code display seems to be bugy here, btw., as the mod might be not updated to php version ?, therefore as quote text)
I can't recognize anything looking wrong on the picture.
What is it that seems buggy there?

When having put this replace code under "code" it appeared different, repeated if looking at the screenshot.

Quote from:
===== $1 =====\n<span sang_id #$2>[[{path-release}:$3|$4]] | [[$5:$6:$7#$8|source]]</span>$9==== $10. $11 ====\n<span sang_id #$2.{no}>[[{path-release}:$2.{no}|$2.{no}]] | [[$5:$6:$7#$2.{no}|source]]</span>\n
« Last Edit: February 27, 2019, 06:51:49 PM by Johann »
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +367/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
[ATI.eu] Indexing and search engine issues
« Reply #66 on: March 06, 2019, 05:30:51 PM »

Aramika   *

Ein oder mehrer Beiträge wurden hier im Thema abgeschnitten und damit in neues Thema "[ATI.eu] Indexing and search engine issues " eröffnet, dem angehäng.
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +367/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] CSCD xml to ati.eu format: converting, editing
« Reply #67 on: March 06, 2019, 07:18:52 PM »
hangnum corr
hangnumber and dot combinations

search:

/<p rend=[^\w]hangnum[^\w]>([^<>]+?)<hi rend=[^\w]dot[^\w]>.<\/hi><\/p>/

replace:

<div hangnum><span para #$1>[$1]</span></div>


Only in one file in the four sections:
search:

/<p rend=[^\w]hangnum[^\w]><hi rend=[^\w]dot[^\w]>.<\/hi>([^<>]+?)<\/p>/

replace:

<div hangnum><span para #5>[$1]</span></div>

"<p rend="hangnum">(ка)</p>" cases

search:

/<p rend=[^\w]hangnum[^\w]>\(([^><]+?)\)<\/p>/

replace:

<div hangnum>($1)</div>

hangnum+paranum cases

search:

<p rend=[^\w]hangnum[^\w] n=[^\w]([^<>]*?)[^\w]><hi rend=[^\w]paranum[^\w]>([^<>]*?)<\/hi>[\. ,]*([^\n]*)<\/p>[\s]*

replace:

<div hangnum><span para #para_$1>[$2]</span></div> $3\n\n

(not wished exceptions here include: ...<hi rend="bold"></hi>.</p> ->  ...<hi rend="bold"></hi>.)

dot bold corr (exception !! not in :tipitaka:sut.kn.thi.05 , here it is a dot at the end of a sentence)

search:

<hi rend=[^\w]bold[^\w]><\/hi>\.|<hi rend=[^\w]bold[^\w]>\.<\/hi>

replace with nothing and for :tipitaka:sut.kn.thi.05 with .

Special cases of "lost" hangnum

<div gatha3>បញ្ញាធិតិសីលគុណោឃវិន្ទំ,</div>

<p rend="hangnum">វន្ទេ មុនិមន្តិមជាតិយុត្តំ។</p>

<p rend="gathalast"></p>

search:

<div gatha([0-9]+)>(.+?)<\/div>\n\n<p rend=[^\w]hangnum[^\w]>(.+?)<\/p>\n\n<p rend=[^\w]gathalast[^\w]>[\s]*<\/p>

replace:

<div gatha$1>$2</div>\n\n<div gathalast>$3</div>

strange + in tika:abh.pa.31_tik#10299 and :tipitaka:sut.dn.20#26891

Quote from: tika:abh.pa.31_tik#10299
<p rend="hangnum">д̇ам̣ гаммапассад̣̇ваарзхи, д̣̇увид̇хам̣ самбавад̇д̇ад̇и.+</p>

search:

\+<\/div>

replace:

</div>

strange () and lost hangum in gatha

<div gatha3>г̇анд̇аб̣б̣ам̣ во суг̇ахид̇амид̣̇ам̣ бхаасид̇ам̣ бхигкунод̇и</div>

<p rend="hangnum"> </p>

<div gathalast> чад̣д̣зд̇аб̣б̣ам̣ гаважанамид̇арам̣ д̣̇уг̇г̇ахийд̇анд̇и но жз;()</div>

search:

<div gatha([0-9]+)>(.+?)<\/div>\n\n<p rend=[^\w]hangnum[^\w]>[\s]+?<\/p>\n\n<div gathalast>(.*?)<\/div>

replace:

<div gatha$1>$2</div>\n\n<div gathalast>$3</div>


strange () :anya:siha-gs.jiva_any – 1798 matches x 4 ! (good if looking whether source had been touched)
search:

\(\)<\/div>

replace:

</div>

last 19 matches on 12 pages of "hangnum" are corrected manual matching single similar case with exceptions. Good done hopefully and to be listed good for further language implementations.

Exceptions (requiring further work later):

.:anya:niti-gs.kav05_any missing paragraph after 225

.:tika:vin.vviu.05_vviu_tik misses hangnum for paragraphs

.:tipitaka:sut.kn.jat.v22 some hangnums are headers

Pages which have lost content "strange () issue":
siha-gs.jiva_any (e1208n.nrf.xml)

Suspected files (also indexing errors):
abh.pa.70_tik ?
cs-th:atthakatha:sut.kn.pat.v1.01_att
cs-th:tika:sut.mn.v01_tik
« Last Edit: March 07, 2019, 05:18:01 PM by Johann »
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +367/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] CSCD xml to ati.eu format: converting, editing
« Reply #68 on: March 06, 2019, 07:58:44 PM »
repeating of previous batch-edits:

- hangum into header (jat) 3
...to be continued
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +367/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] CSCD xml to ati.eu format: converting, editing
« Reply #69 on: March 07, 2019, 08:29:04 PM »
<hi rend="dot">.</hi>

search:

<hi rend=[^\w]dot[^\w]>\.<\/hi>

replace:

.

not wished side effects:

Quote
<span para #para_1>[១]</span>

. ‘‘រាជកុ

<span para #para_2>[២]</span> .. វីថិមុត្តានំ បន កម្មកម្មនិ

<div gatha1" n="1><hi rend="paranum">១</hi>. រម្មេ

<span para #para_199>[១៩៩]</span> . ឥធ

dot errors

search in namespaces cs-rm, -th, -km, -ru only!:

\]<\/span>([\n\r ]*)\.[\s]+

replace:

]</span>$1

<div gatha1" n="7><hi rend="paranum">៧</hi>.

search:

<div gatha([0-9]+)["] n=["]([0-9]+)><hi rend=[^\w]paranum[^\w]>([^<>]*?)<\/hi>\.

replace:

<div hangnum><span para #para_$2>[$3]</span></div>\n\n<div gatha$1>

intent hangum comb.

search:

<p rend=["]indent["] n=["]([0-9]+)["]><hi rend=[^\w]paranum[^\w]>([^<>]*?)<\/hi>\.(.*?)<\/p>

replace:

<div hangnum><span para #para_$1>[$2]</span></div><div indent>$3</div>

special case in .:anya:siha-gs.jica_any manually.

bold jump out

search:

<hi rend=["]bold["]>([^\n<>]+?)\*\*

replace:

**$1**

search:

\]<\/span> \.<hi rend="bold"><\/hi>

replace:

]</span>

search:

<hi rend=["]bold["]>[\s]*<\/hi>

replace: with nothing

search:

\*\*<\/hi>

replace:  with nothing

**$1**

empty gathas

search:

<p rend=["]gatha[^"]+["]><|/p>\n\n

replace: with nothing

And "finally" a lost <note> was noted... having an anchor inside.
« Last Edit: March 07, 2019, 10:10:06 PM by Johann »
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +367/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] CSCD xml to ati.eu format: converting, editing
« Reply #70 on: March 07, 2019, 10:38:03 PM »
looks like all xml-tag replacements are now done.

Further "To do"'s:

  • "Beautifications" such as not more then 2 line-breaks, double white spaces... and other things possible disturbing a standard.
  • Removing the over-all lang-div since it breaks the section edit.
  • Checking the suspected files and bring them into standard
  • Searching for a smart over all test whether content might be gone lost by certain replacements (might possible in Anya because of syntax inconsistences)
  • replacements of lang-specific issues
  • Once again a replacement of {file}, {no}... if Nyom Moritz could make this with his script to fetch the missing places.
  • completing the sutta and path codes
  • implement the "index-xmls", i.e. making thee single directory indexes with them.
  • Writing a possible best step by step guide for the implementation of other languages to match the same standard.
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +367/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] CSCD xml to ati.eu format: converting, editing
« Reply #71 on: March 08, 2019, 04:43:38 PM »
"Beautifications" such as not more then 2 line-breaks, double white spaces... and other things possible disturbing a standard.

more than two line-breaks, done (for each cs-.. lang-name-space)

search:

[\n][\n]+

replace:

\n\n

white spaces done (for each cs-.. lang-name-space):

search:

[ ][ ]+(?!\*)

replace: (one white space)



Removing the Changing id to class for over-all lang-div since it breaks the section edit.

search:

<div #(cs-km|cs-rm|cs-th|cs-ru)>

replace:

<div $1>

Just seeing many files in Anya which have lost content, it's possible good to check that first now...
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +367/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] CSCD xml to ati.eu format: converting, editing
« Reply #72 on: March 08, 2019, 06:15:32 PM »
Possible good to make all replacements anew local and then upload, overwrite them, again on the server. To much different standards while processing and even if just some file wrong rendered more difficult to find them without overseeing one. At least saving server resource.

Regex with notepad++ (local) and batchedit (on the server) has also slight different regex-syntax which may also had it's (even huge) impact forgetting here and there considering it.

"Knowing", possible remembering now some of the many exceptions, possible to continue without long break..

Very common traditional monks encourage there disciple to learn to cite the text in this way: "You say you have a book, hmm? When you have the texts in the books, then they are still just in the books..."  :)

Yet one should not forget that remembering is not for sure and gone by breaking of ones body as well, or even before by sickness or accident. So what behind of practicing, to see that reality of anicca clear, could help at least?



or in the Buddhas words more matching, holding on a good Nimitta (object of "Hobby"), not having something as object that is for trade and gain thought by "a teacher":

Namo tassa bhagavato arahato sammā-sambuddhassa

The non-doing of any evil,
the performance of what's skillful,
the cleansing of one's own mind:
    this is the teaching
    of the Awakened.

...and having just learned about commands in powershell, such simple ways of creating a list in excel and them command strings like ((Get-Content filename.txt -Raw) -replace '{file}','filename.txt') | Set-Content  filename.txt might made the file and path and other {...} strings possible to do for Atma. Even not needing hours for one replacement in 12000 files with notepad. Oh wait! Create or giving possibilities and hints to make merits? What does one like? Rebirth as a "compassionate intelligent wiki bot"? Late already.
« Last Edit: March 08, 2019, 10:54:40 PM by Johann »
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Offline Moritz

  • Cief houskeeper / Chefhausmeister
  • Very Engaged Member
  • *
  • Sadhu! or +256/-0
  • Gender: Male
Re: [ATI.eu] CSCD xml to ati.eu format: converting, editing
« Reply #73 on: March 09, 2019, 01:47:15 PM »
Vandami Bhante,

Possible good to make all replacements anew local and then upload, overwrite them, again on the server. To much different standards while processing and even if just some file wrong rendered more difficult to find them without overseeing one. At least saving server resource.

if knowing from which point to start and edit again, I could also do the same replacements and upload from here, maybe better internet connection.

But in the last week now before the journey, really quite busy.

I still have a backup of the files in cs-rm, cs-km, cs-th and cs-th directories just before the {file} etc. replacements on my computer.

Downloading backups from Greensta should also be working now. I think daily automatic backups are deleted after 4-5 days. So one always should have one for the last three or four days. But just looking now: Daily accesstoinsight.eu backups have the "name" "Error: accesstoinsight.eu". Not sure if they are usable.

The last manual backup for accesstoinsight.eu, which seems to be okay and can still be downloaded, containing all the huge old attic archive, was from 17th of February.

I could bring it and what I have on my computer on a USB flash drive on the journey. I could also bring a laptop with me if useful.

_/\_

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +367/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] CSCD xml to ati.eu format: converting, editing
« Reply #74 on: March 09, 2019, 02:50:23 PM »
Sadhu and

Noo...  :) Nyom makes his needed things and brings no burden of duties and a released kusala mind with him, no IT needed.

Original files are on the Sangha laptop here as well as uploads by Nyom here on Sangham.net.

Having processed again late night, Atma came to see that Notepad seems to work different in regard of regex and it has eaten away content again being also very in-transparent in regard of multi file replacements and slow.

So thinking that the server and things there working actually better, Atma thinks to upload the whole originals right and "lastly" renamed and makes the work online again. Actually not that much and possible to do in one day if doing smart.

Command or powershell and other tool might be great, but Atma is not willing to learn other and more then required IT stuff on sustaining on alms, just using what is left and known from past.

For a good an final replacement of the placeholder like {file}... Atma has started to make a list that provides with replacements for each file then. That is something Atma is not able then to do online.

So here Atma tries to prepare offline and then inform of actions so that another me could always help here and there if rejoicing by such.

Quote from: Upasaka Moritz
backups

..oh yes. Only to relay on good actions might be risky if maintaining a "monastery", of cause. What ever does not become a burden and hurtful for one self or others.
« Last Edit: March 09, 2019, 02:57:49 PM by Johann »
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Tags: