Complete.Org: Mailing Lists: Archives: gopher: October 2005:
[gopher] Re: Interactive Query Items
Home

[gopher] Re: Interactive Query Items

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: gopher@xxxxxxxxxxxx
Subject: [gopher] Re: Interactive Query Items
From: John Goerzen <jgoerzen@xxxxxxxxxxxx>
Date: Fri, 21 Oct 2005 07:32:02 -0500
Reply-to: gopher@xxxxxxxxxxxx

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



[Prev in Thread] Current Thread [Next in Thread]