Page 1 of 1

Abstractor hints?

Posted: Fri Jun 18, 1999 11:44 am
by Thunderstone



I was wondering if I could put hints in my HTML that would provide
hints to the abstractor as to where to being abstracting.

Essentially I am indexing a bunch of articles that have headers in
them. That is what comes up in the abstractor output.

I have tried putting the '$qry' variable in the abstractor function
call but that does not improve performance that much. If I could just
have the abstractor begin abstracting after the headers of my article
then I'd be delighted.

Any tips here?

Regards,
Jay Lawrence





Abstractor hints?

Posted: Fri Jun 18, 1999 12:05 pm
by Thunderstone


The abstract function attempts to skip that kind of thing, but sometimes
can't. Your attempt to use the query hilighting is a good idea. Just
make sure you do it right. The variable to use is $query, not $qry
and make sure you include the abstract style argument.

<abstract $Body 180 smart $query>

If that's not satisfactory, you could write a <rex> expression to match
the first text after your headers instead of using <abstract>.