Multiple versions of the same topic in CHM output

This forum is for all Flare issues related to the Microsoft HTML Help target.
This target produces "CHM" files in the output.
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
dandam
Propeller Head
Posts: 27
Joined: Wed May 02, 2012 11:36 am
Location: Overland Park, KS

Re: Multiple versions of the same topic in CHM output

Post by dandam »

I'm having this same problem. Did you find a solution?

There seems to be some sort of caching going on, in which older versions of topics (that should have been overwritten with newer versions) are not purged completely from memory. These phantom topics somehow get included in the CHM and are visible when using the Search functionality.
Matt Danda
MadCap Advanced Developer (MAD)
Overland Park, KS
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 »

It's been so long I don't remember exactly how this was resolved, though I seem to recall that it had something to do with the Exclude content not linked directly or indirectly from the target check box in the Advanced tab of the Target Editor. Try checking that option, then re-build the output.
Todd Richardson
Engineering Team Lead – Customer Experience | IntervalZero

Windows 10, Flare 2020
dandam
Propeller Head
Posts: 27
Joined: Wed May 02, 2012 11:36 am
Location: Overland Park, KS

Re: Multiple versions of the same topic in CHM output

Post by dandam »

Thanks! That appears to have fixed the problem!

Incidentally, I now get a long string of errors that begin with "Generating alias file: Missing topic". Looks like I may have gotten a little sloppy with keeping the alias file current when deleting and rearranging topics. :oops:
Matt Danda
MadCap Advanced Developer (MAD)
Overland Park, KS
Post Reply