Question
unwanted topics in search results
Hello
Can anyone tell me if there is a way to avoid having unwanted topics in search results. We are using conditional build tags and the TOC looks great in the help, but if the user performs a search other topics that don't meet the conditions are displayed.
I did see a work around posted here but that was from 2004 - and it was nasty...I don't want to touch it with a 10 foot pole (although I suppose I will if I have to!) Does anybody have a current solution?
The old workaround was something like this:
1. Open Windows Explorer and locate the topics you wish to hide.
2. Rename each topic from using a file extension of .HTM to .XHTM
This will cause many broken links inside RoboHelp HTML. Don't sweat them.
3. Edit all links that called these files formerly so that they correctly point to the new filename.
4. Delete the topic references to the old .HTM filename. These will be indicated in your list of topics with a nice red X on them.
5. Add the new .XHTM topics to your baggage files. You may discover during this process that RoboHelp seems to refuse adding them. If this occurs, you can use info on Peter's site to overcome this. Click here and scroll down to Snippet number 2 and check it out if you have this issue.
6. Compile and test!
See why I'm scared? 🙂
Can anyone tell me if there is a way to avoid having unwanted topics in search results. We are using conditional build tags and the TOC looks great in the help, but if the user performs a search other topics that don't meet the conditions are displayed.
I did see a work around posted here but that was from 2004 - and it was nasty...I don't want to touch it with a 10 foot pole (although I suppose I will if I have to!) Does anybody have a current solution?
The old workaround was something like this:
1. Open Windows Explorer and locate the topics you wish to hide.
2. Rename each topic from using a file extension of .HTM to .XHTM
This will cause many broken links inside RoboHelp HTML. Don't sweat them.
3. Edit all links that called these files formerly so that they correctly point to the new filename.
4. Delete the topic references to the old .HTM filename. These will be indicated in your list of topics with a nice red X on them.
5. Add the new .XHTM topics to your baggage files. You may discover during this process that RoboHelp seems to refuse adding them. If this occurs, you can use info on Peter's site to overcome this. Click here and scroll down to Snippet number 2 and check it out if you have this issue.
6. Compile and test!
See why I'm scared? 🙂
