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
Recent comments
-
by: sheriyar1 hour 41 min ago
-
by: sheriyar1 hour 43 min ago
-
by: wakawaka2 hours 43 sec ago
-
by: sijiv317594 hours 28 min ago
-
by: peter6544 hours 38 min ago
-
by: sijiv317594 hours 55 min ago
-
by: peter6544 hours 59 min ago
-
by: peter6545 hours 2 min ago