[gopher] Re: Interactive Query Items
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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
|
|