try
{
// Lookup or discover the link.
// If it's already known, the result will be returned without
// any overhead; if not, the discovery will be scheduled.
mdmanager.lookupOrDiscover(new URL(link));
} catch (MalformedURLException e1)
{
// Not a problem, just skip
}
}