Recent Topics

[Today at 05:58:08 AM]

[Today at 05:50:26 AM]

[Today at 03:49:40 AM]

[January 17, 2019, 04:25:52 PM]

[January 17, 2019, 02:48:14 PM]

[January 17, 2019, 12:29:28 PM]

[January 17, 2019, 07:48:51 AM]

[January 17, 2019, 07:47:14 AM]

[January 17, 2019, 01:18:25 AM]

[January 16, 2019, 04:34:32 PM]

[January 16, 2019, 10:08:02 AM]

[January 16, 2019, 08:33:46 AM]

[January 16, 2019, 05:44:03 AM]

[January 16, 2019, 01:15:47 AM]

[January 15, 2019, 02:37:17 PM]

[January 15, 2019, 12:49:19 PM]

[January 15, 2019, 11:29:04 AM]

[January 15, 2019, 07:08:11 AM]

[January 15, 2019, 07:07:38 AM]

[January 15, 2019, 06:21:45 AM]

[January 15, 2019, 03:15:41 AM]

[January 14, 2019, 04:05:27 PM]

[January 14, 2019, 02:04:52 PM]

[January 14, 2019, 12:39:11 PM]

[January 14, 2019, 09:39:58 AM]

[January 14, 2019, 06:50:00 AM]

[January 14, 2019, 04:40:10 AM]

[January 13, 2019, 02:26:34 PM]

[January 13, 2019, 02:24:47 PM]

[January 13, 2019, 07:56:38 AM]

[January 12, 2019, 04:31:20 PM]

[January 12, 2019, 02:41:15 PM]

Talkbox

2019 Jan 18 07:29:08
Cheav Villa: But not yet finished, .. touched enter  ^-^ and..

2019 Jan 18 07:25:06
Cheav Villa: Bhante Muni actually said.. really enjoyed of dwelling here  _/\_

2019 Jan 18 06:42:04
Johann: much uddhacca-kukkucca, or?

2019 Jan 18 06:10:12
Johann: Bhante Muni wrote: "I, Brah Karuna, Atma-peap, am greating ñati ñoma (former blood relatives) to the extend of respecting goodwill (metta), I, Brah Karuna, Atma-peap, really..."

2019 Jan 18 06:01:10
Johann: One easy becomes a browser (neak quial hungry)

2019 Jan 18 05:56:43
Cheav Villa:  :D :D :D _/\_

2019 Jan 18 05:55:26
Johann: Atma is now very busy in cutting, moving, mergle... maybe slowly and with mindfulness: where am I? Whats the topic?...  :)

2019 Jan 18 04:38:03
Ieng Puthy: 🙏🏻🙏🏻🙏🏻ករុណាសូមថ្វាយបង្គំុ Bhante Muny 

2019 Jan 18 04:20:34
Cheav Villa:  _/\_ _/\_ _/\_

2019 Jan 18 04:19:09
Muni: ខ្ញុំព្រះករុណាអាត្មាភាព សូមនមស្សការនិងចម្រើនពរញាតិញោម ដោយសេចក្ដីគោរពរាប់អាន ខ្ញុំព្រះករុណាអាត្មាភាពពិត

2019 Jan 18 03:39:39
Cheav Villa: អរព្រះគុណ​ព្រះអង្គ​ បាននិមន្តចូលរួមវិភាគទាន នៅទីនេះ _/\_

2019 Jan 18 03:39:00
Cheav Villa: ថ្វាយបង្គំ​ព្រះអង្គ​មុនី :D _/\_

2019 Jan 17 16:22:47
Johann: Bhante Muni  _/\_

2019 Jan 17 12:59:11
Johann: So it's enought or would some broken Khmer Audio be of support, Nyom?

2019 Jan 17 09:20:36
Ieng Puthy: 🙏🏻អរព្រះគុណព្រះអង្គBhante . ករុណាបានអាមអត្ថបទដែលព្រះអង្គបានផុសជាភាសាអង់គ្លេសនោះ បានយល់ខ្លះៗហេីយ :D :D

2019 Jan 17 06:45:05
Johann: Being become, appeare always where desired Why beings take birth, even in most worse existences and circumstances?

2019 Jan 17 06:41:35
Johann: One becomes and dwells there where one is inclinated (most anusayā), distinguished gross: 1. world, 1. Nibbana.

