Creating a New Target

When you want to produce a new kind of output, you need to add a target to your project. A target is a single instance of an output type, such as a PDF, an online Help system, an eBook, or a Word document. You can create as many targets as you need to.

Right now, the San Diego project is set up so you can build a single PDF target. However, we also want to create an online target. The type of online output we recommend is HTML5.

How to Create a New HTML5 Target

  1. In the Project Organizer, right-click the Targets folder. From the context menu select Add Target. The Add File dialog opens.
  2. In the Add File dialog, you can select the kind of target you want to create. In the Source area, make sure that New from template is selected, then select MyTarget from the list of factory templates (this should be selected by default). This will create a new target with default settings selected.

  3. From the Output Type drop-down, select HTML5.
  4. In the File Name field, enter All-About-San-Diego-HTML5.

  5. Click Add. The new target is added to the Targets folder in the Project Organizer.

How to Set the Startup Topic for a Target

We will use a special topic (Home.htm) for the landing page in our online target.

  1. The editor for your new target should already be open. But in case it isn't, double-click the All-About-San-Diego-HTML5 target in the Project Organizer.
  2. In the Target Editor, select the General tab.
  3. Next to the Startup Topic field, click The browse ellipsis button opens to more options.. The Select File dialog opens.
  4. In the list of topics, select Home.htm.
  5. Click Open. Home.htm is now associated as your target's startup topic.

Note The home page we are using for our HTML5 startup topic uses its own template page, which is already set up for you. This is why it has a different look and feel than the other pages.

How to Set the Template Page for a Target

This project has been set up so that the Home page has a different design than the rest of the pages. This is done with a combination of template pages and styles. We've already associated the Home page with its own template page, but now we need to tell Flare to use the other template page for the rest of the topics. The best way to do this is to associate the template page with the target. All topics will therefore use that template page in the output, except the Home page.

  1. In the Target Editor, select the Advanced tab.
  2. Scroll down, and from the Template Page drop-down, select Other-Topics.

  3. Click Save the active file. to save your work.