Excluding topics from webhelp output index

Post here questions and problems related to editing and publishing DITA content.
ann.jensen
Posts: 295
Joined: Wed Jun 17, 2015 10:19 am

Excluding topics from webhelp output index

Post by ann.jensen »

Hello,
I am using the audience attribute with various topicsrefs along with 2 ditaval files to generate different instances of webhelp output from my DITA content.
This works fine but the excluded topics can still be navigated to via the Search and Index results.
Is there any way to completely remove access to these topics in the webhelp output?
Thanks in advance,
Ann
bogdan_cercelaru
Posts: 222
Joined: Tue Jul 01, 2014 11:48 am

Re: Excluding topics from webhelp output index

Post by bogdan_cercelaru »

Hello,

Please make sure that you have "clean.output" parameter set to "yes".
This will ensure that you do not have any unwanted files (topics) that will be indexed.

Regards,
Bogdan
Bogdan Cercelaru
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
ann.jensen
Posts: 295
Joined: Wed Jun 17, 2015 10:19 am

Re: Excluding topics from webhelp output index

Post by ann.jensen »

Thank you for your advice Bogdan.
That removes any of the excluded topics from the index. Is there any way to remove them from webhelp Search results also?
Thanks,
Ann
bogdan_cercelaru
Posts: 222
Joined: Tue Jul 01, 2014 11:48 am

Re: Excluding topics from webhelp output index

Post by bogdan_cercelaru »

Hello,

Using this method, any excluded topics will be also removed from the search results.

Regards,
Bogdan
Bogdan Cercelaru
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
ann.jensen
Posts: 295
Joined: Wed Jun 17, 2015 10:19 am

Re: Excluding topics from webhelp output index

Post by ann.jensen »

After making your suggested change (setting clean.output setting value to YES) I am still getting the excluded topics in my Search results...but not in the Index.
Regards,
Ann
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: Excluding topics from webhelp output index

Post by Radu »

Hi Ann,

Usually this happens when the excluded topics are still referenced from other topics which are not excluded. And you also need to add profiling to those links.
The DITA Maps Manager "Validate and check for completeness" can be run by specifying a DITAVAL file and it will issue warnings if there are links to topics not included in the DITA Map.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply