ubforums2ubwiki team mailing list archive
-
ubforums2ubwiki team
-
Mailing list archive
-
Message #00040
Feedback code markdown from non moin to moin
After having played with the code I come to the following conclusions:
1. Part 1: Installing dependencies > sudo apt-get --yes install dialog
markdown libhtml-wikiconverter-moinmoin-perl
This is the only line that matters. When running the script it should be
checked if these dependencies have already been installed. If so, skip
this command.
I have typed this command in the terminal manually.
Part 2: Making a sandbox. This works fine with one exception: when you
have Ubuntu installed in another language, the folder name /Desktop is
translated. On my pc it is called /Bureaublad.
Part 3: Changing the code
This works fine, although I am not sure what it does exactly (what
information is gathered?).
Part 4:
Making Backup
I think it works, but most part of the code is comment (#). I suppose
the source code is translated to MoinMoin here, html2wiki --dialect
MoinMoin $yourfile > $yourfile.new.
I haven't tested the last action explained in the video (creating a wiki
page and pasting the translated source code there) because the example,
kdetut.txt, has already been transferred to the wiki. I intend to test
it with another thread/tutorial from the forums.
It also is very important to make the script executable with the command
chmod +x.
Regards,
Hannie
Follow ups