I'm using Webinator 6.01, and would like to change the format of the context view page (the page which appears when the uses clicks on "Preview document matches"). Currently, the context (or preview) seems to display all of the query hits and (apparently depending upon page size) displays all or most of the page text.
For my purposes, I'd like to see less text surrounding each hit.
So, how could I change the Context View portion of the search script in the following ways:
1) I'd like to have only about 60 characters of context before and after each hit (with ellipses to indicate omitted text, and a line break to put each hit, or cluster of nearly adjacent hits, on it's own line)
2) I'd like to have some text near the top of the page that says how many hits are found on the page.
I am currently a bit bewildered by the power and scope of Vortex, so I'd appreciate some example code that will help me do the reformatting.
Thanks!
For my purposes, I'd like to see less text surrounding each hit.
So, how could I change the Context View portion of the search script in the following ways:
1) I'd like to have only about 60 characters of context before and after each hit (with ellipses to indicate omitted text, and a line break to put each hit, or cluster of nearly adjacent hits, on it's own line)
2) I'd like to have some text near the top of the page that says how many hits are found on the page.
I am currently a bit bewildered by the power and scope of Vortex, so I'd appreciate some example code that will help me do the reformatting.
Thanks!