hi, i've done some poking and not found an answer to this, so forgive me if it's been done and dusted.
i have a template page which drives the content on a site i'm building. i have a small search form at the top of the page, which calls /app/search/results.html. results.html takes the search argument from the search box and calls htsearch on a remote server with the appropriate parameters and returns the results. this is nice because the search results integrate seamlessly into the rest of the site. now my problem is this: the previous and next buttons at the bottom of the results page anchor to /cgi- bin/htsearch?arguments. this doesn't work because /cgi- bin/htsearch resides on another server. plus that would break my setup (there would be no navigation etc) i've looked through the docs pretty carefully and see no way of changing the url these buttons call. does anyone know if/how this can be changed? if not, is it possible to retrieve the variable which contains the number of pages of results? if i can get that info, then i can write my own code to add the 'page=pagenum' argument but i need to know how many pages there are, otherwise it would break when i run out of search results. i suppose the painful way of doing this would be to parse the "Documents 1 - 10 of 19 matches" string and divide 19 by 10 and round up. but that's ugly :D tia, chris. -- Chris Wik Unix Systems Admin, ANU Internet Services http://www.anu.net/ mailto:[EMAIL PROTECTED] _______________________________________________________________ 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

