[htdig] odd little bug in htdig 3.1.4

Subject: [htdig] odd little bug in htdig 3.1.4
From: D.J.Adams@soton.ac.uk
Date: Thu Feb 03 2000 - 02:07:12 PST

I have found that if a page contains keywords with just a space in the
contents, like so:

<META name=keywords content=" ">
<META name=description content=" ">

then the page is indexed ok, but no excerpt is shown by htsearch with

Just changing that to:

<META name=keywords content="">
<META name=description content="">

clears the problem.

How did I find this, and why does it matter?

Well I'm working on an external conversion script which tries to extract
the keywords and summary from WordPerfect documents. In real life such
documents often have no summary or keywords and I was using a space as
the default.

I can work around this, so its no great deal, but the bug may have other
consequences I havn't found yet.

By the way, my script is based on conv_doc.pl and can be used in its
place. I hope to send it in when I've finished polishing it.

David J Adams
Computing Services
University of Southampton

------------------------------------ To unsubscribe from the htdig mailing list, send a message to htdig-unsubscribe@htdig.org You will receive a message to confirm this.

This archive was generated by hypermail 2b28 : Thu Feb 03 2000 - 02:09:21 PST