Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

11 Generating JavaHelp or Oracle Help > 11.3 Setting up a JavaHelp or Oracle Help project > 11.3.7 Creating a directory structure for JavaHelp / Oracle Help > 11.3.7.4 Specifying a path for search-index links


11.3.7.4 Specifying a path for search-index links

To create a search index, URLs in the JavaHelp map file (.jhm) must point to files in a subdirectory of the directory where the helpset file is located; the default subdirectory is help\html. See §11.3.7.1 Understanding the JavaHelp / Oracle Help directory structure.

Note:  Oracle Help uses a map file only for ALinks and for CSH links; if your Oracle Help project does not include either of those features, there is no map file.

To provide a prefix that points map-file URLs to the correct directory:

[JavaHelpOptions] or [OracleHelpOptions]

; MapFilePrefix = prefix to insert at start of map file URLs

MapFilePrefix = html/

The directory designated by HTMLSubdir (see §11.3.7.2 Letting Mif2Go set up the directory structure and copy files) is the default setting for MapFilePrefix, with “/” added. Use a forward slash, not a backslash, at the end of the prefix; URLs require forward slashes.

MapFilePrefix fixes URLs in the map file, but does not actually move any of the referenced files; see §11.3.7.2 Letting Mif2Go set up the directory structure and copy files.



11 Generating JavaHelp or Oracle Help > 11.3 Setting up a JavaHelp or Oracle Help project > 11.3.7 Creating a directory structure for JavaHelp / Oracle Help > 11.3.7.4 Specifying a path for search-index links