Recent Topics

[Today at 08:09:02 AM]

[Today at 06:40:28 AM]

[April 01, 2020, 04:49:21 PM]

[March 31, 2020, 03:25:44 PM]

[March 31, 2020, 02:53:23 PM]

[March 30, 2020, 07:48:51 PM]

[March 30, 2020, 02:23:29 PM]

[March 30, 2020, 02:21:13 PM]

[March 29, 2020, 02:49:03 PM]

[March 27, 2020, 04:01:46 PM]

[March 27, 2020, 03:39:22 PM]

[March 27, 2020, 09:06:22 AM]

[March 27, 2020, 08:41:14 AM]

[March 24, 2020, 03:29:39 PM]

[March 21, 2020, 07:13:21 AM]

[March 21, 2020, 06:02:11 AM]

[March 20, 2020, 08:40:16 PM]

[March 20, 2020, 08:28:16 PM]

[March 20, 2020, 08:25:24 PM]

[March 19, 2020, 04:05:40 PM]

[March 19, 2020, 04:05:06 PM]

[March 18, 2020, 08:05:32 PM]

[March 17, 2020, 09:47:01 PM]

[March 17, 2020, 01:33:06 PM]

[March 17, 2020, 12:49:23 PM]

[March 17, 2020, 11:31:52 AM]

[March 16, 2020, 08:48:58 PM]

[March 16, 2020, 02:45:16 PM]

[March 16, 2020, 07:50:48 AM]

[March 13, 2020, 08:24:31 PM]

[March 13, 2020, 03:12:30 PM]

[March 13, 2020, 10:43:23 AM]

[March 12, 2020, 08:20:20 PM]

[March 12, 2020, 07:01:54 PM]

[March 12, 2020, 12:13:29 PM]

[March 11, 2020, 06:45:27 PM]

[March 11, 2020, 04:30:58 PM]

[March 11, 2020, 01:08:29 AM]

[March 10, 2020, 12:55:04 PM]

[March 09, 2020, 09:00:17 PM]

[March 09, 2020, 12:07:59 PM]

[March 08, 2020, 06:27:55 PM]

[March 08, 2020, 06:05:10 PM]

[March 08, 2020, 02:25:56 PM]

[March 07, 2020, 10:45:36 PM]

[March 07, 2020, 02:35:53 PM]

[March 07, 2020, 01:32:21 PM]

[March 07, 2020, 10:17:13 AM]

[March 07, 2020, 10:02:10 AM]

[March 07, 2020, 07:50:04 AM]

Talkbox

2020 Apr 02 06:37:53
Mohan Gnanathilake: Mögen wir einen gesunden und ausgeglichenen Geist gewinnen! Dhamma Grüβe aus Sri Lanka!

2020 Apr 02 06:37:20
Mohan Gnanathilake: May we gain a healthy and balanced mind! Dhamma Greetings from Sri Lanka!

2020 Apr 01 14:38:03
Cheav Villa: Kana Bhante Dukka arises from Touch. Touch of Avijja. _/\_ _/\_ _/\_

2020 Apr 01 10:15:36
Moritz: And is it possible to describe more what is wrong in iPhone safari? Is it at least possible to read topics? I can not test anythng for iPhone safari here, without an iPhone. _/\_ _/\_ _/\_

2020 Apr 01 10:13:46
Administration: Could Bhante give some details about accounts not properly registered or getting errors?

2020 Apr 01 10:09:46
Moritz: I hope Bhante is able to receive enough almsfood and drinking water in this time of corona fear. I read there will soon be a curfew (people not allowed to go out) for some time). _/\_ _/\_ _/\_

2020 Apr 01 10:01:53
Moritz: Account registration and confirmation emails should work. It could be that it lands in the spam folder.

2020 Apr 01 10:01:05
Moritz: Vandami Bhante _/\_ _/\_ _/\_

2020 Apr 01 08:53:17
Johann: (Forum and topics to not display proper on iPhone safari, so writing here)

