Subject: Re: [docbook-apps] WebHelp search results - can they be generated in context?
-----BEGIN PGP SIGNED MESSAGE-----
Not sure if this is what you mean, but you can have it include brief summaries in the search results:
"When you perform a search, the results can include brief summaries. These are populated in one of two ways:
By adding |role="summary"| to a |para| or |phrase| in the |chapter| or |section|.
By adding an |abstract| to the |chapterinfo| or |sectioninfo| element."
Including a few words before and after the found term would be hard to implement with the current client-side search. You probably want to use a google site search for that.
On 3/15/12 6:35 AM, Xmplar wrote:
> Am wondering whether it's possible to customise or develop WebHelp so that when invoking a search, the results include a few words before and after the search term. It seems that (say, with autoindex) at best only the section title within which a search term is located will be displayed as a search result.
> Is it possible to get search term results linking to the actual search term?
> *Dave Gardiner*
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----