Subject: how do i get a url's domain
From: Gustav - Railist <gustav rails.co.za>
Date: Tue, 5 Sep 2006 23:02:27 +0900
References: 209003209012
In-reply-to: 209012
Hey!
Can anybody tell me if there's a way to find what the domain of a url is ?
I was thinking somehow using Net::HTTP?
e.g.
del.icio.us => icio.us
-or-
mrboulder.blogspot.com => blogspot.com
Thanks!
Gustav