According to Keith Christian: > I've compiled this release and while htdig itself is working fine, I am > not able to print any output using the SCORE or PERCENT variables. > > I'm trying to print out the values using the 'header.html' template by > entering this: > > <br> > SCORE:$(SCORE) > <br> > PERCENT:$(PERCENT) > > but no values are ever printed, all I get is the SCORE: and PERCENT: > text followed by blanks. > > Is this version able to display these values?
As far as I know, there aren't any problems in this version as far as generating these variables. The htsearch/Display.cc code in 3.2.0b4 hasn't been changed since July of last year, and I don't see anything in the code that would prevent it from setting these two variables. I'd first try to rule out any other possible problems, e.g. that htsearch is indeed loading the header.html file that you're editing, and not a different one, that there isn't some junk characters being inserted into the $(var) constructs, that an HTML editor isn't SGML-encoding the "$", and things of that sort. If you had things working with an earlier 3.2.0b4 snapshot, make sure you configured the same paths into this one. If all other things are equal, what was the last working snapshot? > What is the difference with other variables having an ampersand after > the dollar sign, e.g. $&(WORDS) etc. Is this because they are in text > fields? The "&" causes htsearch to SGML encode certain characters contained in the variable (&, <, >, ", and in 3.2, ISO-8859-1 accented letters). The "%" after the "$" causes hex encoding, and "=" causes hex decoding. This is explained (briefly) in http://www.htdig.org/hts_templates.html -- Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/ Dept. Physiology, U. of Manitoba Winnipeg, MB R3E 3J7 (Canada) _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ htdig-general mailing list <[EMAIL PROTECTED]> To unsubscribe, send a message to <[EMAIL PROTECTED]> with a subject of unsubscribe FAQ: http://htdig.sourceforge.net/FAQ.html

