--- link.module.orig 2009-10-20 15:26:46.000000000 +0200 +++ link.module 2009-10-20 18:27:53.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 = @parse_url($item['url']); + $tokens['host'] = $host['host']; return $tokens; }