2019 Jan 17 06:20:33
Cheav Villa: លោកតាទើបចេះពន្យល់ ខ្ញុំ​មិនសូវ​ដឹងឆ្លើយទេ ^-^

2019 Jan 17 06:19:32
Cheav Villa: សូមចូលមកសរសេរសួរលោកតា នៅវត្ត​ កុំសួរតាមMessenger  :D

2019 Jan 17 06:18:35
Cheav Villa: សួស្តី​បងធី​ _/\_

2019 Jan 16 16:33:43
Cheav Villa: Things to read :D

2019 Jan 16 16:27:50
Cheav Villa: Sadhu _/\_ _/\_ _/\_

2019 Jan 16 15:28:02
Johann: The Story of Culekasataka (Maha Kassapa and his wife in former life)

2019 Jan 16 15:20:13
Johann: ថ្ងៃ ថ្មី មួូយ ជា ឳកាស ថ្មី មួយ ទៀត។ យើង មិន អាច ដឹង មុន នូវ អ្វី ដែល នឹង កើតឡើង ថ្ងៃ ស្អែក

2019 Jan 16 04:07:43
Khemakumara: Nyom Chanroth

2019 Jan 16 02:09:37
Chanroth: សាធុសាធុសាធុ _/\_ _/\_ _/\_

2019 Jan 16 02:07:10
Johann: ថ្ងៃ ថ្មី មួូយ ជា ឳកាស ថ្មី មួយ ទៀត។ យើង មិន អាច ដឹង មុន នូវ អ្វី ដែល នឹង កើតឡើង ថ្ងៃ ស្អែក

2019 Jan 16 02:06:36
Chanroth: ជំរាបសួរ Moritz

2019 Jan 16 02:06:31
Johann: "Another day, another possibility. We don't know what tomorrow might be."

2019 Jan 15 19:41:08
Khemakumara: Nyom Moritz

2019 Jan 15 19:38:38
Moritz: Vandami Bhante (Khemakumara) _/\_

2019 Jan 15 17:13:16
Johann: Nyom Puthy, maybe this helps: ការរបៀបឆ្លេីយនៅក្នុង website .

2019 Jan 15 16:10:29
Ieng Puthy: ព្រះអង្គករុណាសូមថ្វាយបង្គំុលាសិនហេីយ 🙏🏼🙏🏼🙏🏼

2019 Jan 15 16:07:58
Ieng Puthy: ករុណាគ្រាន់តែចូលអាន ករុណាមិនទាន់យល់ពីរបៀបឆ្លេីយនៅក្នុងwebsite នៅឡេីយទេ ព្រះអង្គ 🙏🏼🙏🏼🙏🏼

2019 Jan 15 16:00:58
Johann: How ever one feels inspired, has joy, likes to give into.  How can I use the forum purposefully, for myself, as well as for others?

2019 Jan 15 15:57:55
Johann: No need to use all possibilities for merits for one alone but good to invite others to join and become more independend till free.

2019 Jan 15 15:04:39
Johann: no requirement to do all, merits step by step. "The path to nibbana is hard", they say, and don't do even little steps, Nyom. As inspired, its at least a working and concentration camp, Devas delight in creation, Devas having contr. over the creation of others.

2019 Jan 15 14:53:43
Cheav Villa: ព្រះអង្គការបកប្រែមកជាខ្មែរ  មានខុសច្រើនណាស់  _/\_ _/\_ _/\_

2019 Jan 15 14:49:16
Khemakumara: leng Puthy

2019 Jan 15 14:48:29
Khemakumara: Nyom leng Pitts

2019 Jan 15 14:45:35
Johann: There is a lot of new for many. If the Nyom Ladies like to help in translating here and there a little, it might be easier for khmer-speaking monks to get informed well.

2019 Jan 15 14:25:23
Ieng Puthy: 🙏🏼🙏🏼🙏🏼ករុណាថ្វាយបង្គំុ ព្រះអង្គ Bhante Khemakumara

2019 Jan 15 13:33:34
Khemakumara: Bhante Muni

2019 Jan 15 13:32:47
Khemakumara: Bhante Johann _/\_ _/\_ _/\_

2019 Jan 15 13:27:53
Johann: Bhante Muni

2019 Jan 15 10:46:40
Johann: But a topic can be opened everywhere and can then be moved.

2019 Jan 15 10:45:27
Johann: There is also a Link to direct Requests for Teachings - link, so things get not lost.

