Skip to content

Commit

Permalink
README update with new features
Browse files Browse the repository at this point in the history
  • Loading branch information
Flip Sasser committed Aug 30, 2013
1 parent c532029 commit 7eb9b00
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,16 @@ TLDs, as well:
@uri.tld #=> "co.uk"
```

#### Private / Public TLDs

By default, Addressabler knows about ICANN public TLDs. There are, however, lots and lots of private TLDs that companies have registered. For example, as Dom Hodgson [points out](https://github.com/flipsasser/addressabler/issues/3), "blogspot.com" is a TLD by private, non-ICANN standards which are applied by the Mozilla foundation to the TLD list.

As such, Addressabler defaults to parsing the ICANN public TLDS (`Addressabler.public_tlds`) but can easily be instructed to look at private TLDs like so:

```ruby
Addressabler.use_private_tlds = true
```

#### Custom TLDs
You can specify custom TLDs - which aren't actually working TLD's on the
internet - for internal usage. One example would be a custom development TLD:
Expand Down

0 comments on commit 7eb9b00

Please sign in to comment.