View Single Post
Old 12-31-2012, 08:07 PM   PM User | #9
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,200
Thanks: 59
Thanked 3,996 Times in 3,965 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
I *can* get rid of subdomains. It's just much more complex.

The first thought is to just get rid of everything in front of the first period.

That simplifies things tremendously: No more need to distinguish between http: and https:

BUT... What about domains with *NO* prefix?

Example: What if you have just http://ebay.com/xxx?

If I strip every thing before (and including) the first period we would end up with just com

OOPS?
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Old Pedant is offline   Reply With Quote