Abstractor hints?

Post Reply
User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

Abstractor hints?

Post 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




User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

Abstractor hints?

Post 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>.



Post Reply