I have a functioning search page that uses Examine to search for content on a coporate website. I would like to provide an excerpt that highlights the term in the results (similar to google but a lot simpler).
Because of how my site is structured I have implemented the Examine event GatherNodeData to traverse a page's subcontent and populate a field called "FullPageContent". This field contains a text only version of the entire page contents that the user would see.
Does anyone know of a built-in function of Examine that can build excerpts from text content and a search term? If this is not possible, is there any easy way of coding this myself?
Examine - Generating Search Result Excerpts
I have a functioning search page that uses Examine to search for content on a coporate website. I would like to provide an excerpt that highlights the term in the results (similar to google but a lot simpler).
Because of how my site is structured I have implemented the Examine event GatherNodeData to traverse a page's subcontent and populate a field called "FullPageContent". This field contains a text only version of the entire page contents that the user would see.
Does anyone know of a built-in function of Examine that can build excerpts from text content and a search term? If this is not possible, is there any easy way of coding this myself?
Thanks.
is working on a reply...