Control appearance of topics in Search in WebHelp output

Issue

Solution

Version X3

  1. Make a new build tag named "tag1"
    1. Click the "Project" tab in RoboHTML

    2. Right-click on the "Conditional Build Tags" folder

    3. Select NEW CONDITIONAL BUILDTAG

    4. Enter tag1 in the Conditional Build Tag field

    5. Click OK

  2. Make a new build tag named "tag2"
    1. Click the Project tab in RoboHTML

    2. Right-click on the Conditional Build Tags folder

    3. Select NEW CONDITIONAL BUILDTAG

    4. Enter tag2 in the Conditional Build Tag field

    5. Click OK

  3. Add tag1 to each topic that is to be excluded from the search
    1. Click the Topics tab in RoboHTML

    2. Select the topics not to be included from the search (to select multiple topics, hold down the Control key)

    3. Click Edit

    4. Select Properties

    5. Select the Advanced tab

    6. Check the box next to "tag1"
    7. Click OK

  4. Add tag2 to each topic that is to be included in the search
    1. Click the Topics tab in RoboHTML

    2. Select the topics to be included in the search (to select multiple topics, hold down the Control key)
    3. Click Edit

    4. Select Properties

    5. Select the Advanced tab

    6. Check the box next to "tag2"
    7. Click OK

  5. Click File

  6. Generate Primary Layout (This should be set to WebHelp)

  7. Define the Conditional Build Expression to exclude topics that are not wanted in the search
    1. Click the Define button

      This will bring up the Define Conditional Build Tag Expression dialog

    2. Click the Advanced button

    3. Click the Not button

    4. Select 'TAG1' from the drop-down list of Available Conditional Build Tags
    5. Click the Add Tag button

    6. Click OK

    7. Select your WebHelp Options, and then click Finish

  8. Open Windows Explorer
  9. Browse to your WebHelp output folder
  10. Copy the following files from the WebHelp directory subfolders to another location for safe-keeping
    1. In the whdata and whxdata folder within your WebHelp folder:

      whftdata0.htm

      whfwdata0.htm

      whftdata0.xml

      whfwdata0.xml

      Poznámka:

      These files are used for the JavaApplet and DHTML versions of WebHelp

    2. In the whgdata folder within your WebHelp folder:

      whlstf0.htm

      Poznámka:

      This file is used for the 508 compliant and Pure HTML versions of WebHelp

  11. In RoboHTML, click File

  12. Select Generate Primary Layout

  13. Remove the Build Expression
    1. Click the Define button
      This will bring up the Define Conditional Build Tag Expression dialog

    2. Click the Advanced button (If greyed out, skip this step)

    3. Click the Clear button

    4. Click OK

    5. Select your WebHelp Options, and then click Finish

  14. In Windows Explorer, copy the following files into the correct folders in the WebHelp directory
    1. In the whdata and whxdata folder within your WebHelp folder:

      whftdata0.htm

      whfwdata0.htm

      whftdata0.xml

      whfwdata0.xml

    2. In the whgdata folder within your WebHelp folder:


      whlstf0.htm

  15. Run the WebHelp system. Only those topics included with tag 2 will be included in the search

