Re: [htdig] Volunteers sought for PHP wrapper class


Geoff Hutchison (ghutchis@wso.williams.edu)
Fri, 30 Apr 1999 09:31:31 -0400


At 9:09 AM -0400 4/30/99, Torsten Neuer wrote:
>Using $(STARSLEFT) or $(STARSRIGHT) throws in an additional newline
>character which messes up the result array in the PHP wrapper.
.
>Looks like it is hardcoded somewhere in htsearch.

Yup. Here's a patch (against 3.2.0-dev, but it should apply to other versions):

-Geoff

Index: Display.cc
===================================================================
RCS file: /opt/htdig/cvs/htdig3/htsearch/Display.cc,v
retrieving revision 1.75
diff -c -3 -p -r1.75 Display.cc
*** Display.cc 1999/04/27 23:12:27 1.75
--- Display.cc 1999/04/30 13:37:09
*************** Display::generateStars(DocumentRef *ref,
*** 718,724 ****
        }
      }

- *result << "\n";
      return result;
  }

--- 718,723 ----

------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig@htdig.org containing the single word "unsubscribe" in
the SUBJECT of the message.



This archive was generated by hypermail 2.0b3 on Fri Apr 30 1999 - 06:45:10 PDT