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?
Keywords not imported from .chm
Moderators: Alexander Halser, Tim Green
-
- Posts: 53
- Joined: Thu Sep 24, 2015 11:57 am
- Location: Moscow
Keywords not imported from .chm
Omit needles swords
- Tim Green
- Site Admin
- Posts: 23178
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Keywords not imported from .chm
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.
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.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
-
- Posts: 53
- Joined: Thu Sep 24, 2015 11:57 am
- Location: Moscow
Re: Keywords not imported from .chm
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.
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
- Alexander Halser
- EC-Software Support
- Posts: 4101
- Joined: Mon Jun 24, 2002 7:24 pm
- Location: Salzburg, Austria
- Contact:
Re: Keywords not imported from .chm
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.)
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
Senior Software Architect, EC Software GmbH
-
- Posts: 53
- Joined: Thu Sep 24, 2015 11:57 am
- Location: Moscow
Re: Keywords not imported from .chm
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.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.
Omit needles swords
- Alexander Halser
- EC-Software Support
- Posts: 4101
- Joined: Mon Jun 24, 2002 7:24 pm
- Location: Salzburg, Austria
- Contact:
Re: Keywords not imported from .chm
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.
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
Senior Software Architect, EC Software GmbH
-
- Posts: 53
- Joined: Thu Sep 24, 2015 11:57 am
- Location: Moscow