Received: with ECARTIS (v1.0.0; list gopher); Fri, 21 Oct 2005 07:32:12 -0500 (CDT) Received: from gatekeeper.excelhustler.com ([69.44.136.67] helo=excelhustler.com) by glockenspiel.complete.org with esmtps (with TLS-1.0:RSA_AES_256_CBC_SHA:32) (No TLS peer certificate) (Exim 4.50) id 1ESw47-0007ks-Tg; Fri, 21 Oct 2005 07:32:12 -0500 Received: from jgoerzen by excelhustler.com with local (Exim 4.54) id 1ESw42-00059U-Nk; Fri, 21 Oct 2005 07:32:02 -0500 Date: Fri, 21 Oct 2005 07:32:02 -0500 From: John Goerzen To: gopher@complete.org Subject: [gopher] Re: Interactive Query Items Message-ID: <20051021123202.GC19426@excelhustler.com> References: <20051021181843.9023510.papa@jtan.com> MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051021181843.9023510.papa@jtan.com> User-Agent: Mutt/1.5.11 X-Spam-Status: No (score 0.0): none X-Virus-Scanned: by Exiscan on glockenspiel.complete.org at Fri, 21 Oct 2005 07:32:12 -0500 Content-Transfer-Encoding: 8bit X-archive-position: 1133 X-ecartis-version: Ecartis v1.0.0 Sender: gopher-bounce@complete.org Errors-to: gopher-bounce@complete.org X-original-sender: jgoerzen@complete.org Precedence: bulk Reply-to: gopher@complete.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: Gopher X-List-ID: Gopher List-subscribe: List-owner: List-post: List-archive: X-list: gopher On Fri, Oct 21, 2005 at 06:18:43PM +0900, David Meyer wrote: > Does PyGopherD have support for Gopher+ interactive query items? If so > how can gopher site builders access this function? Pygopherd does not have support for Gopher+ forms. However, it does have support for basic gopher interactive queries, such as you can see at gopher://gopher.quux.org:70/1/Reference (hit the "Dictionary Database, Search" link). The code behind that is in the pygopherd source tree under pygfarm/dict.pyg. The part you are looking for is self.searchrequest. Also, in handlers/scriptexec.py, pygopherd will set the environment variable SEARCHREQUEST if you are writing a generic handler in some other language. -- John