Omni Systems, Inc.   Mif2Go User's Guide, Version 55


18 Splitting and extracting files > 18.5 Inserting HTML code in split and extract files > 18.5.1 Choosing how to insert code in extracts

18.5.1 Choosing how to insert code in extracts

You can specify code to be inserted in extract files by any of the methods listed in Table 18-2. Code can be placed at any of the following locations in an extract file:

Table 18-2 Extract code insertion methods

Precedence

Type

Code insertion method

Ref.

Highest

Marker

Make code the text (maximum 256 characters) of a marker placed anywhere in the extract

18.7.1

Intermediate

Configuration

section

Assign code to the paragraph format designated to start the extract (see 18.3.2.1)

18.5.3

Lowest

Configuration

keyword

Assign code to an [Inserts] keyword

18.5.2

The methods in Table 18-2 are listed in order of precedence. For example, if you use both an ExtrHead marker containing HTML code and supply an [Inserts]ExtrHead entry specifying HTML code, Mif2Go inserts the marker code in the <head> element of the extract and ignores the [Inserts]ExtrHead entry. This allows you to override code specified in the configuration file for any extracts that require different code.