Suppress individual topics from appearing in search when par

Oxygen general issues.
tomjohnson1492
Posts: 132
Joined: Thu Apr 17, 2014 1:55 am

Suppress individual topics from appearing in search when par

Post by tomjohnson1492 »

I'm using the topicset element with DITA and have a map like this:

<topicset id="replacing_broken_spokes" navtitle="Replacing broken spokes" href="about_broken_spokes" chunk="to-content">
<topic href="remove_broken_spokes" toc="no"/>
<topic href="remove_the_cassette" toc="no" />
<topic href="replace_the_spoke_nipple" toc="no" />
<topic href="reattach_the_cassette" toc="no" />
</topicset>

When I render Oxygen's webhelp output and search for "reattach the cassette," I get the specific topic "reattach the cassette" as an individual topic even though I specified that this topic should be merged into the topicset through the chunk="to-content" attribute, making all of these individual pieces one unit.

Is there any way to suppress the reattach_the_cassette topic from appearing on its own in the search results? I tried adding the attribute search="no" to each topicref, but it didn't fix the problem.

The main issue I'm trying to avoid is having people land on all of these individual pieces that weren't meant to stand alone. I want users instead to see the whole topicset content as a single unit.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Suppress individual topics from appearing in search when

Post by sorin_ristache »

You should not get individual Webhelp topics in the output if you added the chunk="to-content" attribute to the parent element. I suspect the individual output topics remained in the output directory from a previous DITA transformation when the chunk="to-content" attribute was not added yet in the DITA map. Please set both parameters clean.output and clean.temp to yes and try again the DITA transformation.


Regards,
Sorin
Post Reply