Received: with ECARTIS (v1.0.0; list gopher);
 Fri, 29 Aug 2003 08:10:59 -0500 (CDT)
Return-Path: <hardburn@runbox.com>
X-Original-To: gopher@complete.org
Delivered-To: gopher@complete.org
Received: from localhost (localhost [127.0.0.1])
	by gesundheit.complete.org (Postfix) with ESMTP id 0B7C618320BA
	for <gopher@complete.org>; Fri, 29 Aug 2003 08:10:58 -0500 (CDT)
Received: from aibo.runbox.com (cujo.runbox.com [193.71.199.138])
	(using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits))
	(Client did not present a certificate)
	by gesundheit.complete.org (Postfix) with ESMTP id 39444183209C
	for <gopher@complete.org>; Fri, 29 Aug 2003 08:10:57 -0500 (CDT)
Received: from [10.9.9.15] (helo=odie.runbox.com)
	by lufsen.runbox.com with esmtp (Exim 4.20)
	id 19sj1e-0002Hx-0K
	for gopher@complete.org; Fri, 29 Aug 2003 15:10:50 +0200
Received: from mail by odie.runbox.com with local (Exim 4.20)
	id 19sj1I-0008Ik-SK
	for gopher@complete.org; Fri, 29 Aug 2003 15:10:28 +0200
Content-type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
From: "Timm Murray" <hardburn@runbox.com>
To: gopher@complete.org
Subject: [gopher] Re: pygopherd & ASK
Date: Fri, 29 Aug 2003 13:10:28 GMT
X-Sender: 79977
X-Mailer: RMM
Message-Id: <E19sj1I-0008Ik-SK@odie.runbox.com>
X-Sender: unknown
X-Scanned-By: clamscan at complete.org
X-archive-position: 821
X-ecartis-version: Ecartis v1.0.0
Sender: gopher-bounce@complete.org
Errors-to: gopher-bounce@complete.org
X-original-sender: hardburn@runbox.com
Precedence: bulk
Reply-to: gopher@complete.org
List-help: <mailto:ecartis@complete.org?Subject=help>
List-unsubscribe: <mailto:gopher-request@complete.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: Gopher <gopher.complete.org>
X-List-ID: Gopher <gopher.complete.org>
List-subscribe: <mailto:gopher-request@complete.org?Subject=subscribe>
List-owner: <mailto:jgoerzen@complete.org>
List-post: <mailto:gopher@complete.org>
List-archive: <http://www.complete.org/mailinglists/archives/>
X-list: gopher

<>
> class EnhancedGopherProtocol(rfc1436.GopherProtocol):
>     def renderobjinfo(self, entry):
>         return entry.gettype() + \
>                entry.getname() + "\t" + \
>                entry.getselector() + "\t" + \
>                entry.gethost(default =3D self.server.server_name) + "\t" =
+ \
>                str(entry.getport(default =3D self.server.server_port)) + =
"\t" + \
>                str(entry.getsize()) + "\t" + \
>                entry.getmimetype() + "\t" + \
>                entry.getencoding() + "\t" + \
>                entry.getlanguage()
>=20
> That is, you take the RFC1436 standard gopher and tack on new fields at t=
he
> end for the file size, its MIME type, encoding, and language.  Should be
> easy enough to parse and ignore as the case may be.

Personally, I think all non-RFC1436 fields should be delimited somehow, e.g=
.:

<RFC1436 fields>\tsize: 287\tmime: text/plain\tencoding: Latin-1\tlanguage:=
 en\r\n

But I think I need to review the Gopher+ docs again.