[Freeswitch-docs] automating/assisting migration from mediawiki to confluence

Ken Rice krice at freeswitch.org
Tue Feb 3 05:25:56 MSK 2015


There are actually mediawiki to confluence specific conversion tools,
however they all suck... Tried this a few times a few different ways before
we started down the manual conversion want...

Not only is the manual way working better, its also catching old outdated
information and striking it where needed in many places... Sure there is
probably some of this old data making it thru, buts its a lot more
controlled this way

K

On 2/2/15, 8:18 PM, "Jason Lewis" <jason at dickson.st> wrote:

>    Hi Ítalo,
>  
>  I was looking at the mod_voicemail page as a typical page.
>  
>  https://freeswitch.org/confluence/display/FREESWITCH/mod_voicemail
>  
>  If you look at the html on the confluence wiki, its pretty messy. eg each
> line is surrounded with a <p></p> tag pair.
>  
>  Do you think its more work to fix up a page scraped from mediawiki than to
> take the mw source and convert it to html using the script you linked to?
>  
>  I don't really have any fantastic ideas unfortunately. I realise its a hard
> problem and I just wanted to discuss with others to see what's been thought
> of.
>  
>  
> Ítalo Rossi wrote on 3/02/2015 1:06 PM:
>  
>  
>>  
>> Hi Jason, 
>> 
>>  
>>  
>> Seems possible at first look, but, there's a lot of details involved :/
>>  
>> 
>>  
>>  
>> We have a script that can translate the from old media wiki format to the new
>> confluence, but:
>>  
>> 
>>  
>>  
>> https://github.com/EvoluxBR/fs_docs_translator
>>  
>>  
>> 
>>  
>>  
>> We need to create a new page on confluence, save, edit, click in view source
>> and paste the converted code.
>>  
>> 
>>  
>>  
>> It's easier to copy & paste directly the HTML from media wiki to the
>> confluence editor, after small adjustments the content is ready.
>>  
>> 
>>  
>>  
>> If you have an idea, please share with us :)
>>  
>>  
>> 
>>  
>> On Mon, Feb 2, 2015 at 10:34 PM, Jason Lewis <jason at dickson.st> wrote:
>>  
>>> Hi Guys,
>>>  
>>>  Sorry if I have missed this discussion already. I did look in the
>>>  archives and couldn't see anything.
>>>  
>>>  I've been thinking of ways to migrate a page from the old format that is
>>>  stored in confluence to the new format.
>>>  
>>>  Has anyone looked at tools to assist this? Initially I thought regexs
>>>  could help but of course that doesn't work well for html.
>>>  
>>>  What about writing some scripts in perl perhaps? or a tool that is
>>>  designed for manipulating html.
>>>  
>>>  Jason
>>>  
>>>  Jason Lewis
>>>  http://emacstragic.net
>>>  
>>>  
>>>  
>>>  _______________________________________________
>>>  Freeswitch-docs mailing list
>>>  Freeswitch-docs at lists.freeswitch.org
>>>  http://lists.freeswitch.org/mailman/listinfo/freeswitch-docs
>>>  
>>>  
>>  
>>  
>>  
>>  
>> 
>>  
>>  -- 
>>  
>>  
>> Ítalo Rossi
>>  
>>  
>>  
>>  
>>   
>>  
>> _______________________________________________
>> Freeswitch-docs mailing list
>> Freeswitch-docs at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-docs
>>  
>  
>  

-- 
Ken
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
irc.freenode.net #freeswitch
Twitter: @FreeSWITCH


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-docs/attachments/20150202/0132891b/attachment-0001.html 


Join us at ClueCon 2014 Aug 4-7, 2014
More information about the Freeswitch-docs mailing list