2019 Jan 15 10:44:12
Ieng Puthy: 🙏🏻🙏🏻🙏🏻ករុណាព្រះអង្គ🙏🏻អរព្រះគុុណ ព្រះអង្គ

2019 Jan 15 10:42:55
Johann: Good place is surely at  Dhammatalks - (dhamma desanā)

2019 Jan 15 10:35:06
Johann: Talkbox is not proper, just for greating and small-talk

2019 Jan 15 10:24:47
Ieng Puthy: 🙏🏻🙏🏻🙏🏻ព្រះអង្គ តេីមានធម៌អ្វីដែលអាចកំចាត់ធម៌លោភៈល្អិតនៅក្នុងចិត្តបានដែរឬទេ ?ព្រះអង្គ Vandami Banthe 🙏🏻🙏🏻🙏🏻

2019 Jan 15 10:21:37
Johann: Just open a new topic best, Nyom Puthy (requires some bhava-chanda)

2019 Jan 15 10:17:22
Johann: Nyom Puthy

2019 Jan 15 10:07:10
Ieng Puthy: 🙏🏻🙏🏻🙏🏻ករុណាថ្វាយបង្គំុ ព្រះអង្គ Vandami Banthe

2019 Jan 15 10:01:15
Ieng Puthy: 🙏🏻🙏🏻🙏🏻ករុណាថ្វាយបង្គំុ ព្រះអង្គមុនី! ករុណាមានសំណួរ១អំពី អនុស្ស័យកិលេសមាន៧ គឺ 1-កាមរាគានុស្ស័យ 2-ភវនុស្ស័យ3

2019 Jan 15 09:31:36
Cheav Villa:  :)  _/\_

2019 Jan 15 09:27:54
Chanroth: ខ្ញុំព្រះករុណាសូមថ្វាយបង្គំព្រះអង្គមុន្នី ពីរអាស្រមថ្មទូក_/\_ _/\_ _/\_

2019 Jan 15 09:21:46
Chanroth: បាតជំរាបសួរបងស្រី ខ្ញុំមិនទាន់បានធ្វេីនៅឡេីយទេ ពីព្រោះខ្ញុំឈឺ បានធូហេីយ តែមិនទាន់បាត់ថ្លោះករនៅឡេីយ _/\_

2019 Jan 15 08:57:49
Cheav Villa: ថ្វាយបង្គំព្រះអង្គមុនី  _/\_

2019 Jan 15 07:34:19
Johann: Bhante Khemakumara

2019 Jan 15 05:57:47
Cheav Villa: តើពូកំពុងជួយការងារលោកតាមែនទេ?តើនៅអាស្រមមានកង្វះខាតអ្វីទេនៅពេលនេះ

2019 Jan 15 05:54:51
Cheav Villa: ជំរាបសួរពូចាន់រ័ត្ន _/\_

2019 Jan 15 01:12:12
Johann: And "we" wouldn't always know or find out but need to relay on one who know

2019 Jan 15 01:06:48
Johann: There are two kinds of sadness and happiness, of which one of each is conductive for liberation, one not.

2019 Jan 15 01:02:24
Mohan Gnanathilake: May we always be able to find out for ourselves how much attachment we accumulate, and whether this brings us happiness or sorrow! Dhamma Greetings from Sri Lanka!

2019 Jan 15 01:00:52
Mohan Gnanathilake: Mögen wir immer  selbst herausfinden kӧnnen, wie viel Anhaftung wir anhäufen und ob  diese Anhaftung uns die Frӧhlichkeit oder  die Traurigkeit bringt! Dhamma Grüβe aus Sri Lanka!

2019 Jan 14 13:52:41
Johann: Nyom Puthy. May you all have good Dhamma conversations with each other, don't be shy on that. Atma will go to rest.

2019 Jan 14 13:48:00
Johann: ញោម ចាន់រ័ត្ន

2019 Jan 14 12:49:01
Cheav Villa: អរព្រះគុណព្រះអង្គ _/\_ _/\_ _/\_

2019 Jan 14 12:36:20
Mohan Gnanathilake: May we possess the causes of blissfulness always! Dhamma Greetings from Sri Lanka!

2019 Jan 14 12:35:18
Mohan Gnanathilake: Mӧgen wir immer die Ursachen der Glückseligkeit besitzen! Dhamma Grüβe  aus Sri Lanka!

2019 Jan 14 10:20:32
Johann: "នាងវិសាខា ក្រាបបង្គំទូលថា ថ្ងៃនេះខ្ញុំម្ចាស់រក្សាឧបោសថៈព្រះអង្គ។"...

2019 Jan 14 09:49:40
Chanroth:  _/\_ _/\_ _/\_

2019 Jan 14 06:59:34
Cheav Villa: Jain-Upossathaកូណាមុិនទាន់យល់ន័យនៃពាក្យនេះទេ _/\_

2019 Jan 14 05:12:41
Johann: "មិនមែនជារបស់ខ្លួន"... មែន(sense)ទុក្ខឬមិន? Where?

2019 Jan 14 04:57:55
Johann: Buddha and Savaka do not teach Jain-Uposatha: អ្នកណា​មាទុក្ខ? , Sadhu

2019 Jan 14 04:50:21
Johann: ជាធម៌អសេង្ខបុគ្គល! មានទេមិនមាន ... ការនិយាយអំពីសត្វ។ ធម៌ទាំងអស់មានមូលហេតុ ដូច្នេះ: រឿងដំបូងនៅលើកដំបូង!

2019 Jan 14 04:21:59
Cheav Villa: មិនមែនជារបស់ខ្លួន ជាអនត្តាធម៌ ជាធម៌អសេង្ខបុគ្គល  _/\_

2019 Jan 14 04:16:00
Johann: មិនមែនជារបស់ខ្លួនទេ = មិនមែនទុក្ខទេ

2019 Jan 14 04:06:00
Johann: Nyom Puthy

2019 Jan 14 04:05:16
Johann: ទុក្ខំ អនិច្ចំ អន្តតា !

2019 Jan 14 02:18:42
Chanroth: ទុក្ខំ អនិច្ចំ អន្តតា

2019 Jan 13 15:16:49
Johann: First things first , very recommended, hearing the Uposatha of the Jains from the Villages all the time here.

2019 Jan 13 15:05:49
Johann: again and again coming back to Dhamma, Punja? Habits become destinies.

2019 Jan 13 14:53:42
Johann: coming back seems to be niccaŋ

2019 Jan 13 14:40:52
Cheav Villa: អនិច្ចំ *sgift*

2019 Jan 13 14:29:43
Ieng Puthy:  Chom reap leah , good bye🙏🏼

2019 Jan 13 14:18:50
Moritz: Chom reap leah, good bye _/\_

2019 Jan 13 14:11:50
Ieng Puthy: Hello Master Morithz🙏🏼

2019 Jan 13 14:07:24
Moritz: Hello Ieng Puthy _/\_

2019 Jan 13 14:07:16
Moritz: Vandami Bhante _/\_

2019 Jan 13 13:54:34
Ieng Puthy: ជំរាបសួរ បងចាន់រ័ត្ន Bong Chanroth 🙏🏼សូមបងឆាប់បានជាសះស្បេីយ

2019 Jan 13 13:49:26
Johann: Meister Moritz

2019 Jan 13 09:17:06
Chanroth: ខ្ញំបានជាហើយ តែវេទនាបានកើតឡើងចំពោះខ្ញុំ បញ្ហាថ្លោះកករ :-\

2019 Jan 13 07:49:41
Cheav Villa: ជំរាបសួរពូចាន់រ័ត្ន ពូបានធូរស្បើយហើយមើលទៅ :D _/\_

2019 Jan 13 07:48:35
Cheav Villa: Sadhu _/\_ _/\_ _/\_

2019 Jan 13 07:47:10
Johann: May all spent a meritful Siladay today or tomorrow.

2019 Jan 13 05:07:45
Chanroth: ជំរាបសួរបងស្រី វីឡាខ្ញុំបាទchanroth _/\_ _/\_ _/\_

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]

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] Replacement, regex issues (Content styling)  (Read 6056 times)

0 Members and 1 Guest are viewing this topic.

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +351/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
[ATI.eu] Replacement, regex issues (Content styling)
« on: June 16, 2018, 02:53:02 PM »
Atma has just seen the nice Wrap plugin been installed which might make it much easier to bring html content of ZzE pages into the cms/wiki.

The backward is that it's then no more as "light" as with simple wiki-syntax.

How ever, this topic is dedicated for styling of content, ideas, standards... what ever.

A list of replacements can be found here: http://accesstoinsight.eu/doku.php?id=de:import_zze (development in progress)
« Last Edit: July 02, 2018, 05:03:37 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 +351/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [dokuwiki] ATI/ZzE Content-style
« Reply #1 on: June 16, 2018, 03:06:26 PM »
Existing stylings on ZzE for content part:

Chapter
Code: [Select]
<div class="chapter">
replace with
Code: [Select]
<div chapter>

Editor note

Citation excerpt
Code: [Select]
<div class='excerpt'>
replace with
Code: [Select]
<div excerpt>

Cite (text source)
Code: [Select]
<p class='cite'>Text</p>
replace with
Code: [Select]
<span cite>Text</span>

Free verse
Code: [Select]
<div class="freeverse">

Verse
Code: [Select]
<div class="verse">

Tagline
Code: [Select]
<p class="tagline">
« Last Edit: June 17, 2018, 11:51:42 AM 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 +351/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] ATI/ZzE Content-style
« Reply #2 on: June 17, 2018, 01:34:28 PM »
Atma had started here with replacements in file-coding.

http://www.accesstoinsight.eu/doku.php?id=de:lib:authors:thanissaro:beyond1

Might be "no" problem if having such as notepad++, multiple files access and regex with replacement function avaliable. By "hand", with given tools and skill, proximate 4000h for all pages.

Atma will now try to get the zze-styling in the ati.eu css.
« Last Edit: June 25, 2018, 05:25:38 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 +351/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] ATI/ZzE Content-style
« Reply #3 on: June 25, 2018, 05:24:34 PM »
A list of replacements can be found here: http://accesstoinsight.eu/doku.php?id=de:import_zze (development in progress)
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 +351/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] ATI/ZzE Content-style
« Reply #4 on: June 26, 2018, 05:12:36 AM »
First action with replace plugin:

Code: [Select]
find	^	replace with	^	matches ^
/<!DOCTYPE(.*?)<body>/s | <body> | 6508 |

Quote
Display: Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0

Seems that no action was taken and the building of the searchpage result (maybe 10-50Mb large) needed time.

Try to reduce to smaller amount by sellecting name spaces.

Code: "ns de:lib:" [Select]
find	^	replace with	^	matches ^
/<!DOCTYPE(.*?)<body>/s | <body> | 663 |


seems like having executed! Atma will do forther step by step in this way, accourding to the replace list

Replace plugin (see ini-isdue above) can execute "only" 1000 replace requests at once, as it seems, for now, but it works and is a useful way.
« Last Edit: June 26, 2018, 06:15:54 AM 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 +351/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] ATI/ZzE Content-style
« Reply #5 on: June 26, 2018, 07:28:43 AM »
header-deletion
find: /<!DOCTYPE(.*?)<body>/s replace with <body>


de: lib: 663, de:tipitaka:sut:an: 483, de:tipitaka:sut:sn: 471, de:tipitaka:sut:kn: j: 614, de: (rest) 797, en:lib: 654, en:zipitaka:sut:an: 364, en:tipitaka:sut:sn: 470, en:tipitaka:sut:kn:j: 611, en:tipitaka:vin: 616, en:tipitaka:sut:kn: (rest) 400, (rest over all) 365, search for *<body> still gives matches


6458 matches (if quick head-callucating was right) of 6508.

forgot the redirect pages (aside of 22, to find with "<!DOCTYPE html PUBLIC"), other redircts seems to be lost, so far.

Bug? After search request of more complex search, the result page's imput fields are destroyed. See attached. " seems to be the issue.
« Last Edit: June 26, 2018, 08:28:00 AM 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 +351/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] ATI/ZzE Content-style
« Reply #6 on: June 28, 2018, 08:02:15 AM »
Replace-plugin workes fine so far, of cource there is much to spend to get into regex most efficent.

Two things, Nyom Moritz , since the amount of 1000 matches is very less for large clean ups. Could Atma change that? Is it accessable via ftp? And is it of no problem to increase it to maybe 20.000 or even much higher?

Quote
Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0

Replace seems to have no variables like \L to replace a string in lower cases, or is it just a synatax language-lack of my person. (to get a word, say "halLo_Was_iSt" replaced by "hallo_was_ist".
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 +236/-0
  • Gender: Male
Re: [ATI.eu] ATI/ZzE Content-style
« Reply #7 on: June 28, 2018, 02:31:34 PM »
since the amount of 1000 matches is very less for large clean ups. Could Atma change that? Is it accessable via ftp? And is it of no problem to increase it to maybe 20.000 or even much higher?
This file is not accessible for us, I think.
But I changed the code to work around that.
It should work now for larger numbers, but it could be very slow. There might come a message from the browser "script is not responding" or something, and being asked if wanting to continue the script, simply answer "yes" and wait.

Replace seems to have no variables like \L to replace a string in lower cases, or is it just a synatax language-lack of my person. (to get a word, say "halLo_Was_iSt" replaced by "hallo_was_ist".

I don't know. Maybe there is another syntax for it. I found this: https://stackoverflow.com/questions/34592160/regex-string-substitution-upper-and-lower-case
But don't know at the moment if that would provide a solution.

_/\_

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +351/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] ATI/ZzE Content-style
« Reply #8 on: June 28, 2018, 04:22:06 PM »
Sadhu!
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +351/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] ATI/ZzE Content-style
« Reply #9 on: June 29, 2018, 07:26:59 AM »
The replacment works good for great amount. The only thing that takes time is the builing of the resultpage which is of course huge. Sadhu
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +351/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] ATI/ZzE Content-style
« Reply #10 on: June 30, 2018, 03:38:23 PM »
Firefox verkraften das Laden der Ergebnisseiten ganz gut.

Atma hat heute alle zze txt-file neu hochgeladen, neu-indexiert und von nochmal von Vorne begonnen.

Einen Tag herumgeregext funktioniert alles recht fein. Manchmal, bei größeren Anfragen erscheint nach Abbruch (zwischen drinnen im Überschreiben)

Quote
Fatal error: Maximum execution time of 60 seconds exceeded in /var/www/clients/clientxxx/webxxx/web/inc/io.php on line 235

mag aber mit Verbindung zusammen hängen, da kein besonderes Muster erkannt. -> kommt bei mehr als 4000 betroffenen Seiten (unabhängig der einzelnen Anzahl der Treffer) scheinbar auf.

Stück für Stück, in alle Richtungen, die Codes und Layout... Links ändern, Daten-Table... , wird wohl noch gut eine Woche, zwei, voll in Anspruch nehmen, bis erste annehmliche Erscheinung.

« Last Edit: June 30, 2018, 04:49:31 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 +236/-0
  • Gender: Male
Re: [ATI.eu] ATI/ZzE Content-style
« Reply #11 on: July 01, 2018, 04:14:48 AM »
Sadhu!

Manchmal, bei größeren Anfragen erscheint nach Abbruch (zwischen drinnen im Überschreiben)

Quote
Fatal error: Maximum execution time of 60 seconds exceeded in /var/www/clients/clientxxx/webxxx/web/inc/io.php on line 235

mag aber mit Verbindung zusammen hängen, da kein besonderes Muster erkannt. -> kommt bei mehr als 4000 betroffenen Seiten (unabhängig der einzelnen Anzahl der Treffer) scheinbar auf.

Das hat nichts mit der Verbindung zu tun, sondern damit, dass der Server ein Zeitlimit hat, um ein einzelnes Skript auszuführen. Das Ersetzen in 4000 Seiten dauert scheinbar zu lange und wird dann abgebrochen.

Man kann offenbar aber mitten im Skript immer wieder neu das Zeitlimit sich selbst bestimmen und hoch setzen. Habe nun entsprechend eingebaut, dass es für jeder Datei sich wieder 120 Sekunden reserviert. Das sollte locker reichen und wohl keine solchen Abbrüche mehr stattfinden.

(Habe auch die neuesten Änderungen des Original-Autors nun mit eingebaut, der mein hingehacktes "alles markieren" mit einer sauber zu DokuWiki passenden grafischen Oberfläche versehen hat.)

_/\_

Offline Moritz

  • Cief houskeeper / Chefhausmeister
  • Very Engaged Member
  • *
  • Sadhu! or +236/-0
  • Gender: Male
Re: [ATI.eu] ATI/ZzE Content-style
« Reply #12 on: July 01, 2018, 04:32:13 AM »
Replace seems to have no variables like \L to replace a string in lower cases, or is it just a synatax language-lack of my person. (to get a word, say "halLo_Was_iSt" replaced by "hallo_was_ist".

I don't know. Maybe there is another syntax for it. I found this: https://stackoverflow.com/questions/34592160/regex-string-substitution-upper-and-lower-case
But don't know at the moment if that would provide a solution.

_/\_

It seems such things like \L and \U for uppercase and lowercase replacement are not "standard" regex features, but only part of extra stuff in some programs.
It would surely be possible to build something like this into the BatchEdit plugin as well. I am not really knowleadgable about regular expressions, but have just found a really good manual with clear explanations. So maybe I would try to add things like that when I understand more and find time for it.

And I also still don't know how the indexing works and how fast or slow it is. Have there ever been problems with the BatchEdit plugin showing old results that had not been updated, even when a newer version should exist?
When looking at the code it seems to me that the BatchEdit plugin will always load the latest version and show matches accordingly. So a slow index might perhaps only be a problem sometimes for new pages that have not even been included in the index for the first time so that no results for it would be found...

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +351/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] ATI/ZzE Content-style
« Reply #13 on: July 01, 2018, 09:47:24 AM »
So far, Nyom Moritz , all works fine to progress step by step. No real problems seen in regard of index as it is used only for the selection of avaliable files while the search is done direct in the files (so no need of refreshing / new indexing, except new files are added).

Page lookup

BatchEdit uses DokuWiki page index to get the list of existing pages instead of going through the data directories. If the index is incomplete the plugin will not see some pages. This also applies to the “special” pages, for example, namespace templates.

So it's only about the list of files that batchEdit uses the index.

Index it self: Not sure for now, but it seems so, that refresh index matches also new files. It works not too slow.

In regard of regex, yes, the returns seems to be special. Hier $ seems to work more, as for place a string \1 = $1, maybe it works also for \L = $L (did not try for now).

Since Atma does not intent to learn/invest much in this skills, when ever a need arises, he would look and maybe addopt, investigate samples given here around.

It's good then, steo by Step, to make explainary pages on ATI.eu in all regards, for further future easier work and transfer.

http://accesstoinsight.eu/doku.php?id=de:tech:regex_use z.b.
« Last Edit: July 01, 2018, 09:52:33 AM 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 +351/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] ATI/ZzE Content-style
« Reply #14 on: July 01, 2018, 11:39:08 AM »
Spoken of problems... Nyom Moritz (attached)

Note that after copy the new file into cs-rm (Cattasanghayana - Roman), Atma did only a refresh index, so maybe this had caused an appearances never had before, also first time to regex in cs-rm .

oh... maybe it (this error) has to do with the uploaded image/media-files (maybe wrong Uppercase-cases), have to look at it and rename them...

Done, so far, but not reidexed for now. It seems that regex also addresses mediafiles, not clear in how far (or just when collecting posdible files avaliable. If also executing them likewise, this could be a mess probably.

now the task of replacement there gave:

Code: [Select]
Fatal error: Uncaught Error: Call to undefined function setTimeLimit() in /var/www/clients/client2157/web5417/web/lib/plugins/batchedit/admin.php:412 Stack trace: #0 /var/www/clients/client2157/web5417/web/lib/plugins/batchedit/admin.php(385): admin_plugin_batchedit->applyMatches() #1 /var/www/clients/client2157/web5417/web/lib/plugins/batchedit/admin.php(102): admin_plugin_batchedit->apply() #2 /var/www/clients/client2157/web5417/web/inc/Action/Admin.php(47): admin_plugin_batchedit->handle() #3 /var/www/clients/client2157/web5417/web/inc/ActionRouter.php(83): dokuwiki\Action\Admin->preProcess() #4 /var/www/clients/client2157/web5417/web/inc/ActionRouter.php(48): dokuwiki\ActionRouter->setupAction('admin') #5 /var/www/clients/client2157/web5417/web/inc/ActionRouter.php(60): dokuwiki\ActionRouter->__construct() #6 /var/www/clients/client2157/web5417/web/inc/actions.php(16): dokuwiki\ActionRouter::getInstance(true) #7 /var/www/clients/client2157/web5417/web/doku.php(120): act_dispatch() #8 {main} thrown in /var/www/clients/client2157/web5417/web/lib/plugins/batchedit/admin.php on line 412

Atma will do an reindex, since files have different names now and index still holds the old. Maybe that solves that.
« Last Edit: July 01, 2018, 12:04:01 PM by Johann »
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Tags: