Recent Topics

[Today at 03:50:01 PM]

[Today at 08:48:21 AM]

[June 02, 2020, 08:38:07 PM]

[June 02, 2020, 06:56:11 AM]

[June 01, 2020, 05:37:29 PM]

[May 31, 2020, 08:53:28 PM]

[May 29, 2020, 07:43:51 PM]

[May 28, 2020, 08:26:31 AM]

[May 26, 2020, 06:08:51 PM]

[May 25, 2020, 08:17:06 AM]

[May 24, 2020, 07:03:07 AM]

[May 23, 2020, 08:21:08 PM]

[May 23, 2020, 03:06:00 PM]

[May 22, 2020, 09:41:27 PM]

[May 19, 2020, 02:21:52 PM]

[May 17, 2020, 09:33:28 PM]

[May 17, 2020, 03:15:00 PM]

[May 17, 2020, 07:37:09 AM]

[May 16, 2020, 10:31:46 PM]

[May 15, 2020, 11:12:31 PM]

[May 15, 2020, 09:33:00 PM]

[May 14, 2020, 07:16:03 AM]

[May 13, 2020, 09:58:57 PM]

[May 13, 2020, 08:14:37 PM]

[May 13, 2020, 07:19:16 PM]

[May 11, 2020, 10:52:03 PM]

[May 11, 2020, 09:46:41 PM]

Talkbox

2020 Jun 01 10:53:45
Cheav Villa: _/\_  _/\_ _/\_

2020 May 31 18:59:38
Cheav Villa: Ligthning and Thunder…

2020 May 31 18:52:13
Cheav Villa: The Rain is falling down in PhnomPenh :) _/\_ _/\_ _/\_

2020 May 30 07:05:43
Cheav Villa: _/\_  _/\_ _/\_

2020 May 30 06:51:35
Johann: Those taking on the Uposatha today: may many follow your encouragement when leading after near and those depending on you.

2020 May 29 20:39:55
Cheav Villa: _/\_  _/\_ _/\_

2020 May 29 19:56:20
Johann: What ever sacrificed toward the Sublime Gems, toward liberation, such is condition for no more flowing back into the world. Mudita

2020 May 29 08:40:16
Cheav Villa: _/\_  _/\_ _/\_

2020 May 29 08:34:50
Johann: [continue] ...kāma-guṇa (sensual giving) , death, alive, increasing the cemeteries in the world. This is why just giving toward the virtuous, those with metta, bears fruits beyond the common, as it's not for further kāma-guṇa that they would use it for, but as base for lessons, for purificatio

2020 May 29 08:33:20
Cheav Villa: _/\_  _/\_ _/\_

2020 May 29 08:27:03
Johann: If one would know or remembering the suffering behind pleasing form, sound, smell, taste, touch, one certain would no more desire after it. But because lof lack of remembering and proper attention, beings go after it, take birth, age, get sick, seperated, die, again and again, keeping the flame of k

2020 May 29 08:15:29
Cheav Villa: _/\_  _/\_ _/\_

2020 May 29 08:15:19
Cheav Villa: _/\_  _/\_ _/\_

2020 May 29 07:42:53
Johann: If ones sacrifices, generosity, isn't protected by a good closed tank, less fruits can be expected. And what is the tank made of? Saddha, Pasada, metta, Sila, intention for own and others independency.

2020 May 29 06:36:24
Johann: A blessed Siladay all who are doing it today

2020 May 28 19:24:28
Johann: Sadhu

2020 May 28 18:32:00
Moritz: Upgrade to SMF 2.0.17 has been completed. Everything running smooth for everybody?

2020 May 23 06:43:43
Cheav Villa: _/\_  _/\_ _/\_

2020 May 22 21:09:34
Johann: May all still continue to spend a blessed New moon Uposatha till break on of a new day (of course good to continue without break). Mudita

2020 May 21 20:16:55
Cheav Villa: _/\_  _/\_ _/\_

2020 May 21 19:30:50
Johann: Nothing more a blessing as to do not cling to a specific Nikaya, since one can easy take the opportunity of doing theUposatha often two days a new. May all always make the best of given possibilities.

2020 May 20 21:19:41
Johann: Sadhu

2020 May 20 20:44:31
Cheav Villa: May Bhante get well soon.  _/\_ _/\_ _/\_

2020 May 20 20:43:13
Cheav Villa: Vandami Bhante _/\_ _/\_  _/\_

