Re: extracting the root domain from a URL [message #171701 is a reply to message #171698] |
Sun, 16 January 2011 17:04 |
Thomas 'PointedEars'
Messages: 701 Registered: October 2010
Karma:
|
Senior Member |
|
|
Captain Paralytic wrote:
> Thomas 'PointedEars' Lahn wrote:
>> Captain Paralytic wrote:
>>> On Jan 13, 11:26 pm, Mike <mpea...@gmail.com> wrote:
>>>> I thought .com, .asia, etc. was the "TLD". What would you call the
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>> 'site.com' or 'site.co.uk' portion of the url? Regardless of the
>>>> name, can you suggest an effective and accurate way to extract it?
>>
>>> It is and it is also the root. It may not be the organisation root,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>> but it is the domain root.
^^^^^^^^^^^^^^^^^^^^^
>>> […]
>>> http://www.answers.com/topic/root-domain
>>
>> I suggest you re-read that (correct) answer you are referring to as it
>> proves you wrong.
>
> Here we go again! No it doesn't.
Yes, it does.
> There are 2 definitions there and only the second one refers to the
> internet. That definition quite clearly states: "The starting point
^^^^^^^^^^^^^^^^^^
> of the top level domain structure on the Internet. It is the root, or
> entry point, to the .com, .org, .net, etc. domains."
^^^^^^^^^^^^^^^
Yes, the *entry point* *to* those domains; not the domains themselves.
To be precise, the root domain is the trailing dot that is usually omitted,
as in foo.example.com.<-------------------------'
Notice the difference?
PointedEars
--
realism: HTML 4.01 Strict
evangelism: XHTML 1.0 Strict
madness: XHTML 1.1 as application/xhtml+xml
-- Bjoern Hoehrmann
|
|
|