importing HTML into FrameMaker?

Scott Turner quills at airmail.net
Sat May 4 14:51:22 PDT 2013


The real question may be is there a method in FM, or a tool that will convert tags from one to another. I envision a mapping tool like when you convert an unstructured into  a structured document.

On May 4, 2013, at 3:54, Yves Barbion <yves.barbion at gmail.com> wrote:

> Hi Robert
> 
> I don't know which version of FrameMaker you are using, but Fm 11 has Smart Paste:
> 
> http://tv.adobe.com/watch/new-in-framemaker11-xml-authoring-features/framemaker-11-smart-paste-unstruct-content-into-xml/
> 
> If you are using DITA-FMx, you need to install this "structapps stub" first:
> 
> http://tech.groups.yahoo.com/group/dita-fmx-users/files/
> 
> I've just tested this with some content which I copied from our Confluence wiki and the results are not perfect but pretty good:
> The DITA topic is valid right away (no cleanup of the structure required).
> Subheadings in a wiki topic become section titles in a (generic) DITA topic.
> A ul/li in the wiki topic is still a ul/li in the DITA topic.
> Numbered steps in the wiki topic become ul/li in the DITA topic
> Typographic elements (b, i, ...) are OK too
> Graphics didn't work, but that's obvious. Tables were converted to tables, but the heading row was gone.
> 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).
> 
> Even if you don't write DITA-structured content, I think you could still use DITA as an intermediate step:
> Create a new generic DITA topic
> Copy the body section if your wiki.
> Put your cursor in the body element of the DITA topic and choose Edit > Smart Paste.
> Choose Special > Remove Structure from Flow to create an unstructured Fm file.
> With Framescript or the Paragraph Tools plugin, you can then remap the paragraph formats, for example change all [title.1] formats to Heading2.
> Cheers
> 
> 
> 
> 
> 
> Yves Barbion
> www.scripto.nu
> _______________________________________________
> 
> 
> You are currently subscribed to framers as quills at airmail.net.
> 
> Send list messages to framers at lists.frameusers.com.
> 
> To unsubscribe send a blank email to
> framers-unsubscribe at lists.frameusers.com
> or visit http://lists.frameusers.com/mailman/options/framers/quills%40airmail.net
> 
> Send administrative questions to listadmin at frameusers.com. Visit
> http://www.frameusers.com/ for more resources and info.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.frameusers.com/pipermail/framers-frameusers.com/attachments/20130504/f48db4f2/attachment.htm>


More information about the framers mailing list