2020 Apr 01 08:51:48
Johann: Some accounts may not be activated proper or the user informed right. There have been errors and needs to be checked. Maybe Nyom Moritz already has back his old strength to look into it.

2020 Apr 01 08:48:36
Johann: Dukkha arises from touch. Touch of Avijja. From nothing else. So may all avoid the bond to foolishness and seek for wise.

2020 Apr 01 08:43:51
Johann: Sadhu

2020 Apr 01 07:21:40
Cheav Villa: Sadhu Sadhu Sadhu _/\_ _/\_ _/\_

2020 Apr 01 04:54:03
Khemakumara: May it be a path- and fruitful sila day  _/\_ _/\_ _/\_

2020 Apr 01 04:51:07
Khemakumara:  _/\_ _/\_ _/\_ Mudita

2020 Mar 31 13:32:59
Moritz: _/\_ _/\_ _/\_

2020 Mar 31 13:21:28
Cheav Villa: Sadhu Sadhu Sadhu  _/\_ _/\_ _/\_

2020 Mar 31 10:47:26
Johann: Lend device of Nyom Chanroth does not work well for now. Best greetings from the Bodhisatha of Phnom Srong to Bhangra Khemakumara. He’s missed by many, thinking lot on the blessing.

2020 Mar 31 10:25:42
Johann: May all spend a blessed Uppsala today

2020 Mar 31 08:54:28
Mohan Gnanathilake: Mögen wir jemals tolerant sein und das Gute und Schöne in allem sehen! Dhamma Grüβe aus Sri Lanka!

2020 Mar 31 08:54:11
Mohan Gnanathilake: May we ever be tolerant and see the good and beautiful in all! Dhamma Greetings from Sri Lanka!

2020 Mar 27 10:41:10
Mohan Gnanathilake: Mögen wir fest und entschlossen sein und einen eisernen Willen haben! Dhamma Grüβe aus Sri Lanka!

2020 Mar 27 10:40:36
Mohan Gnanathilake: May we be firm and resolute and have an iron will! Dhamma Greetings from Sri Lanka!

2020 Mar 26 20:49:20
Cheav Villa: and they have keep the rule of the Village is safe... I kana also told him that one another foreigner monk already left to the Aural... and he probably walk through the area. _/\_ _/\_ _/\_

2020 Mar 26 20:47:32
Moritz: Sadhu, Sadhu, Sadhu _/\_ _/\_ _/\_

2020 Mar 26 20:44:17
Cheav Villa: I kana used to talk to the Khmer monk at Wat AngChum who contacted to Akyum with the Police in Korng Pisey District, the monk want to apologize again and again he said he and the Police had no bad will againt Bhante. Because of cannot talk and understand the language...

2020 Mar 26 20:35:58
Cheav Villa: I kana hope that Bhante Johann will be back to Akyum soon. Bhante Johann now might take rest near infront Phnom Srong, where place Bhante had been before. _/\_ _/\_ _/\_

2020 Mar 26 20:31:00
Cheav Villa: How is Bhante Well being? _/\_ _/\_ _/\_

2020 Mar 26 20:25:58
Khemakumara: Upāsakā Moritz

2020 Mar 26 20:21:38
Khemakumara: Upāsikā

2020 Mar 26 13:43:15
Cheav Villa: Vandami Bhante  _/\_ _/\_ _/\_

2020 Mar 24 17:31:44
Cheav Villa: May all beings be well and Safe. May they be healed.  _/\_ _/\_ _/\_

2020 Mar 24 11:24:10
Cheav Villa: Sadhu Sadhu Sadhu _/\_ _/\_ _/\_

2020 Mar 24 04:06:52
Khemakumara: May it be a path- and fruitful uposatha day  _/\_ _/\_ _/\_

2020 Mar 22 10:32:51
Moritz: Vandami Bhante Ariyadhammika _/\_ _/\_ _/\_

2020 Mar 22 09:32:05
Cheav Villa: Master Moritz _/\_

