Hi list, Ever needed to find out which part of a domain is user-defined and which part is the TLD? (Like ".co.uk" and ".com") Mozilla has created a nice list at publicsuffix.org which is the base for my work presented below.
See this Wiki entry: http://wiki.magnolia-cms.com/display/WIKI/TldPatterns+%28public+suffix+list%29+generator and: http://code.google.com/p/guava-libraries/issues/detail?id=475 The code in the base class is not final, but the Guava output is identical (besides a few to-be-expected differences) to the original. For the algorithms that use TldPatterns see http://code.google.com/p/guava-libraries/source/browse/trunk/src/com/google/common/net/InternetDomainName.java Kind regards, Felix Rabe ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