Version 2002

  1. Make a new build tag named "tag1"

    1. Click the Project tab in RoboHTML

    2. Right-click on the Build Tags folder

    3. Select New Buildtag

    4. Enter tag1 in the Build Tag field
    5. Click Ok

  2. Make a new build tag named "tag2"
    1. Click the Project tab in RoboHTML

    2. Right-click on the Build Tags folder

    3. Select New Buildtag

    4. Enter tag2 in the Build Tag field
    5. Click OK

  3. Add tag1 to each topic that is to be excluded from the search
    1. Click the Topics tab in RoboHTML

    2. Select the topics not to be included from the search (to select multiple

      topics, hold down the Control key)
    3. Click Edit

    4. Select Properties

    5. Select the Advanced tab

    6. Check the box next to "tag1"
    7. Click OK

  4. Add tag2 to each topic that is to be included in the search
    1. Click the Topics tab in RoboHTML

    2. Select the topics to be included in the search (to select multiple topics,

      hold down the Control key
    3. Click Edit

    4. Select Properties

    5. Select the Advanced tab

    6. Check the box next to "tag2"
    7. Click OK

  5. Click File

  6. Select Generate

  7. Choose Webhelp

  8. Define the Build Expression to exclude topics that are not wanted in the search
    1. Click the Define button

      This will bring up the Define Build Tag Expression dialog

    2. Click the Not button

    3. Select TAG1 from the drop-down list of Build Tags

    4. Click the Add Tag button

    5. Click OK

    6. Select your WebHelp Options, and then click Finish

  9. Open Windows Explorer
  10. Browse to your WebHelp output folder
  11. Copy the following files from the WebHelp directory subfolders to another location for safe-keeping
    1. In the whdata folder within your WebHelp folder:

      whftdata0.htm

      whftdata0.xml

      whfwdata0.htm

      whfwdata0.xml

      Poznámka:

      These files are used for the JavaApplet and DHML versions of WebHelp

    2. In the whgdata folder within your WebHelp folder:

      whlstf0.htm

      Poznámka:

      This file is used for the 508 compliant and Pure HTML versions of WebHelp

  12. In RoboHTML, click File

  13. Select Generate

  14. Choose Webhelp3

  15. Remove the Build Expression
    1. Click the Define button

    2. Click the Clear button

    3. Click Ok

    4. Select your WebHelp Options, and then click Finish

  16. In Windows Explorer, copy the following files into the correct folders in the WebHelp directory
    1. In the whdata folder within your WebHelp folder:

      whftdata0.htm

      whftdata0.xml

      whfwdata0.htm

      whfwdata0.xml

      Poznámka:

      These files are used for the JavaApplet and DHML versions of WebHelp

    2. In the whgdata folder within your WebHelp folder:

      whlstf0.htm

      Poznámka:

      This file is used for the 508 compliant and Pure HTML versions of WebHelp

  17. Run the WebHelp system. Only those topics included with tag 2 will be included in the search

Versions 7, 2000, 9.x

The .hhs file controls the Full Text Search for the Java Applet version, always used by Netscape and used by IE if the Java Applet option is selected when generating WebHelp. Ftsbody.htm controls the DHTML search components the same way the .hhs controls the java version.

  1. Make a new build tag named "tag1"
    1. Click the Project tab in RoboHTML

    2. Right-click on the Build Tags folder

    3. Select New Buildtag

    4. Enter tag1 in the Build Tag fiel
    5. Click Ok

  2. Make a new build tag named "tag2"
    1. Click the Project tab in RoboHTML

    2. Right-click on the Build Tags folder

    3. Select New Buildtag

    4. Enter tag2 in the Build Tag field
    5. Click Ok

  3. Add tag1 to each topic that is to be excluded from the search
    1. Click the Topics tab in RoboHTML

    2. Select the topics not to be included from the search (to select multiple topics, hold down the Control key)
    3. Click Edit

    4. Select Properties

    5. Select the Advanced tab

    6. Check the box next to "tag1"
    7. Click Ok

  4. Add tag2 to each topic that is to be included in the search
    1. Click the Topics tab in RoboHTML

    2. Select the topics to be included in the search (to select multiple topics, hold down the Control key)
    3. Click Edit

    4. Select Properties

    5. Select the Advanced tab

    6. Check the box next to "tag2"
    7. Click Ok

  5. Click File

  6. Select Generate

  7. Choose Webhelp3

  8. Define the Build Expression as TAG2
    1. Click the Define button

    2. Select TAG2 from the drop-down list of Build Tags

    3. Click Add Tag

    4. Click Ok

    5. Select your WebHelp Options, and then click Finish

  9. Open Windows Explorer
  10. Browse to your WebHelp output folder
  11. Copy the .hhs and the hhs.zip and ftsbody.htm files from the WebHelp directory to another location for safe-keeping
  12. In RoboHTML, click File

  13. Select Generate

  14. Choose Webhelp3

  15. Remove the Build Expression
    1. Click the Define button

    2. Click the Clear button

    3. Click Ok

    4. Select your WebHelp Options, and then click Finish

  16. In Windows Explorer, copy the .hhs and the hhs.zip and ftsbody.htm (which were previously saved in set 9) into the WebHelp directory

  17. Run the WebHelp system. Only those topics included with tag 2 will be included in the search

 Adobe

Získejte pomoc rychleji a snáze

Nový uživatel?

Adobe MAX 2024

Adobe MAX

Konference věnovaná tvořivosti

14.–16. října Miami Beach a online

Adobe MAX 2024

Adobe MAX

Konference věnovaná tvořivosti

14.–16. října Miami Beach a online