Premium Skin Search referencing deleted topics

HM5 served us well, now its time has come and it has been replaced... If you have HM5 questions, please post them here.

Moderators: Alexander Halser, Tim Green

Post Reply
Matt Kendall
Posts: 23
Joined: Tue Jun 14, 2011 9:17 am
Location: Bournemouth, UK
Contact:

Premium Skin Search referencing deleted topics

Unread post by Matt Kendall »

Hi Tim

My PP Skin Search function is finding results from topics which I have deleted. They have been removed from the Project files, my web server and the HTML folder, yet the results still show them.

Is there any way I can get rid of them from the results?

Thanks.
User avatar
Tim Green
Site Admin
Posts: 23189
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Premium Skin Search referencing deleted topics

Unread post by Tim Green »

Hi Matt,

This doesn't have anything to do with the skin. When you use WebHelp the search index is generated by scanning the HTML files in your output folder, because the search needs to work on the HTML files. When you delete topics in your project any old HTML files generated from previous publish operations in your output folder are not automatically deleted. If you don't flush the files from this folder it will also contain the old copy of the deleted topic(s) the last time you published, and they will then also be included in the search index.

The quickest way to achieve this is to select the option to delete all the files in the output folder in the Publish dialog. Alternatively you can just choose a different empty folder.

You should also regularly flush the files in the WebHelp folder on your web server when you update your project. Old topic files there won't show up in the search function in Help & Manual because the index has been updated (if you flushed your local output folder), but they will continue to show up in Google and other search engines if the files still exist on the server. (If they have already been indexed they will also continue to show up in search engines for a while anyway, even if you have deleted them, because it takes a while for them to get updated.)

Similarly, when you are generating CHM files you should normally leave the Publish dialog option to delete temporary files on. Only turn it off for analysis purposes when you want to examine the CHM source files generated for some special reason.
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Matt Kendall
Posts: 23
Joined: Tue Jun 14, 2011 9:17 am
Location: Bournemouth, UK
Contact:

Re: Premium Skin Search referencing deleted topics

Unread post by Matt Kendall »

Go it. Thanks for the swift reply Sensei. :D
Post Reply