• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

RH 2019 Responsive HTML5 Exclude Search

Contributor ,
Sep 25, 2019 Sep 25, 2019

Copy link to clipboard

Copied

I am trying to create a preview version of an eBook: a selectively cut-down version of the larger one.

 

So, I have used "hide in output" in each Topic's TOC property to exclude several topics, without deleting them from the eBook. When published as Responsive HTML5, as planned, these topics which are excluded intentionaly from the preview version are no longer displayed.

 

I can also exclude the index successfully, so that readers of the preview version can not use it to navigate to index words in topic text in excluded topics.

 

Problem is that I cannot find a way to completely exclude the search feature in the preview version. The reader can still search a word in the preview version, and upon clicking the result, even for an excluded topic, can still navigate to and view that excluded topic.

 

Not sure if there is any way to disable all search? (If not, the only option would be to delete all excluded topics from the preview version, create a new cut-down version.)

 

Any suggestions appreciated.

TOPICS
New UI

Views

538

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Sep 25, 2019 Sep 25, 2019

I'm not sure if there's any way of totally disabling search, but you should be able to mark individual topics as excluded from search.

 

Assuming New UI, I think it should be in the Topic Properties panel under Search. Something like "Exclude this topic from search".

Votes

Translate

Translate
Community Expert ,
Sep 25, 2019 Sep 25, 2019

Copy link to clipboard

Copied

I'm not sure if there's any way of totally disabling search, but you should be able to mark individual topics as excluded from search.

 

Assuming New UI, I think it should be in the Topic Properties panel under Search. Something like "Exclude this topic from search".

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Oct 03, 2019 Oct 03, 2019

Copy link to clipboard

Copied

Would like to mark this as the correct answer, but my view of the forum, even when signed in, doesn't give me the option to mark this answer (or any answer) as correct. Maybe a forum fix is needed for this?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 25, 2019 Sep 25, 2019

Copy link to clipboard

Copied

In addition to what Amber suggested, you might want to consider using the Conditional Build Tags feature. If you created and applied tags to topics, they should be completely omitted from the build. Then it wouldn't matter about index or search because they simply wouldn't be there.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Sep 25, 2019 Sep 25, 2019

Copy link to clipboard

Copied

Thank you for these suggestions.

For now, used Amebr's suggestion to hide search in the topics excluded from the preview. Worked perfectly!

Plan to learn more about conditional build tags to have this as a tool when needed.

Again, much thanks.

S

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 26, 2019 Sep 26, 2019

Copy link to clipboard

Copied

Whatever you think is easiest.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 26, 2019 Sep 26, 2019

Copy link to clipboard

Copied

Sorry, didn't get to finish that thought. Silly new forum software just posts when you press the Enter key. Grrrrr Anyhoo, when you are ready the tagging is super simple to use. You just create a tag. Perhaps call it "RemoveForTrial". Then you associate the tag with the topics that you don't want included. Then you create something called a "Build Expression" that you use when you generate your output. The Build Expression basically says: Leave anything with this tag out of the build. And any links that point to it are no longer links, and any index keywords that point to it no longer point to it and of course, Search won't find it either. The beauty of that is that when you produce the full ebook, you simply don't use the build expression. Doing it the way you are headed means that you will need to carefully re-visit all those topics you flagged and re-enable the search. And that means more work for you. Cheers... Rick 🙂

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Sep 26, 2019 Sep 26, 2019

Copy link to clipboard

Copied

Thanks, Rick, for these additional suggestions, methodology. Yes, a more comprehensive approach, which can save time in the long run.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 26, 2019 Sep 26, 2019

Copy link to clipboard

Copied

@Rick - got to remember to use Shift-Enter for those new line things...[Nope clearly not in these silly in-line replies]

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 26, 2019 Sep 26, 2019

Copy link to clipboard

Copied

And that's precisely what I did when it posted. Then again, I just clicked the "Reply" link and I didn't go up to the top of the thread and click the "Blue Reply Button". Apparently they work differently. Grrrrr

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Oct 06, 2019 Oct 06, 2019

Copy link to clipboard

Copied

LATEST

Rick, As a follow-up, after using "hide in output" as a "quick" solution, I tried out using conditional tags and find them labor-saving in the long run, when needing to do subsequent edits. I had been creating a separate preview version with topics marked "hide in output" so when I edited the full version, needed to then separately edit the preview. With conditional exclusion tags, can generate a full version without the tagged topics excluded or generate a preview version with the tagged topics excluded. Much easier for me, since I regularly edit and update the project. Now all editing is done in one version. Thanks, again.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 26, 2019 Sep 26, 2019

Copy link to clipboard

Copied

Test of using Shift-Enter in the "Blue" Reply button
Yes! Much better ;>)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 03, 2019 Oct 03, 2019

Copy link to clipboard

Copied

It's a known bug that will hopefully get fixed. Meantime only moderators can mark posts "correct". I have done that for you.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Oct 03, 2019 Oct 03, 2019

Copy link to clipboard

Copied

Thank you again, Peter.

S

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp