Hi List, I hope I am not too rude, but in my attached patch (against htdig-3.2.0b2), 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. What I really would _love_ to have, was a Python Module for ht://Dig searches. Does anybody know of any development going into this direction? Regards, Peter -- ________________________________________________________________________ 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.0b2-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.
