Keywords not imported from .chm

Please post all questions and comments regarding Help & Manual 7 here.

Moderators: Alexander Halser, Tim Green

Post Reply
Nadia Gaganova
Posts: 53
Joined: Thu Sep 24, 2015 11:57 am
Location: Moscow

Keywords not imported from .chm

Unread post by Nadia Gaganova »

Hello!
Just started migrating our help project (originally created with FrontPage and HTML Help) to H&M 7. There are several snags I'm trying to straighten out, but the one I've finally given up on is importing keywords from a .chm file.
Our project used automatically-populated index from <object> tag on each page. But it seems that the import procedure only recognizes the keywords which were added to the .hhk file manually (I've checked that this one works with another smaller project which has a manually-created index).

Is there any hope to import the keywords anyway?
Omit needles swords
User avatar
Tim Green
Site Admin
Posts: 23181
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Keywords not imported from .chm

Unread post by Tim Green »

Hi Nadia,

Keywords should normally import from CHM files, along with everything else. I've asked our CHM specialist from our developer team to comment on this. Depending on what he says, I may also ask you to send me an example of a CHM you are having trouble with.
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.
Nadia Gaganova
Posts: 53
Joined: Thu Sep 24, 2015 11:57 am
Location: Moscow

Re: Keywords not imported from .chm

Unread post by Nadia Gaganova »

Hey Tim,
looking forward to your reply.
Meanwhile, I've checked it even more specifically: if the project has both automatically and manually added keywords, only the manual are imported. :(
Omit needles swords
User avatar
Alexander Halser
EC-Software Support
Posts: 4104
Joined: Mon Jun 24, 2002 7:24 pm
Location: Salzburg, Austria
Contact:

Re: Keywords not imported from .chm

Unread post by Alexander Halser »

Hi Nadia,

This is correct, Help+Manual imports the internal HHK file from the CHM (this is the keyword index file). The binary index of a CHM file (like those indexes built automatically from keywords found in HTML topic files) is not decompiled. If you have a mix of a dedicated index specified by a HHK file and complementary keywords from HTML topics, only the dedicated index is imported. This is intentional, because importing the keywords from HTML pages as well would in most cases result in duplicate, redudant keywords. (The dedicated keyword index in a CHM file has 2 levels and may point to anchors as well, while the same keywords typically occur in the HTML topic, too. But the <meta name="keywords" ...> tag lists them on one level only.)
Alexander Halser
Senior Software Architect, EC Software GmbH
Nadia Gaganova
Posts: 53
Joined: Thu Sep 24, 2015 11:57 am
Location: Moscow

Re: Keywords not imported from .chm

Unread post by Nadia Gaganova »

Alexander Halser wrote:If you have a mix of a dedicated index specified by a HHK file and complementary keywords from HTML topics, only the dedicated index is imported.
No, actually we don't, we only have keywords from HTML. So, is recreating the index manually in our H&M project the only option? That's really too bad, for the project which has over a thousand pages with several keywords each.
Omit needles swords
User avatar
Alexander Halser
EC-Software Support
Posts: 4104
Joined: Mon Jun 24, 2002 7:24 pm
Location: Salzburg, Austria
Contact:

Re: Keywords not imported from .chm

Unread post by Alexander Halser »

Hi Nadia,

Let me see what we can do about it... would you mind to send me one of those CHMs for testing? Just use my email alexander.halser(at)ec-software.com.
Alexander Halser
Senior Software Architect, EC Software GmbH
Nadia Gaganova
Posts: 53
Joined: Thu Sep 24, 2015 11:57 am
Location: Moscow

Re: Keywords not imported from .chm

Unread post by Nadia Gaganova »

Thanks a lot for the updated version!
Omit needles swords
Post Reply