added gtld handler for namejuice
This commit is contained in:
parent
95602e328c
commit
0bc7853ffe
4 changed files with 66 additions and 0 deletions
|
@ -1,3 +1,6 @@
|
|||
2006/03/19 Robert Apgood <rob@carpelaw.com>
|
||||
- added gtld handler for namejuice
|
||||
|
||||
2006/03/14 David Saez <david@ols.es>
|
||||
- fixed case detection on whois.parser.php
|
||||
|
||||
|
|
61
src/whois.gtld.namejuice.php
Executable file
61
src/whois.gtld.namejuice.php
Executable file
|
@ -0,0 +1,61 @@
|
|||
<?php
|
||||
/*
|
||||
Whois.php PHP classes to conduct whois queries
|
||||
|
||||
Copyright (C)1999,2005 easyDNS Technologies Inc. & Mark Jeftovic
|
||||
|
||||
Maintained by David Saez (david@ols.es)
|
||||
|
||||
For the most recent version of this package visit:
|
||||
|
||||
http://www.phpwhois.org
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/* Example "namejuice.com" */
|
||||
|
||||
if (!defined("__NAMEJUICE_HANDLER__"))
|
||||
define("__NAMEJUICE_HANDLER__", 1);
|
||||
|
||||
require_once('whois.parser.php');
|
||||
|
||||
class namejuice_handler
|
||||
{
|
||||
|
||||
function parse($data_str, $query)
|
||||
{
|
||||
|
||||
$items = array(
|
||||
"owner" => "Registrant Contact:",
|
||||
"admin" => "Administrative Contact:",
|
||||
"tech" => "Technical Contact:",
|
||||
"domain.name" => "Domain name:",
|
||||
"domain.nserver." => "Name Servers:",
|
||||
"domain.created" => "Creation date:",
|
||||
"domain.expires" => "Expiration date:",
|
||||
//"domain.changed" => "Last updated:"
|
||||
);
|
||||
|
||||
$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);
|
||||
}
|
||||
}
|
||||
?>
|
|
@ -62,6 +62,7 @@ class gtld_handler extends WhoisClient
|
|||
'ALLINDOMAINS, LLC' => 'alldomains',
|
||||
'ARSYS INTERNET, S.L. D/B/A NICLINE.COM' => 'nicline',
|
||||
'ASCIO TECHNOLOGIES, INC.' => 'ascio',
|
||||
'BRANDON GRAY INTERNET SERVICES, INC. DBA NAMEJUICE.COM' => 'namejuice',
|
||||
'BULKREGISTER.COM, INC.' => 'bulkr',
|
||||
'BULKREGISTER, LLC.' => 'bulkr',
|
||||
'CHINESEDOMAINS, LLC' => 'chdom',
|
||||
|
|
1
test.txt
1
test.txt
|
@ -50,6 +50,7 @@ innerwise sexido.com
|
|||
interdomain interdominio.com
|
||||
inwwcom inww.com
|
||||
moniker moniker.com
|
||||
namejuice namejuice.com
|
||||
netsol networksolutions.com
|
||||
nicline nicline.com
|
||||
nominalia nominalia.com
|
||||
|
|
Loading…
Reference in a new issue