Generate HTML from FrameMaker Document


How to generate an HTML file from a FrameMaker document? I want to view the document in a Web browser.



You can follow this tutorial to generate an HTML file from a FrameMaker book.

1. Open the FrameMaker document like

2. Select the FrameMaker document in the document panel, if you have multiple documents open. Then click "File > Save As" menu You see the "Save Document" screen.

3. Enter the text file name like "FM-Document-Example". And make sure that "Save as type" is set to "HTML (*.htm)".

4. Click "Save".

5. Wait for FrameMaker to finish generating the HTML file.

6. Go to the folder where the HTML file was saved. You actually see two files generated:

FM-Document-Example.htm - Contains HTML code for the document
FM-Document-Example.css - Contains display CSS styles 

7. Open FM-Document-Example.htm in a Web Browser. You see that the page layout and other formatting attributes are removed from the HTML version.

8. Open the HTML file in a text editor. You see how the document content is organized.

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
   CONTENT="Adobe FrameMaker 2016/HTML Export Filter">
<LINK REL="STYLESHEET" HREF="FM-Document-Example.css" 
   CHARSET="UTF-8" TYPE="text/css">
<P CLASS="Body">
<A NAME="pgfId-998390"></A>First FrameMaker Document</P>
<P CLASS="Body">
<A NAME="pgfId-998556"></A>By</P>
<P CLASS="Body">
<A NAME="pgfId-998553"></A>&nbsp;</P>
<P CLASS="Body">
<A NAME="pgfId-998496"></A>This is our first FrameMaker document. 
A FrameMaker document a single-file document created in FrameMaker and 
saved in FrameMaker file format (.fm). </P>
<P CLASS="Body">
<A NAME="pgfId-998516"></A>&nbsp;</P>

The picture below shows you how to generate HTML from a FrameMaker document:
Generate HTML from FrameMaker Document


Create and Update FrameMaker Documents

⇒⇒FrameMaker Tutorials

2018-01-16, 200👍, 0💬