Recent Topics

[Today at 10:04:36 AM]

[January 18, 2020, 09:22:53 PM]

[January 18, 2020, 03:09:15 PM]

[January 17, 2020, 07:19:05 PM]

[January 17, 2020, 06:13:53 AM]

[January 16, 2020, 12:31:16 PM]

[January 15, 2020, 08:34:27 PM]

[January 15, 2020, 04:12:22 PM]

[January 13, 2020, 07:32:47 PM]

[January 13, 2020, 07:27:07 PM]

[January 13, 2020, 07:08:46 PM]

[January 13, 2020, 12:22:25 PM]

[January 12, 2020, 09:36:00 PM]

[January 11, 2020, 11:27:16 PM]

[January 11, 2020, 09:43:24 PM]

[January 11, 2020, 07:48:06 PM]

[January 11, 2020, 02:31:14 PM]

[January 11, 2020, 11:46:09 AM]

[January 11, 2020, 06:40:15 AM]

[January 10, 2020, 04:50:04 PM]

[January 10, 2020, 11:51:07 AM]

[January 10, 2020, 04:59:15 AM]

Talkbox

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

2020 Jan 15 11:12:01
Johann: Nyom

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

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

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

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

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

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

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

2020 Jan 12 21:27:15
Cheav Villa: Master Moritz _/\_ Visitor _/\_

2020 Jan 12 21:26:54
Cheav Villa:  Kana Bhante _/\_ _/\_  _/\_

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

2020 Jan 12 21:24:21
Moritz: Visitor _/\_

2020 Jan 12 21:24:09
Moritz: Bong Villa _/\_

2020 Jan 12 21:23:59
Moritz: Vandami Bhante _/\_ _/\_ _/\_

2020 Jan 12 21:23:50
Johann: Good on working isn't a bad reservation. Sokh chomreoun

2020 Jan 12 21:16:12
Cheav Villa: I kana in working conditions in the ministry  _/\_ _/\_ _/\_

2020 Jan 12 17:24:45
Johann: How is Nyom Villa doing? Seems as if more reserved

2020 Jan 11 21:30:11
Cheav Villa:  _/\_ _/\_ _/\_

2020 Jan 11 21:27:10
Johann: On the other side it's just visible for Aramika, so also fine to leave it as it is.

2020 Jan 11 21:18:06
Johann: but possible good to change it, since looking of course strange

2020 Jan 11 21:17:02
Johann: The visitor account, since enail needed, has Atmas email, yes. Nothing wrong, Nyom.

2020 Jan 11 21:10:13
Cheav Villa: Mr. Visitor is using Bhante mail on Sangham ^-^ _/\_ _/\_ _/\_

2020 Jan 11 17:28:39
Khemakumara:  _/\_ _/\_ _/\_ Bhante

2020 Jan 11 17:19:29
Johann: Well then. Mudita. And to use old account is also no problem, or a new one.

2020 Jan 11 17:13:25
Visitor:  *sgift* Will return soon. will share one from lot.  :) Stay healthy. Be happy.

2020 Jan 11 17:06:13
Johann: Sure, why not? An also sure that Atma will try what ever possible that Nyom-Deva would take on existance where Dhamma can completely comprehended. My Nyom do as he feels fit and inspired.

2020 Jan 11 17:03:02
Visitor: For I am out of community and practice to be independent too -- decided when couldn't find Gem(liberated one, buddha, venerable).

2020 Jan 11 17:00:13
Visitor: If I share one of those practices, will uncle allow that? Will uncle give way to me to give as a 'Visitor'? Even when it's out of community.

2020 Jan 11 16:57:53
Johann: It's importand to see that liberation is possible, and people having gained independency are met = Savaka Sangha

2020 Jan 11 16:55:26
Johann: It's importand, aside of the deva-messangers, birth, sickness, aging death, to meet the Buddha, Arahat, Samana, so that real Saddha may arise. Books hardly can provide such "it's not just a story"

2020 Jan 11 16:50:04
Visitor: Practice leads to experience -coming slowly-2 me already. Did uncle find any Gems(Ven. Buddha) to associate with?

2020 Jan 11 16:45:42
Johann: Only by practicing and association with the Gems can Dhamma be gained. Consuming 1000 book wouldn't help

2020 Jan 11 16:43:02
Johann: What does one, seeing his decay, keep him from sharing?

2020 Jan 11 16:41:31
Johann: Giving ways to let others give is also a-maccariya

2020 Jan 11 16:39:42
Johann: And books are lasting? Sharing about oldage, sickness and death is teaching the 1 Noble truth very real, or?

2020 Jan 11 16:35:58
Visitor: What does old uncle want to offer when he is also impermanent? Dhamma-it's already in books! Experience-it will come soon to me too.

2020 Jan 11 16:30:29
Johann: If needing something, just let it be known (any language

2020 Jan 11 16:29:50
Johann: Nyom unknown

2020 Jan 11 16:28:47
Visitor:  *thumb* :-\ :( ;-) *gift*

2020 Jan 11 08:13:55
Cheav Villa:  _/\_

2020 Jan 11 08:11:25
Moritz: Oh, I just wanted to write something to you, Bong Villa. But now have to go, driving taxi. ^-^ Later. _/\_ Chom reap leah

2020 Jan 11 08:05:56
Cheav Villa: Master Moritz _/\_ _/\_ _/\_

2020 Jan 11 07:46:49
Moritz: Bong Villa _/\_

2020 Jan 10 19:57:45
Johann: Bhante

2020 Jan 10 19:37:57
Khemakumara:  _/\_ _/\_ _/\_ Bhante

2020 Jan 10 16:11:19
Cheav Villa:  _/\_ _/\_ _/\_

2020 Jan 10 12:07:13
Johann: Sokh chomreoun Nyom

2020 Jan 10 11:34:53
Moritz: Chom reap leah _/\_

2020 Jan 10 11:08:47
Johann: Nyom Moritz

2020 Jan 10 11:00:22
Moritz: Vandami Bhante _/\_ _/\_ _/\_

2020 Jan 10 06:05:50
Khemakumara:  _/\_ _/\_ _/\_

2020 Jan 10 05:02:29
Johann: May those keeping the full moon Uposatha today, spend an auspicious time engaged in merits

2020 Jan 09 20:17:28
Cheav Villa:  _/\_ _/\_ _/\_

2020 Jan 09 20:07:28
Moritz: _/\_ _/\_ _/\_

2020 Jan 09 18:57:51
Khemakumara:  _/\_ _/\_ _/\_ Those who have confidence in the Awakened One have confidence in what is supreme; and for those with confidence in the supreme, supreme is the result.

2020 Jan 09 17:33:14
Cheav Villa:  :) _/\_ _/\_ _/\_

2020 Jan 09 16:13:20
Johann: No problem at all.

2020 Jan 09 16:12:52
Johann: Atma wrote: Oh, master Moritz celebrates his Birthday today. And if remembering right, just one day before Mastress Sophorn.

2020 Jan 09 16:11:21
Johann:  :)

2020 Jan 09 16:10:58
Johann: oh that is bad: Nyom needs to cite Thor Twai bpngum 5 times

2020 Jan 09 16:09:02
Cheav Villa: I kana sorry for deleted <.I.> _/\_ _/\_

2020 Jan 09 16:05:44
Cheav Villa: All the best wishes to you Master Moritz  _/\_ :D

2020 Jan 09 08:29:01
Cheav Villa: Sadhu Sadhu Sadhu _/\_ _/\_ _/\_

2020 Jan 09 07:08:24
Khemakumara:  _/\_ _/\_ _/\_ Sadhu

2020 Jan 09 06:16:07
Johann: A blessed Uposatha those who maintain it today

2020 Jan 09 04:50:31
Khemakumara: Nyom

2020 Jan 08 22:06:08
Cheav Villa: Master Moritz _/\_

2020 Jan 08 21:45:09
Moritz: Bong Villa _/\_

2020 Jan 08 20:55:46
Khemakumara: Nyom

2020 Jan 08 20:47:42
Moritz: Vandami Bhante _/\_ _/\_ _/\_

2020 Jan 08 18:48:15
Johann: Bhante

2020 Jan 08 18:17:17
Khemakumara:  _/\_ _/\_ _/\_

2020 Jan 08 15:14:05
Johann: Nyom

2020 Jan 08 14:02:20
Cheav Villa: Vandami Bhante _/\_ _/\_ _/\_

2020 Jan 08 08:04:30
Cheav Villa:  _/\_ _/\_ _/\_

2020 Jan 07 21:10:49
Johann: Sadhu, Sadhu

2020 Jan 07 21:05:36
saddhamma: I hope, Bhante Johann has regained some strength and that Bhante's health is improving.

2020 Jan 07 17:50:15
Johann: 3 robes (2 and 1 two-layer as it may be cold) and if the Sangha, out of compassion would give full ordination before leaving, this would be outstanding blessing for the Sangha, counting a non-returner in their community..

2020 Jan 07 17:45:55
Johann: Plastic robe is also dangerous it not having a proper, and to have some light proper shoes along the way isn't a faul for hard paths through the burning lands.

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

0 Members and 1 Guest are viewing this topic.

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +371/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] Replacement, regex issues (Content styling)
« Reply #30 on: September 06, 2018, 07:43:58 AM »
Sadhu!

The options "multiline", upper/lower case... replace the use of delimiter.
Usually putting the search between /{string}/x. x would give definitions to lower/upeer case, more the one line...

So more user-friendly. Let's see if it can match with the previous "hack" in regard of 10.000 and more matches.

Seems to work fine, shortly tested.
« Last Edit: September 06, 2018, 07:53:11 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 +371/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] Replacement, regex issues (Content styling)
« Reply #31 on: September 17, 2018, 02:40:43 PM »
  • Just to report: the multiline option (when working without delimiter) seems not to work proper. All well by simple using delimiters.
  • Data-capacity: the limit is some over 100MB, which is problematic to replace to large things on the ati pages:


1. Spaces at line-beginning and linebreaks before tags, using find: \n[\s]+< and replace with \n\n, one one hand because replaced would nevertheless give a match and doing folder by folder would need long and has it's and at the root lang. (just lib:thai: could be managed so far, namespace thanissaro would require 300MB+, all in a lang-space propable some 10GB). A possible way, if nothing else found, is maybe 2 two step way, replacing firts with any special character and this later with two line-break. In this way matches can be reduced, slowly, slowly, step by step (about 20-50h).

2. p-tags with two line-breaks by using something like find <\/p>[\s]*<p> and replace with \n\n.

3. the many spaces and tabs between tags without touching/destroying unformated textpages (not thought in detail about it, but would be a mass-problem as well)

4. later on things like em, i, b, br, u, s-tags, while these matches can of cause be reduced step by step.

5. of cause the will be other mass-replacements harder to manage, but can be all of cause done by beggar-"tricks" and effort and patient like always.

* Johann : switching back to huge amount of pts-dictionary -> accessibility replacements for "dummies" and those not wishing to become schoolars or x.y.z., ax4 language speaker, Brahmans or depending on them, before or rather then gaining awakening.
« Last Edit: September 17, 2018, 02:46:26 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 +371/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] Replacement, regex issues (Content styling)
« Reply #32 on: September 21, 2018, 06:46:31 PM »
The result-page does no more display the amount of matched pages and matches. Only the amout of replacements, after execution, would be displayed.
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Offline Danilo

  • Aramika
  • Regular Member / Normales Mitglied
  • *
  • Sadhu! or +14/-0
  • Gender: Male
Re: [ATI.eu] Replacement, regex issues (Content styling)
« Reply #33 on: July 19, 2019, 09:20:17 AM »
Bhante and readers,  _/\_

I've managed to learn how to use dokuwiki a bit and have improved some details in this page as a sample.
Between other changes for the better, I've used the dokuwiki's footnotes feature because it doesn't need to go to the bottom of the page to read it.
If there is no problem with the changes, I would like to use this page as a model to edit the other pages as well.

Note that the words (those wrapped in "//") in the titles can't be displayed as italic. But this can be fixed by installing this plugin.

It's pretty simple:
1. Rename the plugin's directory to "wikiformatstyling"
2. Place the directory in "dokuwiki/lib/plugins"

I have tested and it did worked.

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +371/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] Replacement, regex issues (Content styling)
« Reply #34 on: July 19, 2019, 10:30:42 AM »
Sadhu, Sadhu

If having any general styling idea, good to give it as sample. My person is currently prossessing to regex all html stuff global on the pages.

It might need another weeks to match all. i, b, em, strong, u tags may be replaced already completely. Some a-tags are still to match, anchors and picture-links, may still make much work, images might need some manual care since needing the whole path for linking to larger picture.

If Upasaka Danilo focus on one page, such is great.

The header styling seems to be great, just not sure in how far it might cause problems with other plugins like include. Generally my person thinks that the more lesser plugins the lesser troubles and maintaining issues.

Not sure if simply removing stylings in headers, which my person thought of doing after having replaced all htmls, might be not better.

Best to coordinate plugin issues with Upasaka Moritz and also let him keep the overview about installations, at least known if he might not have time.

Some comments on the edits Nyom Danilo made:

Footnote: generally good to use wikis tools, but in regard of many many pages, and the immobility of global replacement without errors, since very different, my person would not make use or it for old pages. The use of wiki only becomes also a problem for extended footnotes, incl. blockquotes, lists... a great challenge even with the ya-list mode, but possible.

Removing div-tags and adding styling tags: Till now Atma looked to simply bring all to one standard. So there might be parts in the header which will then global removed or replaced. The css has one some stylings yet and is not done for now.

Anchors also still in header and under removing: Althought indexes could be removed there are many cross-links on other pages. If removing the original anchors one would need to seek for all links to them and change them as well. Huge work and possible so far, but in regard of old links all around the internet (zze-links will get later redirects to ati), one would cause a lot of "death" links. So anchors should be best never removed.

Divisions around headers:

Code: [Select]
<WRAP centeralign>​ 
===== A Brief Summary of the Buddha'​s Teachings ​=====
</WRAP>

Still there are divisions (use of div instead of WRAP general preferred) wraping headers. This causes the section-edit not to work. Atmas objectives are to fix that global but only after all htmls are replaced.

Further: there is no need for particular styling of headers since that can, actually is already, made in the css-sheed. They have already centeralign styling.

Styling in links: like

Code: [Select]
[[ptf/​dhamma/​sacca/​sacca1/​index_en.html|//​Dukkha://]]

No need to do that manually, there are thousands of such. That will bee replaced by regex global. Half styled link texts will be not possible to maintain easy so removed.

Block-quotes and other div in content:

Code: [Select]
	<blockquote>"​Birth is ended, the holy life fulfilled, the task done! There is nothing further for the sake of this world."​ 	+	<WRAP indent> 
- <cite> [[en:​ptf:​buddha#​done|MN 36]]</cite></​blockquote>

They are all fine already as they are it allready replaces with wiki and wrap tags, like this. It does display wrong as code because there is still a tab at the beginning of the line. Removing just the tab here will display it perfect so far. blockquote is a additional plugin ati uses, incl. cite-tag

html-values:

There are still such as &​iuml;​ around. If coming across, best to select them in a list with its proper replacement so my person could make this global for all pages.

Footer:

No need to but much effort in manual editing the divs and styling. That is an issue for thousands of pages and will be made at "once".

Content edits - Styling edits:

If seeing certain typos, small style issues in text,... aside of div-, span-tags, great if correcting. If seeing something strange of an old html tag, best to report it and collect on one place.

Sadhu for efforts! And mudita.

Atma thinks, how ever, easier to undo the edits and repeat some of the small, incl. As Upasaka thinks that it is well, now possible more informed.


Mudita
« Last Edit: July 19, 2019, 10:36:57 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 +371/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] Replacement, regex issues (Content styling)
« Reply #35 on: July 19, 2019, 11:21:51 AM »
It's pretty simple:
1. Rename the plugin's directory to "wikiformatstyling"
2. Place the directory in "dokuwiki/lib/plugins"

Installing plugins: it's best, secure and easy made via the Admin-panel. Not sure if Nyom Danilo has admin rights, which should be no problem. Good how ever, since some tools are very powerful and could even destroy much, to coordinate with Nyom Moritz or ask my person if not sure in some regards.

In regard of distinguishing tags and divs, whether already changed or old ones. Old htmls tags incl. always ="..." or and other marks. For the stylings for wike tags always look like this <div class_texts #anchor_text> or  <span class_texts #anchor_text> or <span #anchor_text> or <div class_texts>. If seeing others then this, old, best to list them with a link to the place where seen, in a list (maybe a topic only for that, or here just a post).

Not sure if Nyom Danilo is familiar and skilled with regex, powerful, but also dangerous to destroy a lot. Let it be know if wishing to use it for global changes.
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Offline Moritz

  • Cief houskeeper / Chefhausmeister
  • Very Engaged Member
  • *
  • Sadhu! or +268/-0
  • Gender: Male
Re: [ATI.eu] Replacement, regex issues (Content styling)
« Reply #36 on: July 19, 2019, 10:00:43 PM »
Sadhu! (and good to see Danilo back here)

I have not read everything in detail now, but have, after taking a quick look at it, installed the WikiStyle Script plugin.
It seems the plugin does not change any stored data, but only affects how things are rendered.

Possible that there might be conflicts with other plugins like the include-plugin, as Bhante says. But it would not destroy any data.
If there are any problems with it, one can simply uninstall/deactivate it and maybe think of other solutions.

Not yet looked much at any results and if all works correctly, but the example page seems to look fine so far.

I gave Danilo Admin rights now.

_/\_ _/\_ _/\_


* Moritz will not have time to look at anything deeper until Sunday

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +371/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] Replacement, regex issues (Content styling)
« Reply #37 on: July 19, 2019, 10:09:06 PM »
Sadhu

The mod seems also to solve the problem of styling in link texts and seems to release from a lot of work so far.
« Last Edit: July 20, 2019, 11:40:19 AM by Johann »
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Offline Danilo

  • Aramika
  • Regular Member / Normales Mitglied
  • *
  • Sadhu! or +14/-0
  • Gender: Male
Re: [ATI.eu] Replacement, regex issues (Content styling)
« Reply #38 on: July 21, 2019, 08:14:27 AM »
Not sure if Nyom Danilo is familiar and skilled with regex, powerful, but also dangerous to destroy a lot. Let it be know if wishing to use it for global changes.

I have some experience with regex.

If Bhante thinks it's a good idea, he could specify the patters to be matched in the html pages and the output data of the dokuwiki's pages, thus a standard model would be clearly defined to be used as reference and I (or anyone else) could come up with the corresponding regex rules and do the appropriate changes.

When editing the html page, I had saw many tags which didn't appeared to had any effect. So I end up removing it.


Sadhu! (and good to see Danilo back here)

I have not read everything in detail now, but have, after taking a quick look at it, installed the WikiStyle Script plugin.
It seems the plugin does not change any stored data, but only affects how things are rendered.

Possible that there might be conflicts with other plugins like the include-plugin, as Bhante says. But it would not destroy any data.
If there are any problems with it, one can simply uninstall/deactivate it and maybe think of other solutions.

Not yet looked much at any results and if all works correctly, but the example page seems to look fine so far.

I gave Danilo Admin rights now.

_/\_ _/\_ _/\_


* Moritz will not have time to look at anything deeper until Sunday

Thanks, Moritz. _/\_

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +371/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] Replacement, regex issues (Content styling)
« Reply #39 on: July 21, 2019, 11:45:25 AM »
Althought no problem, Nyom Danilo , general in Dhamma, never, if correcting, risk that something get lost. If not seeing the use for now, simply "hide" it. In that way the Dhamma could be maintained till in our days.

Atma, as told, will need some days more to replace the most (lists and tables will need manual edits).

Next step would be to bring it in a nice easy standard and creat templets for new pages.

Ati had a huge standard and my person thinks that most is good to carry on. It needs a while to understand all (working now 7+ years with it, still finding hidden treasures).

Is Nyom familar with css?

Some of the ATI.synax features he can find at Ati.eu Syntax. Detail Doku is not written for now, even having started. The topic old posts here give some impressions for understanding.

To investigate and see of what Atma is currently doing, best to check Activity Lists or http://accesstoinsight.eu/index?do=recent

If wishing to use regex for many pages (be careful, can damage much and not easy till impossible to recover, incl all Sanghayana Tipitakas) he finds the batcheditor tool in the Admin area.

(The last year+ Atma had started all anew surely 2,3 times... 10.000 of pages, because some mistakes...)
« Last Edit: August 02, 2019, 03:03:24 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 +371/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] Replacement, regex issues (Content styling)
« Reply #40 on: July 26, 2019, 02:40:22 PM »
Updates Info:

Link-tags should be now all replaced by wiki-mark-ups.

Certain things that will need further fixes in regard of links.

  • relative links, missing ./ or ../ at the beginning would not work for now. General my person tends to replace relative links with the whole path, starting with :en:....:file

  • since the structure has been slightly changed in regard of the tipitaka folder, starting with adding :sut: and renaming folders already toward the cs-rm standard (not all done for now, especially in the kn folder) not all links are correct for now and need work.
  • media-links may be not correct for now. Since image links with destiny require an obsolute url, having either host/_detail/en/.../file (display of pictures within the media manager) or host/_media/en/.../file (direct download) it's not possible to replace relative links correct more global. Alternative would be to either change the logos used by media-manager or to let go of the zze-logos for certain files.

  • links which have been generated by script in the doc-info at the footer need to be made as static one.
  • It might be that my person has deleted certain anchors which gave reference to headers from the index and also other pages. Those would be needed to be renewed.
  • There is no idea of how to maintain hover-texts in good ways. Most have been given up. The rest has been placed within images (Info sign)


My person will focus now on replacing the rest of div and span tags.

The Portuguese pages, btw, since even only 3 pages, would had increased the work and time by 50% are left behind meanwhile, thinking much faster to edit the three pages manual next to the global replacements.

The last and greatest challenge of replacements will then be that of the special lists and tables... and of course many small and special things will be left. 
« Last Edit: August 02, 2019, 03:03:02 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 +371/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] Replacement, regex issues (Content styling)
« Reply #41 on: July 31, 2019, 05:28:32 PM »
Divisions should be "fine" already. Some less alian Spans are left, and will be made tomorrow, when sun is shining.

There is one issue in regard of classes, but more over on id's: low letters. While notepad+ gives the possibility to replace with the lower-case value, batch-edit seems not to support \l$1. Since there might be lot of anchors and links to them (which are not so problematic since cut down to low case by the system if right, also for anchor extention) containing upper-case, maybe someone has an idea how to transform them more global.
« Last Edit: August 02, 2019, 03:02:45 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 +371/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] Replacement, regex issues (Content styling)
« Reply #42 on: August 02, 2019, 02:48:04 PM »
Looks like certain character combinations are not matched proper by the header-styling plugin. Sample:

=== //Object:// ===

returns

Object://

Atma didn't test it in detail yet.

http://accesstoinsight.eu/en/lib/authors/thanissaro/bmc/section0020

ohh... doc of wikistyle-pugin tells: ":// won't be converted."
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 +371/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] Replacement, regex issues (Content styling)
« Reply #43 on: August 02, 2019, 05:49:56 PM »
Plain text replacement &amp; -> & seems to have "destroyed" certain characters, mostly Pali.

More seemingly a simple header replacement of h5-tag. The action caused invisible characters in &.. html values.

http://accesstoinsight.eu/en/lib/authors/thanissaro/bmc/section0059?do=diff&rev2%5B0%5D=1564461374&rev2%5B1%5D=1564741857&difftype=sidebyside

Could such happen just by connectivity problems?

Not sure if it's better to try to recover the versions with the Spam-tool or replace the strangers (here the invisible could be maybe difficultly handled well).
« Last Edit: August 02, 2019, 06:40:15 PM by Johann »
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Offline Moritz

  • Cief houskeeper / Chefhausmeister
  • Very Engaged Member
  • *
  • Sadhu! or +268/-0
  • Gender: Male
Re: [ATI.eu] Replacement, regex issues (Content styling)
« Reply #44 on: August 03, 2019, 03:51:39 AM »
That looks strange. No clear idea at the moment.
Knowing exactly what the regex to replace was might help to understand it better.

Connection problems should not be a possible reason.
Possibly a programming error from some of the modifications I made.

I think it is best to to keep the old revision, better than trying to replace from this result.

I can look in the morning, or if Bhante could send me the FTP password (already have the password now), maybe I find something useful from here (at work now, in taxi, but a "boring" night so far only sitting and waiting).

_/\_
« Last Edit: August 03, 2019, 06:00:25 AM by Moritz »

Tags: