>From: [EMAIL PROTECTED] >Date: Tue, 3 Jul 2001 11:18:19 -0400 (EDT) >To: [EMAIL PROTECTED] >Subject: BOUNCE [EMAIL PROTECTED]: Non-member submission from [Keith >Hodges <[EMAIL PROTECTED]>] > > >From [EMAIL PROTECTED] Tue Jul 3 11:18:17 2001 >Received: from old-callisto.ftel.co.uk (big-relay-1.ftel.co.uk >[192.65.220.123]) > by burdell.cc.gatech.edu (8.9.1/8.9.3) with ESMTP id LAA21130 > for <[EMAIL PROTECTED]>; Tue, 3 Jul 2001 11:18:16 -0400 (EDT) >Received: (from root@localhost) > by old-callisto.ftel.co.uk >(8.11.1/8.11.1/Revision:1.58/cyrus/yp) id f63FIE126107 > for [EMAIL PROTECTED]; Tue, 3 Jul 2001 16:18:14 +0100 (BST) >Received: from ftel.co.uk (mungo.ftel.co.uk [172.16.2.12]) > by old-callisto.ftel.co.uk >(8.11.1/8.11.1/Revision:1.63/scanin/yp) with ESMTP id f63FIB926089 > for <[EMAIL PROTECTED]>; Tue, 3 Jul 2001 16:18:12 +0100 (BST) >Sender: [EMAIL PROTECTED] >Message-ID: <[EMAIL PROTECTED]> >Date: Tue, 03 Jul 2001 16:18:11 +0100 >From: Keith Hodges <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >Organization: FTEL >X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.6 sun4u) >X-Accept-Language: en >MIME-Version: 1.0 >To: [EMAIL PROTECTED] >Subject: User definable protocols >References: <[EMAIL PROTECTED]> ><[EMAIL PROTECTED]> >Content-Type: text/plain; charset=us-ascii >Content-Transfer-Encoding: 7bit > >Hi there, > >I was having a look at swiki and discovered that there is no provision for >customising external link protocols for doing things other than the standard >set of http: ftp: etc. > >I think that this is a very useful thing to do and is used a lot on >http://clublet.com/c/c/why ?ExternalDirectory > >So far I have adapted the renderLinks in PageFormatter code to call different >methods for different protocols, pulling the default bahavior out to >a fallback >method. > >At the moment in my implementation each new protocal is implemented >as a method >on PageFormatter, but it is a natural thing to developthis further to add as >cusomisable entities in the SwikiBrowser (which I havent quite got my head >around yet). > >Q1. If I was to pass the code back to you would you be interested. > >Q2. My design still isnt very elegant and it would be much better to have >different classes for different protocols. Are there known performance >constraints that would make this a bad idea? > >--- > >so far I have added > >*google:squeak* >*bible:NIV/John 3:16* > >also to come > >*wiki:SmalltalkLanguage* >*why:LawOfIdentity* >*book:* >*buy:book/* > >etc etc.. >---- > >Q3 I have a problem that the space in the above gets converted to %2520, >instead of %20. do you know of a fix for that. > >---- > >yours > >[EMAIL PROTECTED] -------------------------- Mark Guzdial : Georgia Tech : College of Computing : Atlanta, GA 30332-0280 Associate Professor - Learning Sciences & Technologies. Collaborative Software Lab - http://coweb.cc.gatech.edu/csl/ (404) 894-5618 : Fax (404) 894-0673 : [EMAIL PROTECTED] http://www.cc.gatech.edu/gvu/people/Faculty/Mark.Guzdial.html