2020 May 18 14:55:14
Cheav Villa: Vandami Bhante _/\_ _/\_  _/\_

2020 May 18 12:17:04
Khemakumara: Upāsikā

2020 May 17 21:21:28
Johann: Nyom Sophorn

2020 May 17 07:36:11
Cheav Villa: Vandami Bhante _/\_ _/\_  _/\_

2020 May 17 07:14:16
Khemakumara: Upāsikā

2020 May 17 06:01:03
Khemakumara:  _/\_ _/\_ _/\_ Bhante

2020 May 16 20:42:01
Johann: Bhante

2020 May 15 20:13:51
Cheav Villa: Sadhu Sadhu Sadhu _/\_ _/\_ _/\_

2020 May 15 19:17:25
Johann: A blessed Siladay ending for those who keep(ed) it today.

2020 May 14 09:09:08
Cheav Villa: _/\_  _/\_ _/\_

2020 May 14 06:17:12
Johann: A bl3ssed Sila-day those observing it today.

2020 May 12 21:00:24
Cheav Villa: Sadhu Sadhu Sadhu _/\_ _/\_ _/\_

2020 May 12 19:10:56
Johann: May no one ever, even a moment, forget: "Sole dominion over the earth, going to heaven, lordship over all worlds:    the fruit of stream-entry    excels them."

2020 May 10 15:27:11
Depabhasadhamma: Thank you Johann

2020 May 10 15:26:00
Johann: "stand", taking, holding a stand makes it possible more understandable and fits better to it.

2020 May 10 15:24:35
Johann: Welcome Depabasadhamma, Atma will open a topic on it.

2020 May 10 15:04:51
Depabhasadhamma: I am in need of assistance. I am writing a paper about the Three Marks of Existence. I understand the three marks, however, I am befuddled by the meaning and use of the word "existence." Is this English word the translation of the Pali word thiti? Does the word "existence" imply life, living, consci

2020 May 09 21:15:38
Cheav Villa: _/\_  _/\_ _/\_ :)

2020 May 09 20:48:57
Johann: Apsara in Pali: accharā, translation actually "A Whoo!"

2020 May 09 20:45:38
Johann: "...“Then take joy, Nanda. Take joy! I am your guarantor for getting 500 dove-footed nymphs.”..."

2020 May 09 20:45:17
Johann: "“What do you think, Nanda? Which is lovelier, better looking, more charming: the Sakyan girl, the envy of the countryside, or these 500 dove-footed nymphs?”..."

2020 May 09 20:43:26
Johann: There was a Bhikkhu "who got an email from an ex-co-dweller" and thought he will return to lower life, Nyom: Nanda Sutta

2020 May 09 20:35:41
Johann: It's actually just about the clothes, since his livemode is already a great Samaneras one.

2020 May 09 20:33:48
Cheav Villa: Bhante _/\_ _/\_  _/\_ I kana never heard about the Bhuddha promised..  _/\_ _/\_ _/\_

2020 May 09 20:33:17
Johann: Till end of Vassa maybe?

2020 May 09 20:25:18
Cheav Villa: Master Moritz _/\_ Should try an ordination which in 7days.  _/\_ :)

2020 May 09 20:16:21
Johann: Apsara (dove feet Devatas).

2020 May 09 20:13:19
Johann: Temporary ordination is pretty normal, 3 days, a month, a Vassa... and not to forget that the Buddha promised union with the Asparas, which are beyond being compareable to others...

2020 May 09 19:25:54
Moritz: No no, I really prefer to be a householder, even though not having a house at the moment. I am not much inclined towards nekkhamma...  ^-^
... even though already doing some nekkhamma now, but not hoping to do so for the long term....

2020 May 09 19:24:05
Moritz: Bang Villa _/\_

2020 May 09 19:08:20
Cheav Villa: _/\_  _/\_ _/\_

2020 May 09 19:00:58
Johann: When not working he is already used to where his beige light clean cloth, morning, noon, evening and already good organized.

2020 May 09 18:52:05
Cheav Villa: Kana Bhante _/\_ _/\_ _/\_ :)

2020 May 09 18:39:04
Johann: Nyom has his working dress and his light formal dress. White he might have possible to much troubles, so better to convince him toward robes.  :)

2020 May 09 17:38:39
Cheav Villa: Vandami Bhante _/\_ _/\_  _/\_ Master Moritz should wear white clothes.  _/\_ _/\_ _/\_ :)

