The front matter of a publication is what users see when they open a publication or when they click Home. Front matter may identify the technical publication, its issue number or distribution restrictions. It may also be an introductory animation or a locator graphic that helps the user navigate the manual. Front matter can be simple XHTML including images or interactive graphics.
Procedure
- Do one of the following:
- To add HTML front matter, create an HTML Web page and save it to the templates/FullSupport/httpdocs/book_data/COLLECTION/PUBLICATION/ subdirectory of the LiveContent S1000D home directory, where COLLECTION is the name of the collection that contains the publication for which you want to create front matter, and PUBLICATION is the manual name.
If your Web page needs to refer to any images, save those images in httpdocs/images/ and refer to them as follows:
<img src="/@HTTP_ROOT@/images/IMAGENAME.EXT" />
where IMAGENAME is the base name of an image file, and EXT is its extension.
- To add interactive graphic front matter, create the graphics file (for example, a Shockwave Flash .swf file) and save it to the multimedia/ subdirectory of the publication directory of the publication for which you want to create front matter.
- Navigate to your collection directory.
- Open wietmsd.xml for editing.
- Find the configuration section for the publication, for example:
<book name="BIKE">
<configitem name="bookTitle">
<value>Bike Publication...</value>
</configitem>
</book>
- Do one of the following within the
book section:
To add HTML front matter, add a configitem element with its name attribute set to front_matter_html, and with a child element value containing the name of the HTML file you created.
To add an interactive graphic front matter, ensure that no configitem exists with its name attribute set to front_matter_html.
- Save and close wietmsd.xml.