summaryrefslogtreecommitdiff
path: root/urnresolve
diff options
context:
space:
mode:
Diffstat (limited to 'urnresolve')
-rwxr-xr-xurnresolve14
1 files changed, 14 insertions, 0 deletions
diff --git a/urnresolve b/urnresolve
index fc777a4..d59558f 100755
--- a/urnresolve
+++ b/urnresolve
@@ -25,6 +25,16 @@ if [ "$nid" = "ietf" ];then
fi
fi
+if [ "$nid" = "phrack" ];then
+ if [ "$nss" ];then
+ if [ "$nss2" ];then
+ echo "gopher://thebackupbox.net:70/0/phrack/issues/${nss}/${nss2}.txt"
+ else
+ echo "gopher://thebackupbox.net:70/1/phrack/issues/${nss}/"
+ fi
+ fi
+fi
+
if [ "$nid" = "xkcd" ];then
echo "https://xkcd.com/${nss}/"
fi
@@ -40,3 +50,7 @@ if [ "$nid" = "fcc" ];then
grep "^$nss2\s" $PREFIX/share/urn/fcc:frs | cut -f2
fi
fi
+
+if [ "$nid" = "btih" ];then
+ btih2magnet "$nss"
+fi