I just added version 1.5.0 to SourceForge.net. This newer version includes a new function that one can use to convert a URI to lowercase. This is important to call tld() because the URI is going to be compared to top level domain names that are all in lowercase.
The new function is called tld_domain_to_lowercase(). It takes a string as input and returns a copy in lowercase. The function understands encoded URIs and UTF-8 as expected by the standard.
The project also includes a new test to make sure I get all the versions bumped each time I do a new update.
P.S. I published 1.5.1 today ...
I just published libtld version 1.4.22 to include many new gTLDs and also mark a few as deprecated or correct some that were considered private and not defined by a country (or vice versa.)
This includes many of the INA accepted TLDs such as .site and .love.
It also includes many new TLDs that are in a language other than English (or at least using Latin letters.) Japan actually got 47 new domain names in Japanese. Several Arab countries and Pakistan got such domains too.
There are also many new brand extensions.
What would be required now is a better set of categories, and actually, a ...
There is yet another update of libtld. This time the effective_tld_names.dat file included many new gTLDs, even some that are not yet, but will very soon be official.
It also included many corrections to existing country domain names such as .uk which is now available as a first level domain name, and .ve which changed quite a bit too.
There are also a few domains that were removed (now marked deprecated) such as 4 .us and 2 .ru sub-domains.
As per the list from Mozilla, there are quite a few new sub-domains used as main domain names by various businesses such as a few amazonaws and a new ...
I added the following:
.website (we got snap.website, of course!)
I also added .loan in the proposed list. There are another 292 or so that have been proposed and that we could add to that ...
As the ICANN is adding new Global Top Level Domains (gTLD), we are updating our library.
Many of those names are already approaved, although many are not yet for sale. We added quite a few entries!
There are a few new professionals entries:
.actor .builders .dental .plumbing .surgery
And they accepted a few language related TLDs:
.cat .eus .gal
Also regions got their share:
.aq .asia .berlin .cologne .eu .kiwi .london .miami .moscow .nagoya
.nyc .okinawa .paris .quebec .ryukyu .saarland .tokyo .vegas .wien ...
With version 1.4.0 of the libtld we bring to you one additional feature in Internet identifier verification: check that a list of email addresses is indeed valid.
If you search for a way to verify an email address then the libtld is your solution. It will not only check that the email address is valid (only include characters that are acceptable as per RFC 5322,) it will also look at the domain name TLD and verify that the specified domain is indeed valid.
Along the way we also worked on getting the library to compile with Visual Studio 10+ and Cygwin so you can make use of it under ...
The libtld was finally updated to include the newest world wide top-level domain names added in the last 12 months or so.
The library also better supports exceptions such as .uk and includes a few corrections.
Along those corrections came some additions to the documentation as we now support a C++ class which will really ease the use of the library for C++ programmers since it uses std::strings instead of char *. Although at this time it only supports UTF-8 strings.
The library also includes the necessary code to support a PHP extension so the power of the tld() function is now painlessly ...