Received: with LISTAR (v1.0.0; list gopher); Thu, 17 Jan 2002 00:49:23 -0500 (EST) Return-Path: Delivered-To: gopher@complete.org Received: from stockholm.ptloma.edu (stockholm.ptloma.edu [199.106.86.50]) by pi.glockenspiel.complete.org (Postfix) with ESMTP id D777A3B813 for ; Thu, 17 Jan 2002 00:49:22 -0500 (EST) Received: (from spectre@localhost) by stockholm.ptloma.edu (8.9.1/8.9.1) id VAA11384 for gopher@complete.org; Wed, 16 Jan 2002 21:53:41 -0800 From: Cameron Kaiser Message-Id: <200201170553.VAA11384@stockholm.ptloma.edu> Subject: [gopher] Re: Bucktooth+ In-Reply-To: <3C4646F6.84574399@sympatico.ca> from Ralph Furmaniak at "Jan 16, 2 10:37:26 pm" To: gopher@complete.org Date: Wed, 16 Jan 2002 21:53:41 -0800 (PST) X-Mailer: ELM [version 2.4ME+ PL39 (25)] MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-archive-position: 351 X-listar-version: Listar v1.0.0 Sender: gopher-bounce@complete.org Errors-to: gopher-bounce@complete.org X-original-sender: spectre@stockholm.ptloma.edu Precedence: bulk Reply-to: gopher@complete.org List-help: List-unsubscribe: List-software: Listar version 1.0.0 X-List-ID: Gopher List-subscribe: List-owner: List-post: List-archive: X-list: gopher > It wasn't that difficult, but I still needed over 120 new lines of code, > nearly doubling the size of buckd (now distinguished for my own purposes > as buckd+ Might be interesting to look at. > Cameron: you made it so that in the selector everything after a ? is > counted as data and sent to the script like search input. This seems to > be what you use for dbrowse, but I did not see it in the protocol specs > so it is no longer supported. Do you want to put this into the > protocol? How should it merge with the other data sent, or should we > just assume that these exclude each other. I also apologize for messing > up some of your pretty code. It's not part of the protocol, just one of Bucktooth's features. Note however that I'm wringing some subtle bugs out of the argument parsing and these are due for -pr4. So this is by no means finalised. I chose ? to do it since it seemed rarely used as part of a selector and that it would be easily visually parsed since most HTTP GET-based CGIs accept arguments the same way. > What is a good way to check when a file has been last modified (ie for > the admin block). Keep in mind that this is being done in perl. You could use the stat() call. One of the list elements returned is the modification time; see the perlfunc manpage. -- ----------------------------- personal page: http://www.armory.com/~spectre/ -- Cameron Kaiser, Point Loma Nazarene University * ckaiser@stockholm.ptloma.edu -- There is no Dark Side of the Moon, really. Matter of fact, it's all dark. --