2020 Mar 22 09:21:39
Mohan Gnanathilake:   Mögen wir furchtlos vor Gefahren stehen und mutig alle Hindernisse überwinden! Dhamma Grüβe aus Sri Lanka!

2020 Mar 22 09:21:03
Mohan Gnanathilake: May we be fearless in facing dangers and courageously surmount all obstacles! Dhamma Greetings from Sri Lanka!

2020 Mar 22 08:33:26
Moritz: _/\_ Bang Villa

2020 Mar 21 23:08:34
Cheav Villa: May all beings be well and safe. May they be happy. _/\_ _/\_  _/\_

2020 Mar 21 23:08:28
Cheav Villa:  _/\_ _/\_ _/\_

2020 Mar 21 21:33:47
Khemakumara: កតញ្ញូ   kataññū _/\_ _/\_ _/\_

2020 Mar 20 20:55:00
Mohan Gnanathilake: Mögen wir jemals ruhig, heiter, gelassen und friedlich sein! Dhamma Grüβe aus Sri Lanka!

2020 Mar 20 20:49:17
Mohan Gnanathilake: May we ever be calm, serene, unruffled and peaceful! Dhamma Greetings from Sri Lanka!

2020 Mar 20 10:38:44
Cheav Villa: May all beings be well and safe. May they be happy. _/\_ _/\_  _/\_

2020 Mar 17 11:24:51
Cheav Villa: Sadhu Sadhu Sadhu _/\_ _/\_ _/\_

2020 Mar 17 07:01:04
Johann: And for those celebrating the Sila day today, a blessed undertaking.

2020 Mar 16 08:31:19
Cheav Villa: Sadhu Sadhu Sadhu _/\_ _/\_ _/\_

2020 Mar 16 06:12:53
Johann: A Blessed Siladay this day

2020 Mar 15 07:46:18
Johann: Sadhu,sadhu

2020 Mar 14 23:37:16
Mohan Gnanathilake: Das Leben ist durch Unwissenheit, Verlangen und Festhalten bedingt. Das Leben ist wie ein Rad, das sich ohne Anfang umdreht. Dhamma Grüβe aus Sri Lanka!

2020 Mar 14 22:32:02
Mohan Gnanathilake: Life is conditioned by ignorance, craving and clinging. Life is like a wheel, turning around without any beginning. Dhamma Greetings from Sri Lanka!

2020 Mar 13 23:15:35
Cheav Villa: May all be blessed by the Savage Sangha along the way to Akyum Pagoda from tomorrow.  _/\_ _/\_ _/\_

2020 Mar 13 23:11:28
Cheav Villa: I Kana just tries to breath in and out about 30mins.  _/\_ _/\_ _/\_

2020 Mar 13 06:47:28
Johann: Sadhu

2020 Mar 12 22:29:59
Cheav Villa: I kana tried about 30mins before bed  _/\_ _/\_ _/\_

2020 Mar 12 21:23:01
Johann: Leave form, sound, smell, taste and touch, right here and now.

2020 Mar 12 21:07:20
Cheav Villa:  _/\_ _/\_ _/\_

2020 Mar 12 14:46:47
Johann: Every time is the best time to leave home, yes.

2020 Mar 12 13:38:39
Cheav Villa: Kana Bhante _/\_ _/\_ _/\_ Best Time to know the Vipasana course is still Vipasana course, when the real Vipasana has come.  ^-^ _/\_ _/\_ _/\_

2020 Mar 12 12:55:07
Johann: Best to make Vipassana when there is no fear of Samsara... *irony*

2020 Mar 12 12:51:48
Johann: Waht about changing the date to one when there is no traffic because their are dying much more people every day...

2020 Mar 12 12:50:27
Johann: Best time when there is no more sickness and death in the world or? Samsara fans.

2020 Mar 12 12:41:57
Cheav Villa: Master Moritz  :) _/\_

2020 Mar 12 12:40:49
Cheav Villa: I kana heard from Bang Puthy, Bhante Indanano wants to change the schedule for Vipasana because of most afraid of spreading Covid_19. :) _/\_ _/\_ _/\_

2020 Mar 12 12:36:56
Cheav Villa: I kana also dont like to sit as long for the Vipassana Course. Vipasana in any sitting,  walking, standing..  _/\_ _/\_ _/\_

2020 Mar 12 12:31:33
Johann: (Don't tell it further: He is terrible afraid that he possible needs to take part on the Vipassana course at Wat Akyum)

2020 Mar 12 12:28:23
Johann: They hold him in what's app Samsara caught. *bling*

2020 Mar 12 12:25:45
Johann: He is to afraid because people always tell anything further, my person guesses. To much watching Devas  :)

2020 Mar 12 12:23:21
Cheav Villa: I kana had heard of Master Moritz wants to go back soon to enjoy the Samsara  ^-^ _/\_ _/\_ _/\_. As I kana know the Samara is everywhere in this worldily.  :D _/\_ _/\_ _/\_

2020 Mar 12 12:14:39
Cheav Villa: Vandami Bhante  _/\_ _/\_ _/\_

2020 Mar 09 20:10:03
Moritz: Bang Villa _/\_

2020 Mar 09 12:35:33
Cheav Villa:  _/\_ _/\_ _/\_

2020 Mar 09 12:02:48
Johann: Not only, also for heavens, but if well done of course (Uposatha was held even before the Buddha as well, Nyom)

2020 Mar 09 11:33:51
Cheav Villa: Kana Bhante  _/\_ _/\_ _/\_ Uposatha is for magga and phalas only   :) _/\_ _/\_ _/\_

2020 Mar 09 11:31:36
Cheav Villa: Sadhu Sadhu Sadhu _/\_ _/\_ _/\_

2020 Mar 09 10:50:08
Johann: A blessed full moon uposatha, maggas and phalas, all.

2020 Mar 08 10:10:28
Cheav Villa: Sadhu Sadhu Sadhu  _/\_ _/\_ _/\_

2020 Mar 08 08:52:14
Johann: May all observe a blessed full moon Uposatha, those who tend to do it today.

2020 Mar 07 22:47:14
Johann: We includes all wordlings, Nyom. Something that can be changed.

2020 Mar 07 22:45:33
Mohan Gnanathilake: We are susceptible to the worldly conditions (loka-dhamma). Dhamma Greetings from Sri Lanka!

2020 Mar 06 12:03:17
You Y:  _/\_ _/\_ _/\_Sadhu Sadhu Sadhu Bhante.

2020 Mar 06 09:37:33
You Y: Bhante Johann,  _/\_ _/\_ _/\_ Could you please share me the dhama that I read yesterday?

2020 Mar 05 20:58:15
Moritz: Probably all coming from the messengers (WhatsApp, Telegram), where I just informed a little. :)

2020 Mar 05 20:56:28
Johann: 4 guests already, so nothing to worry, Brah google and his host will follow as long be traceable.

2020 Mar 05 20:52:41
Moritz: Yes, they may come back when the new address is indexed by a search engine.

2020 Mar 05 20:48:50
Johann: Nyom, Nyom. Robots and google may not follow redirects

2020 Mar 05 20:41:44
Cheav Villa: Master Moritz _/\_

2020 Mar 05 20:41:28
Cheav Villa: Vandami Bhante _/\_ _/\_ _/\_

2020 Mar 05 20:38:20
Moritz: 0 guests here - unusual sight :-)

2020 Mar 05 20:38:07
Moritz: Bang Villa _/\_

2020 Mar 05 20:38:02
Moritz: Vandami Bhante _/\_ _/\_ _/\_

2020 Mar 04 11:49:51
Johann: Nyom

2020 Mar 04 10:39:44
Danilo: Bhante _/\_

2020 Mar 02 14:02:25
Cheav Villa: Sadhu Sadhu Sadhu _/\_ _/\_ _/\_

