repo: uritools
action: commit
revision: 
path_from: 
revision_from: 28d270f93f42ea35964328542c13fc22166efece:
path_to: 
revision_to: 
git.thebackupbox.net
uritools
git clone git://git.thebackupbox.net/uritools
commit 28d270f93f42ea35964328542c13fc22166efece
Author: epoch 
Date:   Wed Dec 23 18:23:59 2020 -0600

    added urn start to Makefile and use my own rfc site over gopher for urn:ietf:rfc resolution now

diff --git a/Makefile b/Makefile
index ecdb7734ce0c36974ce33fe76cc5ea6496600436..
index ..16d2e7ce73489e0e2ad37f38dc76f0413c359bad 100644
--- a/Makefile
+++ b/Makefile
@@ -43,4 +43,5 @@ install: all
 	install -t $(PREFIX)/bin data_handler
 	install -t $(PREFIX)/bin unshorten.sh
 	install -t $(PREFIX)/bin shorten
+	install -t $(PREFIX)/bin urnstart
 	chgrp shorten $(PREFIX)/bin/shorten && chmod g+s $(PREFIX)/bin/shorten
diff --git a/urnstart b/urnstart
index 4883b016a3e52d71c0132709bd1e335f00543dd8..
index ..ec610c1ef04638b2d6c45f06a8769b7f69a0b763 100755
--- a/urnstart
+++ b/urnstart
@@ -20,6 +20,10 @@ fi

 if [ "$nid" = "ietf" ];then
   if [ "$nss" = "rfc" ];then
-    uristart "https://tools.ietf.org/html/rfc""${nss2}"
+    uristart gopher://thebackupbox.net:70/0/rfc/rfc${nss2}.txt
   fi
 fi
+
+if [ "$nid" = "xkcd" ];then
+  uristart "https://xkcd.com/${nss}"
+fi

-----END OF PAGE-----