Re: Gopher URLs in FAQs

---------

Peter J. Kappesser (pjkappes@mailbox.syr.edu)
Wed, 01 Mar 1995 06:36:18 -0500


Recently tyg@valhalla.HQ.ileaf.com (Tom Galloway) wrote:
> Could someone please tell me how the following should be written in order
> to be picked up as a working URL?
>
>gopher://cerebus.acusd.edu:70/pub/Comics/Interviews/Vincent Sullivan

I've been fiddling with a perl script which is meant to be invoked by macro
from a mailreader or newsreader, which slurps the current message or article
and converts it to a rough HTML file (basically wrapping it in <pre></pre>)
while making things that look like URLs into links, and feeds the result
into lynx -- to allow us po' fokes with only VT-100 tools to do kewl things
like Netscape does.

Anyway, on a whim I actually tried this example with the space replaced by
%20, and it didn't work. So I connected to the gopher site and worked my way
down to the example file, and lynx reported the link to be:

gopher://cerebus.acusd.edu/00ftp%3apub%3aComics%3aInterviews%3aVincent%20Sullivan

So the plot thickens... the gopher server is serving a file that can be
retrieved via FTP. Thus, a better URL would be

ftp://cerebus.acusd.edu/pub/Comics/Interviews/Vincent%20Sullivan

which worked fine.

BTW, when my script is refined enough I'll post it to news.software.readers,
one of the www groups, and comp.lang.perl... if you're curious to see what
its output looks like, I used it to make a quick-n-dirty conversion of one
of my FAQs to a web page. See
http://web.syr.edu/~pjkappes/muckdesc.html

--
"Do I contradict myself? Very well then I contradict myself,
(I am large, I contain multitudes.) (No you don't.) (Yes, I do.)
(No you don't!) (Yes I do!!) HEY! I'm trying to write here!!"
				-- "Leaves of Grass", first draft
pjkappes@mailbox.syr.edu (Peter Kappesser)


[ Usenet Hypertext FAQ Archive | Search Mail Archive | Authors | Usenet ]
[ 1993 | 1994 | 1995 | 1996 | 1997 ]

---------

faq-admin@landfield.com

© Copyright The Landfield Group, 1997
All rights reserved