2020 Mar 02 12:56:34
Johann: May those celebrating it today spend a blessed day as well

2020 Mar 01 21:34:54
Cheav Villa:  _/\_ _/\_ _/\_

2020 Mar 01 06:55:13
Johann: A blessed Sila-Day all those who undertake it today.

2020 Feb 29 22:31:54
Mohan Gnanathilake: The eight worldly conditions (loka-dhamma) obsess the world. The world revolves around the eight worldly conditions (loka-dhamma).

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 12781 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 #75 on: March 11, 2019, 01:23:36 PM »
Having already found one of an potential content eater, having forgotten to escape dot

<p rend=[^\w]hangnum[^\w] n=[^\w]([^<>]*?)[^\w]><hi rend=[^\w]paranum[^\w]>([^<>]*?)<\/hi>[. ]*<hi rend=[^\w]dot[^\w]>[. ]*<\/hi>[. ]*([^\n]*)<\/p>[\s]*   <div hangnum><span para #para_$1>[$2]</span></div> $3\n\n
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 #76 on: March 12, 2019, 07:23:18 PM »
Status (lokal)

Some files have been re-renamed. Current list: Renaming of source files , renaming files.

Regex-list for xml- to ati-standard as done for "cs-rm", "cs-km", "cs-th", "cs-ru" at once.

Note that {...} strings will be replaced in a later selective session. Replacments are done "single-line" if not other mentioned.

##Starting with the header and footer, which replaces "content".

###HEADER multiline (10792 replacements)

Code: [Select]
[\s]*<\?xml(.+?)<body>[\s]*

<span hide>sources: cs-file name {cs file} path ati{lang}:{ns-section}:{file}</span>\n{{section>en:tech:template_includes#{lang}_header&nouser&nodate&noheader&noeditbutton&firstsectiononly}}\n<div {lang}>\n\n

###FOOTER multiline

Code: [Select]
[\s]*<\/body>(.*)<\/([^p]*?)>[\s]*

\n\n</div>\n{{section>en:tech:template_includes#{lang}_footer&nouser&nodate&noheader&noeditbutton&firstsectiononly}}

###CS-CD ANCHORS

Code: [Select]
<pb ed=[^\w]([^<>]*?)[^\w] n=[^\w]([^<>]*?)[^\w][\s]*\/>

<span anchor #$1_$2></span>

###BOLD

Code: [Select]
<hi rend=[^\w]bold[^\w]>([^\n]+?)<\/hi>

**$1**

###P CENTRE

Code: [Select]
<p rend=[^\w]centre[^\w]>(.*?)<\/p>

<div centeralign>$1</div>

###NOTE

Code: [Select]
<note>([^\n]+?)<\/note>

<span note>$1</span>

###P HI PARANUM DOT

Code: [Select]
<p rend=[^\w]bodytext[^\w] n=[^\w]([^<>]*?)[^\w]>[\s]*<hi rend=[^\w]paranum[^\w]>([^<>]*?)<\/hi>[\s]*<hi rend=[^\w]dot[^\w]>\.<\/hi>([^\n]*?)<\/p>[\s]*

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

###P HI PARANUM DOT []

Code: [Select]
<p rend=[^\w]bodytext[^\w] n=[^\w]([^<>]*?)[^\w]><hi rend=[^\w]paranum[^\w]>([^<>]*?)[\. ]*?<\/hi>[\. ]*?([^\n]*?)<\/p>[\s]*

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

###P

Code: [Select]
<p rend=[^\w]bodytext[^\w]>([^\n]+?)<\/p>[\s]*

$1\n\n

###P HI PARANUM DOT

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

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

###GATHA

Code: [Select]
<p rend=[^\w]gatha([^<>]*?)[^\w]>([^\n]+)<\/p>[\s]*

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

###INDENT|UNINDENTED

Code: [Select]
<p rend=[^\w](indent|unindented)[^\w]>([^\n]+)<\/p>[\s]*

<div $1>$2</div>\n\n

###NIKAYA

Code: [Select]
<p rend=[^\w]nikaya[^\w]>([^<>]*?)<\/p>

<div centeralign #nikaya>**$1**</div>\n<span sang_id #{file--}>[[{path-release}:{file--}|{file--}]] | [[{path-source}:{file}#{file--}|source]]</span>

###BOOK 868

Code: [Select]
<p rend=[^\w]book[^\w]>([^<>]*?)<\/p>

======== $1 ========\n<span sang_id #{file-}>[[{path-release}:{file-}|{file-}]] | [[{path-source}:{file}#{file-}|source]]</span>

###CHAPTER

Code: [Select]
<p rend=[^\w]chapter[^\w]>([^<>]*?)<\/p>

======= $1 =======\n<span sang_id #{file}>[[{path-release}:{file}|{file}]] | [[{path-source}:{file}#{file}|source]]</span>

###TITLE

Code: [Select]
<p rend=[^\w]title[^\w]>([^<>]*?)<\/p>

===== $1 =====\n<span sang_id #{file+}>[[{path-release}:{file+}|{file+}]] | [[{path-source}:{file}#{file+}|source]]</span>

###SUBHEAD

Code: [Select]
<p rend=[^\w]subhead[^\w]>([^<>]*?)<\/p>

==== $1 ====\n<span sang_id #{file-}.{no}>[[{path-release}:{file-}.{no}|{file-}.{no}]] | [[{path-source}:{file}#{file-}.{no}|source]]</span>

###SUBSUBHEAD

Code: [Select]
<p rend=[^\w]subsubhead[^\w]>([^<>]*?)<\/p>

=== $1 ===\n<span sang_id #{file-}.{no+}>[[{path-release}:{file-}.{no+}|{file-}.{no+}]] | [[{path-source}:{file}#{file-}.{no+}|source]]</span>

###SUBHEAD NOTE

Code: [Select]
<p rend=[^\w]subhead[^\w]>([^<>]*?)<span note>([^<>]*?)<\/span>([^<>]*?)<\/p>

==== $1$3 ====\n<div centeralign>**$1<span note>$2</span>$3**</div>\n<span sang_id #{file-}.{no}>[[{path-release}:{file-}.{no}|{file-}.{no}]] | [[{path-source}:{file}#{file-}.{no}|source]]</span>

###CHAPTER NOTE

Code: [Select]
<p rend=[^\w]chapter[^\w]>([^<>]*?)<span note>([^<>]*?)<\/span>([^<>]*?)<\/p>

======= $1$3 =======\n<div centeralign>**$1<span note>$2</span>$3**</div>\n<span sang_id #{file}>[[{path-release}:{file}|{file}]] | [[{path-source}:{file}#{file}|source]]</span>

###TITLE NOTE

Code: [Select]
<p rend=[^\w]title[^\w]>([^<>]*?)<span note>([^<>]*?)<\/span>([^<>]*?)<\/p>

===== $1$3 =====\n<div centeralign>**$1<span note>$2</span>$3**</div>\n<span sang_id #{file+}>[[{path-release}:{file+}|{file+}]] | [[{path-source}:{file}#{file+}|source]]</span>

###SUBHEAD ANCHOR

Code: [Select]
<p rend=[^\w]subhead[^\w]>([^<>]*?)<span anchor #([^\n]*?)<\/span>([^<>]*?)<\/p>

==== $1$3 ====\n<span sang_id #{file-}.{no}>[[{path-release}:{file-}.{no}|{file-}.{no}]] | [[{path-source}:{file}#{file-}.{no}|source]]</span>\n<span span anchor #$2</span>

###CHAPTER ANCHOR

Code: [Select]
<p rend=[^\w]chapter[^\w]>([^<>]*?)<span anchor #([^\n]*?)<\/span>([^<>]*?)<\/p>

======= $1$3 =======\n<span sang_id #{file}>[[{path-release}:{file}|{file}]] | [[{path-source}:{file}#{file}|source]]</span>\n<span span anchor #$2</span>

###TITLE ANCHOR

Code: [Select]
<p rend=[^\w]title[^\w]>([^<>]*?)<span anchor #([^\n]*?)<\/span>([^<>]*?)<\/p>

===== $1$3 =====\n<span sang_id #{file+}>[[{path-release}:{file+}|{file+}]] | [[{path-source}:{file}#{file+}|source]]</span>\n<span span anchor #$2</span>

###BOOK ANCHOR

Code: [Select]
<p rend=[^\w]book[^\w]>([^<>]*?)<span anchor #([^\n]*?)<\/span>([^<>]*?)<\/p>

======== $1$3 ========\n<span sang_id #{file-}>[[{path-release}:{file-}|{file-}]] | [[{path-source}:{file}#{file-}|source]]</span>\n<span span anchor #$2</span>

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 #77 on: March 15, 2019, 04:39:40 PM »
Further edits:

###DOT

Code: [Select]
<hi rend="dot">\.</hi>

.

###HANGUM INTO HEADER (JAT only) multiline

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

===== $1 =====\n<span sang_id #{file+}>[[{path-release}:{file+}|{file+}]] | [[{path-source}:{file}#{file+}|source]]</span>$3==== $4. $5 ====\n<span sang_id #{file-}.{no}>[[{path-release}:{file-}.{no}|{file-}.{no}]] | [[{path-source}:{file}#{file-}.{no}|source]]</span>\n

###HANGUM INTO HEADER (JAT only) multiline [..] X.

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

===== $1 =====\n<span sang_id #{file+}>[[{path-release}:{file+}|{file+}]] | [[{path-source}:{file}#{file+}|source]]</span>$3==== [$4] $5. $6 ====\n<span sang_id #{file-}.{no}>[[{path-release}:{file-}.{no}|{file-}.{no}]] | [[{path-source}:{file}#{file-}.{no}|source]]</span>\n

###HANGUM INTO HEADER HH (JAT only) multiline

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

======= $1 =======\n<span sang_id #{file}>[[{path-release}:{file}|{file}]] | [[{path-source}:{file}#{file}|source]]</span>$2==== $3. $4 ====\n<span sang_id #{file-}.{no}>[[{path-release}:{file-}.{no}|{file-}.{no}]] | [[{path-source}:{file}#{file-}.{no}|source]]</span>\n\n

###HANGUM INTO HEADER HH (JAT only) no NO.

Code: [Select]
<p rend=[^\w]hangnum[^\w]>[\s]*<\/p>[\r\n]+ ([^\n]*?)[\r\n]+

==== $1 ====\n<span sang_id #{file-}.{no}>[[{path-release}:{file-}.{no}|{file-}.{no}]] | [[{path-source}:{file}#{file-}.{no}|source]]</span>\n\n

###HANGNUM CORR (exception in bud-vgs.nk.2_any.txt and sut.sn.01.txt!!)

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

<div hangnum>$1.</div>

###Search "<p rend=[^\w]hangnum[^\w]>" further 47 hits in 39 files: best made one by one since many exceptions.

###BOLD corrections

without regex:

Code: [Select]
]</span> .

]</span>

correction before, ###HANGNUM, again

###P HANGNUM HI PARANUM BOLD

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

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

###further <hi rend="bold"> corr. are made on the single pages

###P HANGNUM HI PARANUM

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

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

###P INTENT PARANUM

Code: [Select]
<p rend=[^\w]indent[^\w] n=[^\w]([^<>]*?)[^\w]>[\s]*<hi rend=[^\w]paranum[^\w]>([^<>]*?)<\/hi>\. ([^\n]*?)<\/p>[\s]*

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

###P HANGNUM HI PARANUM content

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

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

###GATHA PARANUM

Code: [Select]
<div gatha1[^\w] n=[^\w]([0-9]*?)><hi rend=[^\w]paranum[^\w]>([^<>]*?)<\/hi>[\. ]*([^\n]*?)</div>

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

###Correction

Code: [Select]
<div gatha2" n="-><hi rend="paranum">-</hi>

<div gatha2>

###Manual corrections for all matches of "<p rend"

###Cleanings

Code: [Select]
\r\n

\n

There might be further xml-tags left and small edits needed, but those can be made online.

Atma will now replace the placeholder (except {no}, {no+}) where he has no idea of how to process that right and effective for now, and then upload all files anew.

(Note: working/processing on replacements with batchedit online is much faster as with notepad++ local (about a 3-4 days). Of course the cleaning of cache and delete of history online takes the also a good while.)
« Last Edit: March 15, 2019, 04:44:41 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 #78 on: March 15, 2019, 04:58:27 PM »
And using Powershell such as ((Get-Content vin.par.ve.txt -Raw) -replace '{lang}','cs-km') | Set-Content vin.par.ve.txt destroyed the files, possible a utf-8-issue... (and having not made a backup...)

all once again  ^-^ :)
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 #79 on: March 16, 2019, 07:02:54 AM »
Atma will upload the renamed files with original content and try again to make the replacements online with batchedit, since having come across that Notepad sometimes loses found matches and gives nothing back when replacing.
In this way, at least, the originals would be stored on ati as well. Lets see whether web-space and sun allows it the next days.
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 #80 on: March 16, 2019, 10:25:30 PM »
Files are all anew uploaded so far. The Khmer files need some rest replacements of xml codes. Renamed files have been deleted.

Once the index is rebuild, the last replacements can be made.

As for the replacements of the placeholder {file}, {ns-section}... it's maybe good if runing similar scripts on the server.

In regard of {no}: no over all idea for now, so maybe good as before.

Attached an excel-list containing all particular replacements for each single file.
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 #81 on: March 17, 2019, 05:41:59 PM »
List of renaming of the index files (toc.xml): renaming_files#index-files_toc
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 #82 on: March 23, 2019, 05:45:38 PM »
Main indexes in the four scripts should be fine and complete now:

Tipiṭaka (Roman)
តិបិដក (បាឡិ​ខ្មែរ) ติปิฎก (Thai) д̇ибидага (кириллица)
My person currently ties to rebuild the index by actualization option, which actually seems to be double slower as to build anew, but possible would not aim in no index when stopping in between (about 3000 pages of 20500 indexed since this morning)
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
from: [ATI.eu] CSCD xml to ati.eu format: converting, editing
« Reply #83 on: April 01, 2019, 05:23:19 PM »

Aramika   *

Ein oder mehrer Beiträge wurden hier im Thema abgeschnitten und damit in neues Thema "[ati.eu] Indexing, search engine " eröffnet, dem angehäng.
« Last Edit: April 01, 2019, 05:29:19 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 #84 on: April 02, 2019, 01:18:28 PM »
{lang} and {ns-section} have now replaced on all pages except the 416 pages in cs-th (Thai, 268 in Atthakatha and 148 pages in Tika)

The further replacements ({file}, {path-source}...) could be made according the list above either page for page or with a script using the list. Files+/- etc, how ever, may need further renderings later. {no}... the same.

Sadhu for the great work and assitence of many to bring the first four languages into here and the availability for the Sangha and those with Nissaya.

Atma will look after the last xml converting into ati-syntax in the Khmer pages and then look after the css for "good" layouts.

An Excel-file which is of help for creation of the release files, also in languages to come, can be used: renaming_list.xlsx To extract them into directories and files for an upload the Converting lists into txt-files - Tools for Ati.eu can be used.
« Last Edit: April 07, 2019, 06:24: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 #85 on: April 11, 2019, 05:38:23 PM »
Currently working on the "single-sutta release" files, which can require some time, given about 40.000 headers, but would then also give finally values for the {no..} replacements (for links to them) in the source-files.

Since making single files for Atthakatha and Tika would cause huge amount of files, if not skipping, and so Atma thought of implementing the related commentaries direct in the Sutta (Mula) files.
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Tags: