Hi List, I am very sorry, but the patch I posted a few days ago had a bug that caused a SIGSEGV when more results than available were wanted. I did not see the bug earlier, because the problem occurs only after showing all the results and my templates were arranged so that I never saw a difference. I am reposting the patch (hopefully bugfree) now against htdig-3.2.0b3-010701: Regards, Peter Original posting: Peter Stieglecker wrote: > I would like to suggest a few additional CGI parameters to htsearch: > > * nohead: If set to 'true' will immediately start the output of results > without any HTTP headers. > > * startat, stopat: If they are set to integer values, they will override > paging (if they are not set, the behaviour is unchanged). Output will > start at the requested item (starting at 1) and continue up to stopat. > If only one of the parameters is set, the other one will default to > 1 for startat, total number of matches for stop at. FIRSTDISPLAYED and > LASTDISPLAYED are set accordingly. If both are unset, the behaviour is > the same as before. > > The reason for doing this is I am currently writing a small wrapper for > htsearch, to make live easier with our template system. We would like to use > our own paging mechanism. The patch is downward compatible, coming to life > only when startat and/or stopat are actually used. -- ________________________________________________________________________ ICAN Internet Services GmbH - www.ican.at www.loq12.at Peter Stieglecker Loquaiplatz 12/1, A-1060 Vienna [EMAIL PROTECTED] Tel: +43(1) 595 41 24/15 Fax: +43(1) 595 41 24/99 ICQ: 45696226
htdig-3.2.0b3-010701-nohead-startat-stopat.patch.gz
------------------------------------ To unsubscribe from the htdig3-dev mailing list, send a message to [EMAIL PROTECTED] You will receive a message to confirm this.
