Edge cases in domain name processing
inductiveload Mon, 05/21/2012 - 12:16
Hello, just a note that the mangling performed on the domain field at the top of logo pages is a bit over-aggressive. For example RC Components is at rswww.com, but this is processed to just "rscom". I think making sure that the "www." prefix is preceded by a space or occurs at the start of the string would help. The only case I can think of where even this would not work is www.org, which is a redirect to w3.org anyway.
Additionally, things which have no domain, such as a router name like BT HomeHub 2 are automatically lower-cased. Perhaps detecting if each part of the title (split by commas) is a valid domain (e.g. no spaces, at least one dot) before triggering the lowercasing for that part?
Thanks for the great tool and site!
Search logos
Search site
Navigation
User login
Online users
Active - 15 mins:
Recent comments
-
by: wakawaka11 min 34 sec ago
-
by: sijiv3175913 min 39 sec ago
-
by: peter65416 min 30 sec ago
-
by: peter65436 min 14 sec ago
-
by: sijiv3175948 min 42 sec ago
-
by: peter6541 hour 12 min ago
-
by: peter6541 hour 32 min ago
-
by: peter6541 hour 52 min ago