Recent Topics

[Today at 08:43:42 PM]

[Today at 04:54:03 PM]

[Today at 12:26:24 PM]

[February 24, 2020, 09:45:07 AM]

[February 24, 2020, 09:31:03 AM]

[February 24, 2020, 09:20:10 AM]

[February 23, 2020, 08:26:20 PM]

[February 23, 2020, 06:33:55 PM]

[February 23, 2020, 05:46:40 PM]

[February 22, 2020, 09:07:50 PM]

[February 22, 2020, 01:50:28 AM]

[February 21, 2020, 07:01:35 PM]

[February 20, 2020, 04:54:12 PM]

[February 20, 2020, 03:50:56 PM]

[February 20, 2020, 08:21:28 AM]

[February 20, 2020, 06:39:32 AM]

[February 19, 2020, 05:28:03 PM]

[February 18, 2020, 09:36:56 PM]

[February 18, 2020, 11:56:13 AM]

[February 17, 2020, 03:11:05 PM]

[February 17, 2020, 05:53:48 AM]

[February 16, 2020, 12:05:08 PM]

[February 16, 2020, 06:24:11 AM]

[February 15, 2020, 10:55:12 PM]

[February 15, 2020, 07:35:53 PM]

[February 14, 2020, 09:21:35 PM]

[February 14, 2020, 07:53:10 PM]

[February 13, 2020, 02:19:39 PM]

[February 13, 2020, 10:30:39 AM]

[February 12, 2020, 12:29:16 PM]

[February 11, 2020, 01:50:55 PM]

Talkbox

2020 Feb 22 20:44:08
Cheav Villa:  _/\_ _/\_ _/\_

2020 Feb 22 18:45:07
Johann: May all spend a blessed Uposatha, those holding it today and those tomorrow, or both

2020 Feb 19 12:31:58
Johann: Nyom Moritz

2020 Feb 19 12:05:18
Moritz: Vandami Bhante _/\_ _/\_ _/\_

2020 Feb 18 21:27:07
Johann: Nyom

2020 Feb 18 21:02:57
Cheav Villa: Vandami Bhante _/\_ _/\_ _/\_

2020 Feb 18 09:12:06
Danilo: Bhante Johann _/\_

2020 Feb 18 09:10:31
Johann: Nyom Danilo

2020 Feb 16 22:24:43
Moritz: Bang Villa _/\_

2020 Feb 16 10:54:04
Cheav Villa: Sadhu Sadhu Sadhu  _/\_ _/\_ _/\_

2020 Feb 16 06:43:32
Johann: A blessed Sila day all today, observing the Uposatha Silas

2020 Feb 15 22:34:40
Danilo: Bhante _/\_

2020 Feb 15 22:31:22
Johann: Nyom Danilo

2020 Feb 15 14:16:33
Cheav Villa:  : *thumb* _/\_

2020 Feb 15 13:51:34
Moritz: Bang Villa _/\_

2020 Feb 12 23:36:22
Moritz: Chom reap leah, good night _/\_

2020 Feb 12 23:04:39
Cheav Villa: Master Moritz _/\_

2020 Feb 12 23:04:24
Cheav Villa: Vandami Bhante _/\_ _/\_ _/\_

2020 Feb 12 23:03:33
Moritz: Bang Villa _/\_

2020 Feb 12 22:57:44
Moritz: Vandami Bhante _/\_ _/\_ _/\_

2020 Feb 10 18:34:34
Johann: Nyom

2020 Feb 10 15:06:07
Sophorn:  _/\_ _/\_ _/\_ Vandami Bhante

2020 Feb 10 15:05:31
Sophorn: Meister Moritz  _/\_

2020 Feb 10 14:10:41
Moritz: Bang Sophorn _/\_

2020 Feb 09 21:43:05
Johann:  _/\_ Bhante Ariyadhammika

2020 Feb 09 19:11:06
Johann: Nyom

2020 Feb 09 19:06:51
Cheav Villa: Master Moritz _/\_

2020 Feb 09 19:06:36
Cheav Villa: Vandami Bhante _/\_ _/\_ _/\_

2020 Feb 09 18:53:15
Moritz: Bong Villa _/\_

2020 Feb 08 22:38:59
Johann: Wie immer zugeneigt, Nyom.

2020 Feb 08 17:21:10
Sophorn:  _/\_ Bhante, es lässt sich nicht hochladen. Kana macht das wie gehabt _/\_

2020 Feb 08 06:18:20
Johann: A blessed full moon Uposatha, a blessed Magha Puja, Sangha day, all today.

2020 Feb 06 20:30:12
Johann:  _/\_ Bhante Ariyadhammika

2020 Feb 04 14:45:08
Cheav Villa:  _/\_ _/\_ _/\_

2020 Feb 01 06:40:40
Johann: A blessed Sila-day in Union all. May it be by nobody missed for certain not so benifical things.

2020 Jan 31 10:22:34
Moritz: Vandami Bhante _/\_ _/\_ _/\_

2020 Jan 31 07:05:45
Moritz: Bong Villa _/\_

2020 Jan 30 11:25:07
Moritz: Vandami Bhante _/\_ _/\_ _/\_

2020 Jan 30 08:44:22
Johann: Bhante Ariyadhammika  _/\_

2020 Jan 30 05:03:27
Johann: Nyom

2020 Jan 30 03:22:25
Moritz: Vandami Bhante _/\_ _/\_ _/\_

2020 Jan 30 02:39:50
Moritz: Sadhu for good wishes, brother Vivek. Maybe good for another topic :) _/\_

2020 Jan 29 20:10:42
Vivek:  :-|  :) Be courageous for wholesomeness.  :-\  ^-^ but don't attach to it  _/\_  *sgift* . All Youngsters-- be a Veera(celibacy)  ;-)  to reach mahaveera(buddha).  Live and let others live in R.I.P.(rest in peace)  <.I.>

2020 Jan 29 16:05:37
Cheav Villa: Welcome Master Moritz :) _/\_

2020 Jan 29 13:44:04
Moritz: I finally arrived :)

2020 Jan 29 13:43:56
Moritz:  Brother Vivek _/\_

2020 Jan 29 13:43:46
Moritz: Bong Villa _/\_

2020 Jan 28 13:04:10
Cheav Villa:  _/\_ _/\_ _/\_

2020 Jan 28 12:31:39
Johann: Atmas "sleeping rock" is always a well protected place. The fire now moving fast east into the village, may it case no harm and destruction for all.

2020 Jan 28 12:12:48
Cheav Villa: May Bhante could find a safe place during this fire time _/\_ _/\_ _/\_

2020 Jan 26 12:06:21
Cheav Villa: Vandami Bhante _/\_ _/\_ _/\_

2020 Jan 25 23:25:33
Johann: Nyom Villa

2020 Jan 24 09:58:40
Johann: As thought, incl. the Devas.

2020 Jan 24 08:29:47
Cheav Villa: He kept walking on road num 3 _/\_ _/\_ _/\_

2020 Jan 24 08:28:40
Cheav Villa: But could not help only giving drinking water. Bhante told his lost in this area 3days ago then he walr

2020 Jan 24 08:24:26
Cheav Villa: with Dad and Srey muk kamao, going to visit His Grand ma Grand pa. Fortunately he met Bhante Khmema kumara on the main road

2020 Jan 24 08:22:10
Cheav Villa: Kana Bhante this morning aroung 7.30 kana son arrived near Psar Tram kna on national road number3

2020 Jan 24 08:20:39
Cheav Villa: Sadhu Sadhu Sadhu  _/\_ _/\_ _/\_

2020 Jan 24 07:05:21
Johann: A blessed chinese new year, new moon Uposatha those who celebrate it today.

2020 Jan 23 21:53:22
Cheav Villa:  _/\_ _/\_ _/\_

2020 Jan 23 21:46:43
Johann: Sokh chomreoun

