Webhelp how to avoid toc indexing
Posted: Mon Feb 29, 2016 12:05 pm
Hi,
I do not want to have the toc.htm file indexed by the serach engine.
in the indexertask ant task, I added div.tree, div.tab_nav_tree_placeholder, but the toc is still part of the result list. that cause some navigation issue if we click on the corresponding result.
<indexertask
htmlDir="${output.dir}"
resourcesDir="${output.dir}/oxygen-webhelp"
outputDir="${output.dir}/oxygen-webhelp/search"
propsDir="indexer"
indexerLanguage="${webhelp.language}"
htmlExtension="${args.outext}"
stem="${use.stemming}"
userDictionary="${webhelp.search.japanese.dictionary}"
doNotIndex="div.ignore,div.navfooter,div.footer,div.navheader,div.tree,div.tab_nav_tree_placeholder"/>
I do not want to have the toc.htm file indexed by the serach engine.
in the indexertask ant task, I added div.tree, div.tab_nav_tree_placeholder, but the toc is still part of the result list. that cause some navigation issue if we click on the corresponding result.
<indexertask
htmlDir="${output.dir}"
resourcesDir="${output.dir}/oxygen-webhelp"
outputDir="${output.dir}/oxygen-webhelp/search"
propsDir="indexer"
indexerLanguage="${webhelp.language}"
htmlExtension="${args.outext}"
stem="${use.stemming}"
userDictionary="${webhelp.search.japanese.dictionary}"
doNotIndex="div.ignore,div.navfooter,div.footer,div.navheader,div.tree,div.tab_nav_tree_placeholder"/>