added method to get URL from a node