<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="index" title="Text File" newcontext="true">
<p>
Received: with ECARTIS (v1.0.0; list gopher);
 Fri, 29 Aug 2003 08:10:59 -0500 (CDT)
Return-Path: &lt;hardburn@runbox.com&gt;
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 &lt;gopher@complete.org&gt;; 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 &lt;gopher@complete.org&gt;; 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: &quot;Timm Murray&quot; &lt;hardburn@runbox.com&gt;
To: gopher@complete.org
Subject: [gopher] Re: pygopherd &amp; ASK
Date: Fri, 29 Aug 2003 13:10:28 GMT
X-Sender: 79977
X-Mailer: RMM
Message-Id: &lt;E19sj1I-0008Ik-SK@odie.runbox.com&gt;
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: &lt;mailto:ecartis@complete.org?Subject=help&gt;
List-unsubscribe: &lt;mailto:gopher-request@complete.org?Subject=unsubscribe&gt;
List-software: Ecartis version 1.0.0
List-Id: Gopher &lt;gopher.complete.org&gt;
X-List-ID: Gopher &lt;gopher.complete.org&gt;
List-subscribe: &lt;mailto:gopher-request@complete.org?Subject=subscribe&gt;
List-owner: &lt;mailto:jgoerzen@complete.org&gt;
List-post: &lt;mailto:gopher@complete.org&gt;
List-archive: &lt;http://www.complete.org/mailinglists/archives/&gt;
X-list: gopher
</p>
<p>&lt;&gt;
&gt; class EnhancedGopherProtocol(rfc1436.GopherProtocol):
&gt;     def renderobjinfo(self, entry):
&gt;         return entry.gettype() + \
&gt;                entry.getname() + &quot;\t&quot; + \
&gt;                entry.getselector() + &quot;\t&quot; + \
&gt;                entry.gethost(default =3D self.server.server_name) + &quot;\t&quot; =
+ \
&gt;                str(entry.getport(default =3D self.server.server_port)) + =
&quot;\t&quot; + \
&gt;                str(entry.getsize()) + &quot;\t&quot; + \
&gt;                entry.getmimetype() + &quot;\t&quot; + \
&gt;                entry.getencoding() + &quot;\t&quot; + \
&gt;                entry.getlanguage()
&gt;=20
&gt; That is, you take the RFC1436 standard gopher and tack on new fields at t=
he
&gt; end for the file size, its MIME type, encoding, and language.  Should be
&gt; easy enough to parse and ignore as the case may be.
</p>
<p>Personally, I think all non-RFC1436 fields should be delimited somehow, e.g=
.:
</p>
<p>&lt;RFC1436 fields&gt;\tsize: 287\tmime: text/plain\tencoding: Latin-1\tlanguage:=
 en\r\n
</p>
<p>But I think I need to review the Gopher+ docs again.
</p>
</card>
</wml>
