diff options
Diffstat (limited to 'urnresolve')
| -rwxr-xr-x | urnresolve | 14 | 
1 files changed, 14 insertions, 0 deletions
| @@ -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 | 
