Multiple versions of the same topic in CHM output

This forum is for all Flare issues not related to any of the other categories.
Post Reply
todd.richardson
Sr. Propeller Head
Posts: 187
Joined: Thu Aug 07, 2008 6:43 am
Location: Massachusetts

Multiple versions of the same topic in CHM output

Post by todd.richardson »

Hello,

I'm seeing strange behavior where, when you search via keyword in CHM output, multiple versions of the same topic appear in the search results. See the screen captures below. In this example, I've edited the content in this topic. However, when I search for a keyword that appears in that topic, both the old (previous) and new (revised) topics appear in the search results.

Old topic:
Image

New, revised topic:
Image

How do I stop the old versions of these topics from appearing in the search results?

Thanks,
Todd
Todd Richardson
Engineering Team Lead – Customer Experience | IntervalZero

Windows 10, Flare 2020
jasonsmith
Sr. Propeller Head
Posts: 205
Joined: Wed Apr 28, 2010 2:51 am

Re: Multiple versions of the same topic in CHM output

Post by jasonsmith »

I think this is a feature of the chm output format. In other help formats it is possible to exclude index entries not in the target.

http://webhelp.madcapsoftware.com/flare ... Search.htm

I get around this by creating a child project that extracts the subset of topics that is required to create the .chm target and building the target from this child project.
todd.richardson
Sr. Propeller Head
Posts: 187
Joined: Thu Aug 07, 2008 6:43 am
Location: Massachusetts

Re: Multiple versions of the same topic in CHM output

Post by todd.richardson »

Thanks for the reply. However, I'm not sure these issues are related. I'm seeing different versions of the same topic in the output - pre-revision and post-revision. The pre-revision topic versions should not be showing up.
Todd Richardson
Engineering Team Lead – Customer Experience | IntervalZero

Windows 10, Flare 2020
GinnyR
Propeller Head
Posts: 24
Joined: Mon Apr 27, 2009 5:07 pm

Re: Multiple versions of the same topic in CHM output

Post by GinnyR »

My guess is that the old version is a separate htm file that is getting included in the chm output. Flare includes all topic files, unless they are specifically excluded with conditions or with the target setting "Exclude content not linked directly or indirectly". So even if a topic is not in the TOC, it can still get picked up by the search results. To troubleshoot, you could create a webhelp target and check the list of files in the output directory.
todd.richardson
Sr. Propeller Head
Posts: 187
Joined: Thu Aug 07, 2008 6:43 am
Location: Massachusetts

Re: Multiple versions of the same topic in CHM output

Post by todd.richardson »

I enabled the setting "Exclude content not linked directly or indirectly" and I no longer see the different topic versions in the output. Problem solved. Thanks for your help!
Todd Richardson
Engineering Team Lead – Customer Experience | IntervalZero

Windows 10, Flare 2020
Post Reply