Subject: Howto convert fodlers of *.doc files to DokuWiki...
Hi,
In your organisation you can meet lots of people who cannot do anything than Microsoft world Documents.
So here the deal, howto to convert this files to DokuWiki...
You know that exist some macro to do this job from OpenOffice or directly Ms World.
But i have discover news tools to do this.
cf :
http://wiki.splitbrain.org/wiki:tips:doc_to_wiki_syntax
Here the main idea :
*.doc ---> *.html ---> *.txt
To do this here the main schema in use :
Step 1 :
*.doc ---> bash or perl script for renaming folder / under folder / file name from Windows file system to more simply Unix like syntax
Step 2 :
lower_case/whithout_blank_space.doc ---> Soffice as a service + jodconverter ---> *.html
Step3 :
*.html ---> HtmlWikiConverter ---> *.txt
Step4 :
Perl scripting to change url of media to point to good Url media and dispatch media and txt files in good place on the server...
Step5 :
Fix permissions.
i achieve Step 1 - 2 - 3 and 5.
Step 4 need good skills in Perl... and like the code i will expose it is not my case.
You can take a look to this code there :
http://jeanmarcmassou.free.fr/dokuwiki/doku.…?id=blogw:h…
Hope it could be interesting for some of you !!
In your organisation you can meet lots of people who cannot do anything than Microsoft world Documents.
So here the deal, howto to convert this files to DokuWiki...
You know that exist some macro to do this job from OpenOffice or directly Ms World.
But i have discover news tools to do this.
cf :
http://wiki.splitbrain.org/wiki:tips:doc_to_wiki_syntax
Here the main idea :
*.doc ---> *.html ---> *.txt
To do this here the main schema in use :
Step 1 :
*.doc ---> bash or perl script for renaming folder / under folder / file name from Windows file system to more simply Unix like syntax
Step 2 :
lower_case/whithout_blank_space.doc ---> Soffice as a service + jodconverter ---> *.html
Step3 :
*.html ---> HtmlWikiConverter ---> *.txt
Step4 :
Perl scripting to change url of media to point to good Url media and dispatch media and txt files in good place on the server...
Step5 :
Fix permissions.
i achieve Step 1 - 2 - 3 and 5.
Step 4 need good skills in Perl... and like the code i will expose it is not my case.
You can take a look to this code there :
http://jeanmarcmassou.free.fr/dokuwiki/doku.…?id=blogw:h…
Hope it could be interesting for some of you !!
T'as avì dit, que n'i a pas nada estela. I a pas sonque lo movement deus astres e totas la causas. Lo mon còr ? Non. Son tremolar. Benard Manciet
jm_zz
Show profile
Link to this post