Including Specifically Linked Content

One way to completely exclude content from online output is to place condition tags on the topic files and include or exclude them from the targets (see Conditions). Another method is to use an option in the Target Editor to include only content files that are linked in some way from the target or the associated table of contents (TOC). These options can be especially useful if you are publishing output to Salesforce, ServiceNow or Zendesk. However, you do not need to be publishing to Salesforce, ServiceNow, or Zendesk to use the options.

How to Include Specifically Linked Content

  1. Open a target used for online output.
  2. On the Advanced tab of the Target Editor, click the Content to include drop-down.
  3. Select one of the options.
    • All Content All files will be included in the output, unless they are excluded by conditions or some other means.
    • Content linked directly or indirectly from the target If the target is using particular files such as a table of contents (TOCs), template page, and so on, other files linked directly or indirectly from them will be part of the output.

      Example Your target points to a TOC that includes Topic A, Topic B, and Topic C. If you generate an online output and use this option in the Target Editor, all three of those topics will be included in the output. In addition, Topic D will be included in the output. Although Topic D is not found in the TOC, a cross-reference to it is found in Topic B; it is linked to the TOC (and the target) indirectly. Topic E is not included in the output, because it is not found in the TOC and none of the topics to be included in the output contain a link to it.

      Example Your primary target explicitly links to the following:

      • A TOC
      • A browse sequence
      • A stylesheet
      • One or more glossary files
      • A template page
      • A startup topic

      A target can also link explicitly to one or more relationship tables and one alias file. However, these are not used to determine whether files should be included when "Content linked directly or indirectly from the target" is selected.

      • The TOC and the browse sequence can link to topics, other TOCs, or other browse sequences. These files would then be included. You could even place a link to multimedia from a TOC or browse sequence if you wanted (although this cannot be done in the Flare user interface). It will work and those explicitly linked resources would also be included.
      • A stylesheet may link to image resources. These resources are included.
      • A glossary file may link explicitly to a topic if a term uses a topic as its definition. These topics are included.
      • A template page may link to a topic or resource (image, multimedia). These linked items would be included.
      • The startup topic is, of course, included.
      • Any included topic can explicitly link to additional topics via hyperlinks, cross-references, image maps, or related topics controls (not concept links or keyword links).

      Using this option can help prevent bloated output by excluding unused files.

      Example You have 1000 images in your project, but only 500 of them are used in the Microsoft HTML Help output you want to generate. By using this feature, only those 500 images are included in the output, thus keeping the output file size down to a minimum.

    • Content linked directly from the TOC Only content files that are linked directly from the TOC are included in the output.
  4. Click Save the active file. to save your work.