Page 1 of 1

questions on use of abstract

Posted: Fri Feb 26, 1999 11:11 am
by Thunderstone


Hi -

I'm using abstract to generate a short description
for each return after a query. So far so good. A problem
for me is that every file begins with quite a bit of text
related to navigation elements in the $Body, and the abstract
contains that text rather than useful abstract information.

I'd like to start the abstract at either an offset in the
file or at a string location in the file if possible,
rather than at the beginning of the file.

Anyone doing this or have any ideas?

-John McPhail (jmcphail@star-telegram.com)





questions on use of abstract

Posted: Fri Feb 26, 1999 11:46 am
by Thunderstone



Use <substr> to extract the desired section of the raw text before
passing it to <abstract>. Or <rex> for the start of it. See
http://www.thunderstone.com/vortexman/node100.html and
http://www.thunderstone.com/vortexman/node96.html.

-Kai