From a6e0999bf0883c94cd0af24693fad0d95f03cbb1 Mon Sep 17 00:00:00 2001 From: sparc Date: Sat, 21 Apr 2007 11:35:50 +0000 Subject: [PATCH] added gtld handler for NICCO --- Changes.md | 3 +++ src/whois.gtld.nicco.php | 58 ++++++++++++++++++++++++++++++++++++++++ test.txt | 1 + 3 files changed, 62 insertions(+) create mode 100644 src/whois.gtld.nicco.php diff --git a/Changes.md b/Changes.md index ddac6b4..c1d29c8 100644 --- a/Changes.md +++ b/Changes.md @@ -1,3 +1,6 @@ +2007/04/21 + - added gtld handler for NICCO + 2007/04/20 - fixes and improvments in .pl handler - improved IDNA support diff --git a/src/whois.gtld.nicco.php b/src/whois.gtld.nicco.php new file mode 100644 index 0000000..d33c685 --- /dev/null +++ b/src/whois.gtld.nicco.php @@ -0,0 +1,58 @@ + 'Registrant:', + 'admin' => 'Administrative Contact', + 'tech' => 'Technical Contact', + 'domain.name' => 'Domain Name:', + 'domain.nserver.' => 'Name servers in listed order:', + 'domain.created' => 'Record created on', + 'domain.expires' => 'Record expires on', + 'domain.changed' => 'Last Updated on:' + ); + + $r = get_blocks($data_str, $items); + $r['owner'] = get_contact($r['owner']); + $r['admin'] = get_contact($r['admin']); + $r['tech'] = get_contact($r['tech']); + $r = format_dates($r, 'dmy'); + return ($r); + } + } +?> diff --git a/test.txt b/test.txt index 52138dd..0074787 100644 --- a/test.txt +++ b/test.txt @@ -53,6 +53,7 @@ melbourneit inww.com moniker moniker.com namejuice namejuice.com networksolutions networksolutions.com +nicco nicco.com nicline nicline.com nominalia nominalia.com opensrs tucows.com