get country

This commit is contained in:
sparc 2012-03-29 09:54:51 +00:00
parent 67b53fffe0
commit 330ab867db

View file

@ -35,14 +35,15 @@ class apnic_handler
function parse ($data_str, $query)
{
$translate = array (
'fax-no' => 'fax',
'e-mail' => 'email',
'nic-hdl' => 'handle',
'person' => 'name',
'country' => 'address',
'netname' => 'name',
'descr' => 'desc',
'aut-num' => 'handle'
'fax-no' => 'fax',
'e-mail' => 'email',
'nic-hdl' => 'handle',
'person' => 'name',
'country' => 'address',
'netname' => 'name',
'descr' => 'desc',
'aut-num' => 'handle',
'country' => 'country'
);
$contacts = array (
@ -119,4 +120,4 @@ class apnic_handler
return $r;
}
}
?>
?>