Created helper to extract domain from posts