<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:980766588;
        mso-list-template-ids:642553282;}
@list l1
        {mso-list-id:1384938268;
        mso-list-template-ids:1766648898;}
@list l1:level1
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I was going to ask Robert if he was pasting into a structured doc or not as I have found this technique useful (but not perfect) for use in DITA docs.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Craig<o:p></o:p></span></p><p class=MsoNormal><a name="_MailEndCompose"><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></a></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> framers-bounces@lists.frameusers.com [mailto:framers-bounces@lists.frameusers.com] <b>On Behalf Of </b>Yves Barbion<br><b>Sent:</b> Saturday, May 04, 2013 3:54 AM<br><b>To:</b> Robert Lauriston<br><b>Cc:</b> framers@lists.frameusers.com<br><b>Subject:</b> Re: importing HTML into FrameMaker?<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><div><div><div><div><p class=MsoNormal style='margin-bottom:12.0pt'>Hi Robert<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>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><o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>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><o:p></o:p></p></div><p class=MsoNormal>I've just tested this with some content which I copied from our Confluence wiki and the results are not perfect but pretty good:<o:p></o:p></p><div><div><ul type=disc><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo1'>The DITA topic is valid right away (no cleanup of the structure required).<o:p></o:p></li><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo1'>Subheadings in a wiki topic become section titles in a (generic) DITA topic.<o:p></o:p></li><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo1'>A ul/li in the wiki topic is still a ul/li in the DITA topic.<o:p></o:p></li><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo1'>Numbered steps in the wiki topic become ul/li in the DITA topic<o:p></o:p></li><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo1'>Typographic elements (b, i, ...) are OK too<o:p></o:p></li></ul><p class=MsoNormal>Graphics didn't work, but that's obvious. Tables were converted to tables, but the heading row was gone.<o:p></o:p></p></div><div><p class=MsoNormal>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).<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Even if you don't write DITA-structured content, I think you could still use DITA as an intermediate step:<o:p></o:p></p><ol start=1 type=1><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo2'>Create a new generic DITA topic<o:p></o:p></li><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo2'>Copy the body section if your wiki.<o:p></o:p></li><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo2'>Put your cursor in the body element of the DITA topic and choose <b>Edit > Smart Paste</b>.<o:p></o:p></li><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo2'>Choose <b>Special > Remove Structure from Flow</b> to create an unstructured Fm file.<o:p></o:p></li><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo2'>With Framescript or the Paragraph Tools plugin, you can then remap the paragraph formats, for example change all [title.1] formats to Heading2.<o:p></o:p></li></ol><p>Cheers<o:p></o:p></p><p><o:p> </o:p></p><p><o:p> </o:p></p><p class=MsoNormal>Yves Barbion<br><a href="http://www.scripto.nu">www.scripto.nu</a> <o:p></o:p></p></div></div></div></div></body></html>