2020 Jan 23 21:25:30
Cheav Villa: Vandami Bhante :) _/\_ _/\_ _/\_

2020 Jan 23 11:48:02
Johann: A blessed and fruitful new moon Uposatha, those observing it today

2020 Jan 22 13:30:29
Johann: May Sukha come to fulfillment, Nyom. It's well for now.

2020 Jan 22 09:39:03
Danilo: did Bhante's health get better?

2020 Jan 22 09:37:11
Danilo: Bhante Johann _/\_

2020 Jan 21 19:20:53
Johann: Meister Moritz

2020 Jan 21 19:01:10
Moritz: Vandami Bhante _/\_ _/\_ _/\_

2020 Jan 21 13:09:02
Johann: Blind like ants are being believing in technic, scients and incapable to trace where and how effects take their cause.

2020 Jan 20 19:30:27
Moritz: Vandami Bhante _/\_ _/\_ _/\_

2020 Jan 19 20:32:04
Johann: Nyom Moritz

2020 Jan 19 20:29:34
Moritz: Vandami Bhante _/\_ _/\_ _/\_

2020 Jan 19 15:01:46
Johann: some moved to topic here

2020 Jan 19 10:20:11
Johann: Nyom Moritz

2020 Jan 19 10:03:16
Moritz: Vandami Bhante _/\_ _/\_ _/\_

2020 Jan 18 08:14:54
Moritz: _/\_ _/\_ _/\_

2020 Jan 18 05:57:52
Johann: A blessed and fruitful Sila day

2020 Jan 17 19:19:18
Moritz: Chom reap leah _/\_

2020 Jan 17 18:37:01
Cheav Villa:  _/\_

2020 Jan 17 18:14:15
Moritz: Bong Villa _/\_

2020 Jan 17 13:39:36
Sophorn: Many greetings to everyone,

2020 Jan 17 13:39:19
Sophorn:  _/\_ _/\_ _/\_

2020 Jan 17 10:29:19
Johann: "so, now I go up and clear the area a little, make some merits, and I will not share my merits, with anybody..."  ^-^

2020 Jan 17 08:49:11
Chanroth: ធ្វើអាស្រមហើយចេញពីរសេចក្ដីល្អ ធ្វើអ្វីដើម្បីខ្លួល្អជាង

2020 Jan 17 08:45:08
Chanroth: សូមលាហើយ

2020 Jan 17 08:33:16
Cheav Villa:  _/\_ _/\_ _/\_

2020 Jan 17 06:56:27
Johann: A blessed and fruitful Uposatha, those observing it today.

2020 Jan 17 06:45:45
Johann: Nyom Moritz

2020 Jan 17 06:44:49
Moritz: Vandami Bhante _/\_ _/\_ _/\_

2020 Jan 16 23:01:31
Moritz: Mr. Lew _/\_

2020 Jan 15 14:16:00
Cheav Villa:  _/\_ _/\_ _/\_

2020 Jan 15 11:15:29
Moritz: _/\_ _/\_ _/\_

2020 Jan 15 11:12:01
Johann: Nyom

2020 Jan 15 10:24:02
Cheav Villa: Master Moritz _/\_

2020 Jan 15 10:21:50
Moritz: Bong Villa _/\_

2020 Jan 15 10:11:56
Moritz: Vandami Bhante _/\_ _/\_ _/\_

2020 Jan 12 22:22:36
Moritz: Chom reap leah _/\_

2020 Jan 12 22:04:02
Moritz: _/\_

2020 Jan 12 21:34:30
Cheav Villa: Sadhu Sadhu Sadhu  _/\_ _/\_ _/\_

2020 Jan 12 21:31:02
Johann: Sokh chomreoun, may happiness come to fullfillment, all

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

0 Members and 1 Guest are viewing this topic.

Online 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

Online 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

Online 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

Online 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 +268/-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?

Online 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

Online 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

Online 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

Online 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

Online 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

Online 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

Online 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

Online 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 +268/-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.

_/\_

Online 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: