<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert Zchn";
        margin:0cm;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLVorformatiertZchn
        {mso-style-name:"HTML Vorformatiert Zchn";
        mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert";
        font-family:Consolas;}
span.E-MailFormatvorlage21
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">thanks Seven for your feedback.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">I have made good experiences with static site generators that just generate html that you can serve with standard web servers.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">I did not personally have used it, but I heard that hugo works well and is used a lot. I personally have used gravcms, which is based on PHP.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">You can easily combine this static generators with some cron job and it should work for our existing setup by just adding another path to the apache.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">In my experience this is easier as having another app to deploy, monitor and frequently update.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">Cheers,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">Henning<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-left:35.4pt"><b>From:</b> sr-users <sr-users-bounces@lists.kamailio.org>
<b>On Behalf Of </b>Daniel-Constantin Mierla<br>
<b>Sent:</b> Tuesday, May 10, 2022 8:29 AM<br>
<b>To:</b> Seven Du <dujinfang@gmail.com>; Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org><br>
<b>Subject:</b> Re: [SR-Users] Info: converting dokuwiki content to markdown files<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:35.4pt"><o:p> </o:p></p>
<p style="margin-left:35.4pt">Thanks, I will check them.<o:p></o:p></p>
<p style="margin-left:35.4pt">Ideally it is an app that can run on or behind a http server/proxy and serve html pages generated from the .md files directly from the folder with the clone of the github repo. But maybe I ask too much and adapting the wiki structure
 for a static site generator from .md files is enough or even better.<o:p></o:p></p>
<p style="margin-left:35.4pt">Cheers,<br>
Daniel<o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">On 10.05.22 00:28, Seven Du wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">We'd like to help.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">Select one from Jekyll, Hugo and TailwindBlog<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><o:p> </o:p></p>
</div>
<p class="MsoNormal" style="margin-left:35.4pt">Jekyll: Ruby based <a href="https://jekyllrb.com/">https://jekyllrb.com/</a>, can directly convert to html by github
<o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">Hugo: Go based,  can also auto covert to html
<a href="https://gohugo.io/hosting-and-deployment/hosting-on-github/">https://gohugo.io/hosting-and-deployment/hosting-on-github/</a> <o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">TailwindBlog: Next.js based <a href="https://github.com/timlrx/tailwind-nextjs-starter-blog">https://github.com/timlrx/tailwind-nextjs-starter-blog</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">We built a few websites with the TailwindBlog recently and it looks very good. But as all JS projects, you have to download a giant deps of node_modules and build locally manually to generate static html pages,
 we haven't found how to do it automatically, since our updates are not frequent, we are ok to do it by hand.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">There may be other options. Anyway, look and discuss, as long as it's determined we can help to build.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">As a reference, these are sites we just built recently:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">- <a href="https://xswitch.cn/">https://xswitch.cn/</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">- <a href="http://rts.cn/">http://rts.cn/</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><o:p> </o:p></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-left:35.4pt"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">On Mon, May 9, 2022 at 8:11 PM Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal" style="margin-left:35.4pt">Hello,<br>
<br>
it was discussed a couple of times during the past Kamailio development<br>
meetings and several days ago the works started to convert the Kamailio<br>
Wiki content to markdown format and host the files on Kamailio<br>
<a href="http://github.com" target="_blank">github.com</a> organisation.<br>
<br>
The Dokuwiki engine has served us very well during more than a decade<br>
and a half, but open editing had to be disabled many years ago due to<br>
bad actors pushing inappropriate content. The contributors had to make a<br>
dedicated account on our portal only for Wiki editing. More recently we<br>
had add another layer of protection requiring to grant manually edit<br>
permissions to newly created wiki accounts because bots started to work<br>
around CAPTCHA and other security extensions, posting again<br>
inappropriate content.<br>
<br>
All these added to operational overhead, but also made it difficult for<br>
new people to contribute, specially for small editing to fix typos or<br>
add usage examples.<br>
<br>
Thanks to Kenneth Stowe, who undertook the first big effort of<br>
converting the Dowkuwiki files to markdown format, we are now in the<br>
position of moving further with the plans of using github for hosting<br>
the content of the wiki and enable easier contributions via pull<br>
requests. The history of changes done via Dokuwiki show up now as git<br>
commits.<br>
<br>
The github repository for the wiki content is available at:<br>
<br>
  * <a href="https://github.com/kamailio/kamailio-wiki" target="_blank">https://github.com/kamailio/kamailio-wiki</a><br>
<br>
It is still work in progress, therefore we ask for the help of community<br>
to speed up the conversion, among the tasks that need to be done:<br>
<br>
  * convert relative links between wiki pages – the conversion tools<br>
used relative paths without file extensions, like:<br>
<br>
[Install Kamailio v4.4.x From GIT](/install/4.4.x/git)<br>
<br>
They have to be converted to relative path with .md extension in order<br>
to be able to browse directly :n the <a href="http://github.com" target="_blank">
github.com</a> portal — practically the<br>
leading / has to be removed and .md added at the end, like:<br>
<br>
[Install Kamailio v4.4.x From GIT](install/4.4.x/git.md)<br>
<br>
  * some section heading markers were not detected/converted, onee may<br>
notice many equal signs (=) around a section name, it has to be replaced<br>
with the appropriate markdown format based on hash signs (#). For example:<br>
<br>
======= Install And Maintain Kamailio v4.4.x From GIT =======<br>
<br>
Should be converted to:<br>
<br>
# Install And Maintain Kamailio v4.4.x From GIT<br>
<br>
  * some Dokuwiki paragraphs used special formatting based on plugins,<br>
for example the notes, warnings, … had special colors. The common<br>
markdown format does not specify a syntax to color the text, the propose<br>
solution is to use emoji at the start of the paragraph to signal its<br>
special purpose. For example, the Dokuwiki content:<br>
<br>
<color blue>//IMPORTANT: Content for older releases than 3.2.0 is<br>
available at the **Old Wiki Site**://</color><br>
<br>
Has to be transformed to:<br>
<br>
:fire:*IMPORTANT: Content for older releases than 3.2.0 is available at<br>
the **Old Wiki Site**:*<br>
<br>
You are welcome to propose a better syntax for this kind of transformation.<br>
<br>
  * review config examples and evaluate what improvements can be done<br>
(e.g., in terms of formatting and syntax highlighting)<br>
<br>
Any of these changes do not require any C programming knowledge, nor<br>
much Kamailio config knowledge. Can be your first contribution to the<br>
project and it will be very appreciated. It can also help you learn more<br>
about Kamailio, because you may discover documentation that you were not<br>
aware of.<br>
<br>
A very important decision is how to present the wiki markdown content on<br>
<a href="http://kamailio.org" target="_blank">kamailio.org</a> website. Besides being able to see it on github repository,<br>
we want to process the markdown pages somehow and make them available in<br>
html format on <a href="http://kamailio.org" target="_blank">kamailio.org</a> website for easier navigation and better<br>
indexing (e.g., with tables of content for large pages). If you are<br>
aware of a suitable cli or web app that can convert markdown to html and<br>
generate table of content, let us know.<br>
<br>
Any questions and suggestions should be addressed to<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a> mailing list. Looking forward to your<br>
contributions on this community effort!<br>
<br>
Cheers,<br>
Daniel<br>
<br>
-- <br>
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" target="_blank">www.asipto.com</a><br>
<a href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> --
<a href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a><br>
Kamailio Advanced Training - Online<br>
  * <a href="https://www.asipto.com/sw/kamailio-advanced-training-online/" target="_blank">
https://www.asipto.com/sw/kamailio-advanced-training-online/</a><br>
<br>
<br>
__________________________________________________________<br>
Kamailio - Users Mailing List - Non Commercial Discussions<br>
  * <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
Important: keep the mailing list in the recipients, do not reply only to the sender!<br>
Edit mailing list options or unsubscribe:<br>
  * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal" style="margin-left:35.4pt"><br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:35.4pt">
<o:p> </o:p></p>
</div>
</div>
</blockquote>
<pre style="margin-left:35.4pt">-- <o:p></o:p></pre>
<pre style="margin-left:35.4pt">Daniel-Constantin Mierla -- <a href="http://www.asipto.com">www.asipto.com</a><o:p></o:p></pre>
<pre style="margin-left:35.4pt"><a href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a><o:p></o:p></pre>
<pre style="margin-left:35.4pt">Kamailio Advanced Training - Online: June 20-23, 2022<o:p></o:p></pre>
<pre style="margin-left:35.4pt">  * <a href="https://www.asipto.com/sw/kamailio-advanced-training-online/">https://www.asipto.com/sw/kamailio-advanced-training-online/</a><o:p></o:p></pre>
</div>
</body>
</html>