Last updated: Feb. 12, 2002
Before converting your FrameMaker sources to HTML, you should:
/udir/fscott/DocTemplates/WebWorksTemplate
Just to give us a starting point, how about if you copy it to
C:\TEMP\WebWorksTemplate
Here's how to convert your book:
titlepage
.fm file from the WWP project. (Don't worry, this doesn't change your FrameMaker book.) In other words, the FrameMaker ~toc file must be the first file in the project, and the ~ix file must be the last file in the project.
index.htm
.
realindx.htm
. Yes, my friends, that's realindx.htm
, not realindex.htm
.
UMBookTitle
from the Name drop-down list, and change the text to the title of your book.
.html
files that correspond to your .fm
files. This may take a few minutes.
YourProject
/Output/index.htm in your browser to verify the results. (/Output
is the HTML directory, index.htm
is the default TOC file, and all graphic files are in /Output/images
. All paths are relative.)After you have looked at the book in your own browser, run it through the HTML checker on boreal:
/Output
directory into the /fscott/BooksInProgress_HTMLandPDF/html
directory.
You probably noticed the word DRAFT next to your book title and all over the page. You must remove these marks for the final version (but not before) by editing two WWP user macros.
You must also change the product version at the bottom of the page with another user macro. (You already edited a user macro to set the book title in step 19 of "Converting Your Book to HTML".)
Complete the following steps:
UMBodyTag
user macro. This macro sets the gray DRAFT background image for the HTML page.
<body>
tag in the macro with the appropriate background.
To show the DRAFT background, the macro looks like this:
<body background="images/draftbg.jpg">
<!--<body bgcolor="#ffffff">-->
To show a plain white background for the final book, change the macro to look like this:
<!--<body background="images/draftbg.jpg">-->
<body bgcolor="#ffffff">
UMDraft
user macro, which creates the red DRAFT next to the book title at the top and bottom of each HTML page.
<!-- <font color=#cc0000>DRAFT</font>-->
UMProductVersion
user macro that specifies the product version information. By default, this says "Cheetah preliminary draft." After we know what the real product name and version number will be, change it.
Note that this information is being kept intentionally separate from any document version information so we can publish updated documents between product releases. The document version is set to be the date you run WWP to build the HTML files.