Folks,
When I need to generate a nearly identical version of
WebHelp, I duplicate the layout , edit the second one and give it a
new name. This helps me remember what I generated.
A variation on Chet's method:
Generate and publish WebHelp, filtering out the
"ExcludeFromSearch" items (Steps 1 through 4).
Generate WebHelp with the layout that doesn't exclude those
items.
Publish with "Prompt before overwriting files" selected and
approve them one at a time (not many will change), but do not
approve overwriting any of the files in whdata, wgdata and wxdata.
This should add the excluded files to the published WebHelp
but leaving the filtered search database.
There's another method, not for the fainthearted, because it
requires breaking a basic RH rule:
With the project closed (not active in RH) go into the
project directory in Windows and move the files you want excluded
from the search database. Put them in a safe place outside the
project folder.
Launch the project, generate as usual (you don't have to use
an "exclude" tag), and publish the project. RH will build the
search databases from the files it can see, and will omit links to
the missing files.
The missing files will appear in the RH project directory
with a red X.
Import the missing files. Generate again with "Prompt before
overwriting files" selected (this time RH will include links) and
approve changes one by one, but do not approve overwriting any of
the files in whdata, wgdata and wxdata.
The tradeoffs:
Revising file names and Inserting code suggested by Roger,
--or--
Applying the exclude tag and saving the filtered search
databases,
--or--
Applying the exclude tag and not allow overwriting of the
filtered search databases,
--or--
Moving and re-importing excluded files and publishing changes
one by one.
If you have a lot of files to exclude, the last method may
save some time.
Otherwise, it looks like a wash.
Harvey