<div dir="ltr"><div><div><div>Hi Robert<br><br></div>I don't know which version of FrameMaker you are using, but Fm 11 has Smart Paste:<br><br><a href="http://tv.adobe.com/watch/new-in-framemaker11-xml-authoring-features/framemaker-11-smart-paste-unstruct-content-into-xml/">http://tv.adobe.com/watch/new-in-framemaker11-xml-authoring-features/framemaker-11-smart-paste-unstruct-content-into-xml/</a><br>
<br></div>If you are using DITA-FMx, you need to install this "structapps stub" first:<br><br><a href="http://tech.groups.yahoo.com/group/dita-fmx-users/files/">http://tech.groups.yahoo.com/group/dita-fmx-users/files/</a><br>
<br></div>I've just tested this with some content which I copied from our Confluence wiki and the results are not perfect but pretty good:<br><div><div><ul><li>The DITA topic is valid right away (no cleanup of the structure required).<br>
</li><li>Subheadings in a wiki topic become section titles in a (generic) DITA topic.</li><li>A ul/li in the wiki topic is still a ul/li in the DITA topic.</li><li>Numbered steps in the wiki topic become ul/li in the DITA topic</li>
<li>Typographic elements (b, i, ...) are OK too</li></ul>Graphics didn't work, but that's obvious. Tables were converted to tables, but the heading row was gone.<br></div><div>Also, I used a generic DITA topic. Copying a task description from a wiki and pasting the numbered steps into a task topic doesn't work, because the structure a task topic has a very specific structure. I guess this could be fixed with a "topic-to-task-topic" transformation, using a Framescript or using FrameSLT).<br>
</div><div><br></div><div class="gmail_extra">Even if you don't write DITA-structured content, I think you could still use DITA as an intermediate step:<br><ol><li>Create a new generic DITA topic</li><li>Copy the body section if your wiki.</li>
<li>Put your cursor in the body element of the DITA topic and choose <b>Edit > Smart Paste</b>.</li><li>Choose <b>Special > Remove Structure from Flow</b> to create an unstructured Fm file.</li><li>With Framescript or the Paragraph Tools plugin, you can then remap the paragraph formats, for example change all [title.1] formats to Heading2.</li>
</ol><p>Cheers</p><p><br></p><p><br></p>Yves Barbion<br><a href="http://www.scripto.nu">www.scripto.nu</a>
</div></div></div>