2020 May 07 15:18:07
Cheav Villa: _/\_  _/\_ _/\_

2020 May 07 10:33:24
Johann: Householder clothes are really no more proper for Upasaka Khemadasa.... good to take him fear of the robes

2020 May 07 10:21:10
Khemakumara: Upāsikā

2020 May 07 10:19:33
Cheav Villa: Vandami Bhante _/\_ _/\_  _/\_

2020 May 07 06:02:32
Cheav Villa: Sadhu Sadhu Sadhu _/\_ _/\_ _/\_

2020 May 07 05:46:38
Johann: Sadhu

2020 May 07 03:25:02
Khemakumara: May it be a path-and fruitful vesak Uposatha

2020 May 06 16:07:14
Cheav Villa: Sadhu Sadhu Sadhu _/\_ _/\_ _/\_

2020 May 06 16:02:35
Johann: A blessed Vesaka Puja all, today and tomorrow, in reflection the goodness and qualities of the Sublime Buddha.

2020 May 04 21:25:10
Johann: followed by another overload by huawei-search engines... fixed

2020 May 04 20:31:45
Cheav Villa: _/\_  _/\_ _/\_

2020 May 04 20:25:53
Johann: A MS search engine (Bing) had overloaded the server capacity and might had caused the page not to be reached, but a cave-programmer quickly solved the issue, becoming aware of it. Sadhu

2020 May 03 21:13:46
Cheav Villa: Vandami Bhante Ariyadhammika _/\_ _/\_ _/\_

2020 May 03 20:32:57
Cheav Villa: _/\_  _/\_ _/\_

2020 May 03 19:15:52
Johann: Sokh chomreoun, Nyom.

2020 May 03 15:01:43
Cheav Villa: Vandami Bhante _/\_ _/\_  _/\_

2020 May 03 12:53:08
Cheav Villa: Master Moritz _/\_

2020 May 03 12:07:17
Moritz: Bang Villa _/\_

2020 May 03 12:00:57
Cheav Villa: _/\_  _/\_ _/\_

2020 May 03 09:39:36
Johann: ...and the snake hunts the mice...

2020 May 03 09:11:20
Johann: Dwelling like Devas under Devas, peaceful, respectful, careful, harmless

2020 Apr 30 10:05:08
Cheav Villa: Sadhu Sadhu Sadhu _/\_ _/\_ _/\_

2020 Apr 29 21:15:43
Moritz: _/\_ _/\_ _/\_

2020 Apr 29 21:08:53
Johann: May all spend a meritful end of Sila-day, those who taking on it today, and maybe continue with those doing so tomorrow.

2020 Apr 29 20:09:39
Johann: Nyom Villa

2020 Apr 29 20:07:29
Cheav Villa: Vandami Bhante _/\_ _/\_  _/\_

2020 Apr 26 20:26:31
Johann: Nyom Moritz, Nyom Villa

2020 Apr 26 20:23:57
Cheav Villa: and Master Moritz _/\_

2020 Apr 26 20:23:33
Cheav Villa: Vandami Bhante _/\_ _/\_  _/\_

2020 Apr 26 19:56:30
Moritz: Bang Villa _/\_

2020 Apr 26 19:56:25
Moritz: Vandami Bhante _/\_ _/\_ _/\_

2020 Apr 26 08:18:19
Cheav Villa: _/\_  _/\_ _/\_

2020 Apr 26 07:18:02
Johann: Ādīnava , អដីនវ, As one of ten perceptions: AN 10.60

2020 Apr 26 07:09:32
Johann: May Dukkha be visible for all, so to stay on the path  that leads beyond and liberation.

2020 Apr 25 16:57:34
Cheav Villa: Vandami Bhante _/\_ _/\_  _/\_

2020 Apr 25 15:54:00
Khemakumara: Upāsikā

2020 Apr 23 18:41:59
Johann: Sadhu for care to report and assist

2020 Apr 23 18:39:44
Cheav Villa: Vandami Bhante _/\_ _/\_  _/\_ I kana now not get notification.  _/\_ _/\_ _/\_

2020 Apr 23 15:04:07
Cheav Villa: Vandami Bhante _/\_ _/\_  _/\_

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 13149 times)

0 Members and 1 Guest are viewing this topic.

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +375/-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 +375/-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 +375/-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 +375/-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 +273/-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 +375/-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 +375/-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 +375/-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 +375/-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 +375/-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 +375/-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 +375/-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 +375/-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 +273/-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 +375/-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: