--- link.module.orig	2009-10-20 15:26:46.000000000 +0200
+++ link.module	2009-10-20 15:22:59.000000000 +0200
@@ -594,6 +594,7 @@
     $tokens['link']['url'] = t("Link URL");
     $tokens['link']['title'] = t("Link title");
     $tokens['link']['view'] = t("Formatted html link");
+    $tokens['link']['host'] = t("Link host");
 
     return $tokens;
   }
@@ -606,6 +607,8 @@
     $tokens['url'] = $item['url'];
     $tokens['title'] = $item['title'];
     $tokens['view'] = isset($item['view']) ? $item['view'] : '';
+    $host = substr($item['url'], strpos($item['url'], '//') + 2);
+    $tokens['host'] = substr($host, 0, strpos($host, '/'));
 
     return $tokens;
   }
