Not logged in. · Lost password · Register
Forum: General Discussion General Stuff RSS
Howto convert fodlers of *.doc files to DokuWiki...
Avatar
jm_zz #1
Member since Aug 2007 · 104 posts · Location: labaquere momas france
Group memberships: Members
Show profile · Link to this post
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 !!
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
This post was edited on 2008-04-21, 13:50 by jm_zz.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please note the verification code from the picture into the text field next to it.
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 1.6.4, © 2003-7 by Yves Goergen
Current time: 2008-05-17, 06:25:04 (UTC +02:00)
WikiForumIRCBugsTranslate