Recent Topics

[April 06, 2020, 03:40:47 PM]

[April 05, 2020, 03:20:34 AM]

[April 04, 2020, 09:06:40 PM]

[April 04, 2020, 07:09:40 PM]

[April 04, 2020, 05:28:47 PM]

[April 04, 2020, 05:05:33 PM]

[April 02, 2020, 08:09:02 AM]

[April 02, 2020, 06:40:28 AM]

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

[March 31, 2020, 02:53:23 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 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]

Talkbox

2020 Apr 07 08:28:06
Cheav Villa: _/\_  _/\_ _/\_

2020 Apr 07 06:03:11
Khemakumara: mudita

2020 Apr 07 06:01:35
Khemakumara: may it be a path- and fruitful Fullmoon Uposatha

2020 Apr 07 06:00:16
Khemakumara: may it be a path- and fruitful Fullmoon Uposatha

2020 Apr 06 16:02:34
Cheav Villa: _/\_  _/\_ _/\_

2020 Apr 06 12:59:12
Johann: if wishing to join, here also his number: 011 505221

2020 Apr 06 12:57:49
Johann: In two days, Ven Sophorn of Wat Sampok Andeit likes to lead the villagers for a puja up Ashram Thmo Duk

2020 Apr 06 12:54:55
Johann: Best greetings from cool Thmo Dok

2020 Apr 06 12:54:55
Johann: Best greetings from cool Thmo Dok

2020 Apr 06 12:54:55
Johann: Best greetings from cool Thmo Dok

2020 Apr 06 12:54:55
Johann: Best greetings from cool Thmo Dok

2020 Apr 04 16:12:26
Cheav Villa: The heat was 38 degrees in Phnom Penh, and the cloud was covering the sun now _/\_ _/\_ _/\_

2020 Apr 04 15:59:44
Cheav Villa: Vandami Bhnate _/\_ _/\_ _/\_

2020 Apr 04 15:56:49
Johann: Grundy= step grandson. Best wishes to all from the pleasing cool forest of Thmo Duk.

2020 Apr 04 15:54:52
Johann: Chan Roth’s Grundy came up to lend the device “Moritz likes to contact, lol ta” , well, no idea of how to use anything, so just waiting on any “ pling” and then follow a possible link of what ever media.

2020 Apr 04 15:54:52
Johann: Chan Roth’s Grundy came up to lend the device “Moritz likes to contact, lol ta” , well, no idea of how to use anything, so just waiting on any “ pling” and then follow a possible link of what ever media.

2020 Apr 04 15:39:04
Johann: All forum index, topic content would steady disappear when zoom in: white. Not possilbe to read or even write, Nyom Moriz

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.

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

0 Members and 1 Guest are viewing this topic.

Offline Moritz

  • Cief houskeeper / Chefhausmeister
  • Very Engaged Member
  • *
  • Sadhu! or +272/-0
  • Gender: Male
Re: [ATI.eu] CSCD xml to ati.eu format: converting, editing
« Reply #30 on: February 21, 2019, 03:55:02 PM »
The name of each file in it's content as part of the text, Nyom. File XY may get it filename as text content at the fist line.

With notepat++"s replacements this can then be used to render certain links and anchors now not existing in the files.
I see. With a complete list of the files I could write a php script to let it be done on the server directly.

So, as I understand, this is the complete list of files for which this should happen?

Or do still some need to be renamed? This could also be done with a script on the server. I could write it on the weekend.

_/\_

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 #31 on: February 21, 2019, 06:50:44 PM »
Sadhu!

Atma will finish the replacements as far as possible and then upload the files. The file-list should be fine. The files are renamed and syntax replacements are 90% done aside of the headers.

Similar to the use for the Khmer-Tipitaka, each header should get it's anchor and back-link and forward-link (to the released file in the "public area" by "include-plugins" use). It will not always match right but often in this way:

File-name:{pitaka}.{nikaya}.{book}.({sometimes chapter, like sn,an}.){subhead serial no.}

anchor for sutta: sang_id #sut.kn.iti.001
back path to the source file: (cs-rm|cs-km|cs-th|cs-ru):tipitaka:{file name}#sut.kn.iti.001
path to the released single sutta/vagga: (cs-rm|cs-km|cs-th|cs-ru):tipitaka:sut:kn:iti:sut.kn.iti.001|sut.kn.iti.001

======= pitaka =======
<span sang_id #sut>[[km:tipitaka:sut:index|sut]] | [[km:tipitaka:book_053#sut|book_053]]</span>

======= nikaya =======
<span sang_id #sut.kn>[[km:tipitaka:sut:kn:index|sut.kn]] | [[km:tipitaka:book_053#sut.kn|book_053]]</span>

======= book =======
<span sang_id #sut.kn.iti>[[km:tipitaka:sut:kn:iti:sut.kn.iti|sut.kn.iti]] | [[km:tipitaka:book_053#sut.kn.iti|book_053]]</span>

====== chapter ======
<span sang_id #sut.kn.iti.v1>[[km:tipitaka:sut:kn:iti:sut.kn.iti.v1|sut.kn.iti.v1]] | [[km:tipitaka:book_053#sut.kn.iti.v1|book_053]]</span>

===== title =====
<span sang_id #sut.kn.iti.v1.1>[[km:tipitaka:sut:kn:iti:sut.kn.iti#sut.kn.iti.v1.1|sut.kn.iti.v1.1]] | [[km:tipitaka:book_053#sut.kn.iti.v1.1|book_053]]</span>

==== subhead ====
<span sang_id #sut.kn.iti.001>[[km:tipitaka:sut:kn:iti:sut.kn.iti.001|sut.kn.iti.001]] | [[km:tipitaka:book_053#sut.kn.iti.001|book_053]]</span>

...possible to complicated and a lot of exceptions, since all different structured.

Maybe easier to put the file name under the header and a serial number for the similar headers. Preparing it like this:

====== chapter ======
<span sang_id #{file(-_.-_.)}>

===== title =====
<span sang_id #{file(-_.)}.v{no 1}>

==== subhead ====
<span sang_id #{file}.{no 1,2...}>


Once the last is present, it should be no problem to make the rest with normal regex.

Atma will look that he can upload them today or tomorrow, depending on lasting battery (and hopefully havn't used all web-space by other revisions till then) and leave the replacement anchors {file} and {no} in not not clear order in those files.

May Nyom not invest to much time in to complicated solutions, as told, to many inconsistencies to match it without rendering it another time anyway.

Putting the file name into files and making an increasing replacement, this two things Atma misses tools (or skill).

(Atma is just trying to keep a "guide to do for", doku, for additional languages/scripts like Burmes, Sri Lankan...)
« Last Edit: February 21, 2019, 07:13:04 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 #32 on: February 21, 2019, 08:29:51 PM »
This are the replacements done incl. the placeholders for the two kind of paths {path-source} {path-release}, filename-part {file-}, filename {file} and number {no}.

"Chapter" should be always corresponding to the file-name. (but just 10500+ replacements, 2698x4 => 300?)

{path-source}: {lang}:{section}:{file}
{lang}: cs-rm or cs-km or cs-th or cs-ru
{section}: tipitaka or anya or atthakatha or tika; according to the file-name-end *_any, *_att, *_tik, or * (no "_" for "tipitaka")

{path-release}: {lang}:{section}:{pitaka}:{nikaya}:({sub-nikaya}:){chapter}:({title}:){no}:

{file}: {pitaka}.{nikaya}.({subnikaya}.){book}.({title}.){chapter}.{no}_{section}

{file-}: id/file-name-release reduced by one namespace

{file--}: id/file-name-release reduced by two namespaces

{file+}: id/file-name-release increased by one namespaces

Note that "subhead" has sometimes {file} (dn), {file-} (an,sn,kn sometimes) or {file--}
 (mn). Att, Any, Tik may be even more various.


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

<p rend=[^\w]bodytext[^\w] n=[^\w]([^<>]*?)[^\w]><hi rend=[^\w]paranum[^\w]>([^<>]*?)<\/hi><hi rend=[^\w]dot[^\w]>\.<\/hi>([^\n]*?)<\/p>[\s]* <span para #para_$1>[$2]</span>$3\n\n

<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

<pb ed=[^\w]([^<>]*?)[^\w] n=[^\w]([^<>]*?)[^\w][\s]*\/> <span anchor #$1_$2></span>

<p rend=[^\w]bodytext[^\w]>([^\n]+?)<\/p>[\s]* $1\n\n

<note>([^<>]+?)<\/note> <span note>$1</span>

<p rend=[^\w]gatha([^<>]*?)[^\w]>([^\n]+)<\/p>[\s]* <div gatha$1>$2</div>\n\n

<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

<hi rend=[^\w]bold[^\w]>([^\n]+?)<\/hi> **$1**

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

<p rend=[^\w]book[^\w]>([^<>]*?)<\/p> ======== $1 ========\n<span sang_id #{file-}>[[{path-release}:{file-}|{file-}]] | [[{path-source}:{file}#{file-}|source]]</span>

<p rend=[^\w]chapter[^\w]>([^<>]*?)<\/p> ======= $1 =======\n<span sang_id #{file}>[[{path-release}:{file}|{file}]] | [[{path-source}:{file}#{file}|source]]</span>

<p rend=[^\w]title[^\w]>([^<>]*?)<\/p> ===== $1 =====\n<span sang_id #{file+}>[[{path-release}:{file+}|{file+}]] | [[{path-source}:{file}#{file+}|source]]</span>

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

Headers with note:

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

<p rend=[^\w]chapter[^\w]>([^<>]*?)<span note>([^<>]*?)<\/span>([^<>]*?)<\/p> ======= $1 =======\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>

<p rend=[^\w]title[^\w]>([^<>]*?)<span note>([^<>]*?)<\/span>([^<>]*?)<\/p> ===== $1 =====\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>

Headers with anchors:

<p rend=[^\w]subhead[^\w]>([^<>]*?)<span anchor #(.+)<\/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>

<p rend=[^\w]chapter[^\w]>([^<>]*?)<span anchor #(.+)<\/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>

<p rend=[^\w]title[^\w]>([^<>]*?)<span anchor #(.+)<\/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>

<p rend=[^\w]book[^\w]>([^<>]*?)<span anchor #(.+)<\/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>


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

<p rend=[^\w](indent|unindented)[^\w]>([^\n]+)<\/p>[\s]* <div $1>$2</div>\n\n

Replacements for each language/script (cs-rm, cs-km, cs-th, cs-ru): header and footer

Code: [Select]
^(.*?)<body>(.*?)<\/body>(.*)$	{{section>en:tech:template_includes#cs-rm_header&nouser&nodate&noheader&noeditbutton&firstsectiononly}}\n<span hide>{file}</span>$2{{section>en:tech:template_includes#cs-rm_footer&nouser&nodate&noheader&noeditbutton&firstsectiononly}}

Script-specific replacements:

cs-km: replacement of ព្ព with ព្វ (according to Khmer spelling tradition in Pali)

(cs-rm: replacment of "m dot below" to "m dot above", still not finally decided)

See also ati-page edits
If not finding additional header-kinds and other tags to be replaces, the files will be uploaded, rendered with this replacements, starting tomorrow.

* Johann comment Friday: cloudy, maybe Saturday noon till upload possible.

7.3.2019: Some renderings added
« Last Edit: March 07, 2019, 10:16:09 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 #33 on: February 22, 2019, 08:41:46 PM »
Since having run out of sun-power: some cleanings of not matched case have been not finished today and after that it might be tomorrow afternoon for uploading the files. Just to keep informed.

* Johann informative update: still some not matched cases, cloudy and so possible no upload today.
« Last Edit: February 23, 2019, 06:03:52 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 #34 on: February 23, 2019, 07:00:38 PM »
Many dot. issues, so still much work online then. How ever, headers should be for a great fine. Atma has uploaded the Khmer files into cs-km:tipitaka. The files of tika, anya, atthakata have not moved into there folders yet (for tika files Atma has started, but not sure if it will be finished).

Roman has been started likewise. No moving of att, tik, any for today started, but all files uploaded into tipitaka-folder in cs-rm.

Some 15% battery left, it might be finished.


Rest would come tomorrow.
« Last Edit: February 23, 2019, 09:07:53 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 #35 on: February 24, 2019, 04:11:16 PM »
File are all uploaded (certain release after 6 years carry), the Thai _any, _tik, _att moving to folders any, tik... is in progress (probably an hour or to, good battery left today).
« Last Edit: February 24, 2019, 04:57: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 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 #36 on: February 24, 2019, 06:50:00 PM »
Uploads of the source-files and putting into their categories are done. Anumodana!

There are still some xml-tags left, most seemingly in the Cyrillic edition, caused by certain inconsistency (probably done by somebody else for this font/script).

At this place, does Upasaka Dmytro ( Admin ) know anything about the situation of the Cyrillic Edition? And has it been given to a possible existing Sangha using this script, aside of the surely huge amount of not so proper accesses? If not so, if Nyom likes to assist ad take part on the merits, he may invite personally to make use of it and give access and accounts. If he likes to scarifies effort and knowledge to render the storage and text proper, he may do so given, for the Sanghas and their devoted followers use.

Atma would continue to correct certain syntax with batch-edit, if this does not disturb any fort that Nyom Moritz possible likes to put into. Headers might be touched for some less cases where the "note" span is included (i.e. have no placeholders now).

Ohh... no search results => re-indexing!? That will be long. Any idea who best should try it?

Ohh... and the Thai files are Cyrillic... looks likes some detail review required. Started upload Thai anew.
« Last Edit: February 24, 2019, 07:09:54 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 +272/-0
  • Gender: Male
Re: [ATI.eu] CSCD xml to ati.eu format: converting, editing
« Reply #37 on: February 24, 2019, 07:20:07 PM »
Vandami Bhante,

so, to see if I understand correctly again: Filename just need to be put in the beginning of the text,
so maybe just

Code: [Select]
{filename}

...everything else from the file

?

And filename should have the complete path, for example "cs-km/anya/vismag.nid.23_any.txt"?



Quote
Ohh... no search results => re-indexing!? That will be long. Any idea who best should try it?

I think it would be best if I do the re-indexing from here, having a stable internet connection.

_/\_
« Last Edit: February 24, 2019, 07:28:13 PM by Moritz »

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 #38 on: February 24, 2019, 07:32:40 PM »
There are now placeholders, Nyom Moritz, like {file} {file-} {file--} {file+} on each page, not only in the header part (like colored mentioned/specified below). If replacing just all {file} with the file-name of the list, then it should be possible for Atma to render the other.

http://www.accesstoinsight.eu/cs-rm/tipitaka/sut.an01.v01 for example

search for {file} replace with sut.an01.v01 (file-renaming-list is actually no more needed)

Code: [Select]
<div #cs-rm>
{{section>en:tech:template_includes#cs-rm_header&nouser&nodate&noheader&noeditbutton&firstsectiononly}}
<span hide>{file}</span>

<div centeralign> Namo tassa bhagavato arahato sammāsambuddhassa</div>

<div centeralign #nikaya>**Aṅguttaranikāyo**</div>
<span sang_id #{file--}>[[{path-release}:{file--}|{file--}]] | [[{path-source}:{file}#{file--}|source]]</span>

======== Ekakanipātapāḷi ========
<span sang_id #{file-}>[[{path-release}:{file}:{file}|{file-}]] | [[{path-source}#{file-}|source]]</span>

======= 1. Rūpādivaggo =======
<span sang_id #{file}>[[{path-release}:{file}|{file}]] | [[{path-source}#{file}|source]]</span>

<span para #para_1>[1]</span> Evaṃ <span anchor #T_1.0001></span><span anchor #V_1.0001></span><span anchor #P_1.0001></span><span anchor #M_1.0001></span> me sutaṃ – ekaṃ samayaṃ bhagavā sāvatthiyaṃ viharati jetavane anāthapiṇḍikassa ārāme. Tatra kho bhagavā bhikkhū āmantesi – ‘‘bhikkhavo’’ti. ‘‘Bhadante’’ti te bhikkhū bhagavato paccassosuṃ. Bhagavā etadavoca –

‘‘Nāhaṃ, bhikkhave, aññaṃ ekarūpampi samanupassāmi yaṃ evaṃ purisassa cittaṃ pariyādāya tiṭṭhati yathayidaṃ, bhikkhave, itthirūpaṃ. Itthirūpaṃ, bhikkhave, purisassa cittaṃ pariyādāya tiṭṭhatī’’ti. Paṭhamaṃ.

<span para #para_2>[2]</span> ‘‘Nāhaṃ, bhikkhave, aññaṃ ekasaddampi samanupassāmi yaṃ evaṃ purisassa cittaṃ pariyādāya <span anchor #V_1.0002></span> tiṭṭhati yathayidaṃ, bhikkhave, itthisaddo. Itthisaddo, bhikkhave, purisassa cittaṃ pariyādāya tiṭṭhatī’’ti. Dutiyaṃ.

<span para #para_3>[3]</span> ‘‘Nāhaṃ, bhikkhave, aññaṃ ekagandhampi samanupassāmi yaṃ evaṃ purisassa cittaṃ pariyādāya tiṭṭhati yathayidaṃ, bhikkhave, itthigandho. Itthigandho, bhikkhave, purisassa cittaṃ pariyādāya tiṭṭhatī’’ti. Tatiyaṃ.

<span para #para_4>[4]</span> ‘‘Nāhaṃ <span anchor #T_1.0002></span><span anchor #P_1.0002></span>, bhikkhave, aññaṃ ekarasampi samanupassāmi yaṃ evaṃ purisassa cittaṃ pariyādāya tiṭṭhati yathayidaṃ, bhikkhave, itthiraso. Itthiraso, bhikkhave, purisassa cittaṃ pariyādāya tiṭṭhatī’’ti. Catutthaṃ.

<span para #para_5>[5]</span> ‘‘Nāhaṃ <span anchor #M_1.0002></span>, bhikkhave, aññaṃ ekaphoṭṭhabbampi samanupassāmi yaṃ evaṃ purisassa cittaṃ pariyādāya tiṭṭhati yathayidaṃ, bhikkhave, itthiphoṭṭhabbo. Itthiphoṭṭhabbo, bhikkhave, purisassa cittaṃ pariyādāya tiṭṭhatī’’ti. Pañcamaṃ.

<span para #para_6>[6]</span> ‘‘Nāhaṃ, bhikkhave, aññaṃ ekarūpampi samanupassāmi yaṃ evaṃ itthiyā cittaṃ pariyādāya tiṭṭhati yathayidaṃ, bhikkhave, purisarūpaṃ. Purisarūpaṃ, bhikkhave, itthiyā cittaṃ pariyādāya tiṭṭhatī’’ti. Chaṭṭhaṃ.

<span para #para_7>[7]</span> ‘‘Nāhaṃ, bhikkhave, aññaṃ ekasaddampi samanupassāmi yaṃ evaṃ itthiyā cittaṃ pariyādāya tiṭṭhati yathayidaṃ, bhikkhave, purisasaddo. Purisasaddo, bhikkhave, itthiyā cittaṃ pariyādāya tiṭṭhatī’’ti. Sattamaṃ.

<span para #para_8>[8]</span> ‘‘Nāhaṃ, bhikkhave, aññaṃ ekagandhampi samanupassāmi yaṃ evaṃ itthiyā cittaṃ pariyādāya tiṭṭhati yathayidaṃ, bhikkhave, purisagandho. Purisagandho, bhikkhave, itthiyā cittaṃ pariyādāya tiṭṭhatī’’ti. Aṭṭhamaṃ.

<span para #para_9>[9]</span> ‘‘Nāhaṃ, bhikkhave, aññaṃ ekarasampi samanupassāmi yaṃ evaṃ itthiyā cittaṃ pariyādāya <span anchor #V_1.0003></span> tiṭṭhati yathayidaṃ, bhikkhave, purisaraso. Purisaraso, bhikkhave, itthiyā cittaṃ pariyādāya tiṭṭhatī’’ti. Navamaṃ.

<span para #para_10>[10]</span> ‘‘Nāhaṃ, bhikkhave, aññaṃ ekaphoṭṭhabbampi samanupassāmi yaṃ evaṃ <span anchor #T_1.0003></span> itthiyā cittaṃ pariyādāya tiṭṭhati yathayidaṃ, bhikkhave, purisaphoṭṭhabbo. Purisaphoṭṭhabbo, bhikkhave, itthiyā cittaṃ pariyādāya tiṭṭhatī’’ti. Dasamaṃ.

<div centeralign>Rūpādivaggo paṭhamo.</div>
{{section>en:tech:template_includes#cs-rm_footer&nouser&nodate&noheader&noeditbutton&firstsectiononly}}
</div>

{file-} would be sut.an01

{file--} would be sut

{file+} would be sut.an01.v01.xx (not easy to automatically render)

{no} would be a serial 1, 2, 3... for each page

{path-source} would be the path of the current file, i.e. cs-rm:tipitaka

{path-release} would be cs-rm:tipitaka:sut:an (possible not always correct)
« Last Edit: February 24, 2019, 07:43:30 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 +272/-0
  • Gender: Male
Re: [ATI.eu] CSCD xml to ati.eu format: converting, editing
« Reply #39 on: February 24, 2019, 07:49:21 PM »
Quote
search for {file} replace with sut.an01.v01 (file-renaming-list is actually no more needed)

Okay. So I just replace {file}, {file-} {file--} according to this pattern for now, for all files inside cs-km, cs-rm and cs-ru and then rebuild the index.

Thai then after re-upload when it is finished. Correct?

_/\_

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 #40 on: February 24, 2019, 08:05:42 PM »
Quote
search for {file} replace with sut.an01.v01 (file-renaming-list is actually no more needed)

Okay. So I just replace {file}, {file-} {file--} according to this pattern for now, for all files inside cs-km, cs-rm and cs-ru and then rebuild the index.

Thai then after re-upload when it is finished. Correct?

_/\_

Sadhu!

Upload nearly finished, moving att, any, tik-files from tipitaka-folder to their folders might need another 1-2h. Atma would give an "ready", then.
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
Status of Cyrillic Chatta Sanghayana heritage
« Reply #41 on: February 24, 2019, 08:16:16 PM »

Aramika   *

Ein oder mehrer Beiträge wurden hier im Thema abgeschnitten und damit in neues Thema "Status of Cyrillic Chatta Sanghayana heritage " 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 #42 on: February 24, 2019, 08:50:14 PM »
Overwriting the files in Thai in their folders seems to need more time, possible 5-6sec each file. Tika is still in progress since before. If Nyom thinks it would be faster with his tools, Atma would stop it and leave the move, the overwritting of the rest of _tika (if still), _any, _att-files found in the folder cs-th left, to the folders cs-th:anya:, cs-th:tika:, cs-th:atthakatha:. But just asked so that it would not take possible valuable time of Nyom.

On the other hand, since just insert file-names, it would not matter if made later, the overwrite, or? Andro-ES-explorer just gave up to response.
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 +272/-0
  • Gender: Male
Re: [ATI.eu] CSCD xml to ati.eu format: converting, editing
« Reply #43 on: February 24, 2019, 09:11:52 PM »
Overwriting the files in Thai in their folders seems to need more time, possible 5-6sec each file. Tika is still in progress since before. If Nyom thinks it would be faster with his tools, Atma would stop it and leave the move, the overwritting of the rest of _tika (if still), _any, _att-files found in the folder cs-th left, to the folders cs-th:anya:, cs-th:tika:, cs-th:atthakatha:. But just asked so that it would not take possible valuable time of Nyom.

Quote
On the other hand, since just insert file-names, it would not matter if made later, the overwrite, or?
It would not matter. I could do it later when all is moved to the right place.


But it seems I still don't understand everything completely. So some more clarifications:

For each of the directories cs-rm, cs-km, ... etc. there are these subdirectories:
anya
atthakatha
tika
tipitaka

Some files from tipitaka are now being moved into anya, attakatha, etc.
(Only remaining files should be the sut.[...] files?)

Maybe moving could go faster if I write a script for that, too. So, what exactly must be moved?

All files inside tipitaka ending with _any should be moved to anya, for example? And what else? If there is a simple pattern, I think moving everything with a PHP script would be easy and go much faster than via FTP.


And then... after that is finished, I should replace {file} with the filename (without .txt ending) and maybe some other replacements.

But the patterns described here do not fit for all files. For example, some files like vismag.nid19_any:
{file-} would be vismag
{file--} would be empty?

Maybe best to clarify on the phone. I will try to call. _/\_
« Last Edit: February 24, 2019, 09:34:08 PM by Moritz »

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 #44 on: February 24, 2019, 09:33:51 PM »
Quote
Some files from tipitaka are now being moved into anya, attakatha, etc.

In cs-th, yes, overwritting the wrong cyrill files. Cs-rm, cs-ru, cs-km, should be fine already.

The upload tool on laptop does not allow search for _att for example, so my person uploaded all first to the folder tipitaka and moved the _any, _tik, _att files with an app on android, which allows search and handle this search, to the right folders. Those files who have no _any, _att, _tik at the and, remain as tipitaka files. And yes, for each language there are this four folders.

Quote
For each of the directories cs-rm, cs-km, ... etc. there are these subdirectories:
anya
atthakatha
tika
tipitaka
Yes.

Quote
(Only remaining files should be the sut.[...] files?)
No. They are just one part of the files (remaining) in the tipitaka folder, aside of vin and abh

Quote
All files inside tipitaka ending with _any should be moved to anya, for example? And what else? If there is a simple pattern, I think moving everything with a PHP script would be easy.

All files in cs-th/tipitaka/ (only cs-th namespace!), containing _any at the end, to cs-th/anya/
All files in cs-th/tipitaka/ (only cs-th), containing _tik at the end, to cs-th/tika/
All files in cs-th/tipitaka/ (only cs-th), containing _att at the end, to cs-th/atthakatha/

(over-writting the existent in folders (which are wrongly cyrillic))

Quote
And then... after that is finished, I should replace {file} with the filename (without .txt ending) and maybe some other replacements.
Yes, but no "should", could, if wishing.

Quote
But the patterns described here do not fit for all files. For example, some files like vismag.nid19_any:
{file-} would be vismag
{file--} would be empty?

Yes, Atma is aware of it, especially in anya, where there are flatter structure. But to handle the "lesser" inconsistent "manual" is thought to be easier then to think about all possibilities. Maybe a "if name is "0" then "(whole) filename" might be possible to cause no errors.

Quote
Maybe best to clarify on the phone. I will try to call.
How ever Nyom Moritz likes. Still some battery left (12% on LP, 40% on tablet).

Mudita









This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Tags: