I'm trying to convert a batch of TWiki pages into Confluence, while still retaining most older pages on TWiki (to become a read-only archive).
The pages in my selection contain many internal-TWiki links.
UWC appears to convert all the TWiki links it can, meaning that my tests so far yield a lot of undefined links.
The TWiki is still in use, so I can't modify pages directly on the TWiki before conversion.
A) Is there any way to control which links UWC converts?
If not...
B) How can I do a 2-step conversion - first from TWiki to my HD (without sending pages to Confluence), and then from my HD to Confluence (thus allowing me to make manual modifications to the pages before uploading) - while still preserving the page hierarchy and attachments?
Thanks
A) Nope
B) The simplest path forward would be to write a custom LinkConverter to handle this problem. As I recall the TWiki link handling uses a lot of tokenization to process the links using properties. Probably what I would do is work out some kind of methodology for identifying which pages are to be linked where (maybe a seperate properties file? or maybe just add your own misc properties to the converter.twiki.properties file?), then write a custom link converter to use your properties to update the should-point-to-TWiki links first (possibly tokenizing the results to hide them from the normal link handling), and calling that class before the normal link handling which will then take care of your needs-to-point-to-Confluence links.
Noting: A 2 step conversion isnt impossible, but it's not going to be less complicated than the above suggestion.
Good luck!
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.