Introduction
Introduction Statistics Contact Development Disclaimer Help
----------------------------------------
Loading gophermap from another server
April 13th, 2018
----------------------------------------
Do you deal with multiple gopher servers and need to embed a gophermap
on one server from another? Here's a very simple trick you can do using
an executable gophermap, you can see it in action on my phlog listing
on SDF ( gopher://sdf.org:70/1/users/zcray/phlog )... It's not actually
hosted on SDF, it's loaded directly from my personal site.
So to pull this trick off, you'll need an executable gophermap and curl
like so:
#!/bin/sh
/usr/pkg/bin/curl -s gopher://gopher.zcrayfish.soy/1/phlog/
And, yes, of course, you can embed it inline like so:
#!/bin/sh
echo -e "1An awesome gopher server\t/\tgopher.zcrayfish.soy\t70"
/usr/pkg/bin/curl -s gopher://gopher.zcrayfish.soy/1/phlog/
echo This is info text | gsed -e 's/$/\tfake\t(NULL)\t1/' -e 's/^/i/'
(above example works on SDF/BSD, change paths and use regular sed as
appropriate, on GNU for instance)
----------------------------------------
Back to phlog index
gopher.zcrayfish.soy gopher root
Future direct comment submission has been disabled for this phlog entry.
Comments are still accepted by email, please send to:
[email protected]
Be sure to include the post title in the subject line! Thanks!
Nobody has commented on this post.
You are viewing proxied material from gopher.zcrayfish.soy. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.