Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Guide on adding new parser for some server
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Uko  
View profile  
 More options Jun 22 2012, 5:15 am
From: Uko <u...@unikernel.net>
Date: Fri, 22 Jun 2012 02:15:59 -0700 (PDT)
Local: Fri, Jun 22 2012 5:15 am
Subject: Guide on adding new parser for some server

Hi, I want to improve ruby-whois lib once more. Now I want to add a parser
for lviv.ua domains as they have different whois format but at the moment
are handled by whois.ua parser. Can someone describe my actions for these
task, so I can add this parser and probably some more.

Thank you!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Simone Carletti  
View profile  
 More options Jun 24 2012, 3:51 pm
From: Simone Carletti <wep...@gmail.com>
Date: Sun, 24 Jun 2012 12:51:24 -0700 (PDT)
Local: Sun, Jun 24 2012 3:51 pm
Subject: Re: Guide on adding new parser for some server

Hi Uko,
I'm sorry for the late reply, for some reason I didn't receive notification
of this thread.

Could you explain a little bit what is the behavior of lviv.ua? According
to IANA, the whois server for .UA domain is whois.ua.
http://www.iana.org/domains/root/db/ua.html

Is there an other whois server? What type of domains belong to this new
server?

-- Simone


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Uko  
View profile  
 More options Jun 24 2012, 5:15 pm
From: Uko <u...@unikernel.net>
Date: Sun, 24 Jun 2012 14:15:43 -0700 (PDT)
Local: Sun, Jun 24 2012 5:15 pm
Subject: Re: Guide on adding new parser for some server

You can check 2 responses side by side here: http://diffchecker.com/Ns8yD78t

As you can see when you query *.lviv.ua you get:

% The object shown below is NOT in the UANIC database.
% It has been obtained by querying a remote server:
% (whois.lviv.ua) at port 43.
%

so I think the data is from whois.lviv.ua


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Simone Carletti  
View profile   Translate to Translated (View Original)
 More options Jun 26 2012, 8:22 am
From: Simone Carletti <wep...@weppos.net>
Date: Tue, 26 Jun 2012 14:22:04 +0200
Local: Tues, Jun 26 2012 8:22 am
Subject: Re: Guide on adding new parser for some server

I'm investigating the response and it seems the issue is actually larger
than a single delegation.

Apparently, the .UA domain has several geo-names SLD (see [1] and [2]).

[1] http://hostmaster.ua/?domadv
[2]
https://github.com/mozilla/mozilla-central/blob/master/netwerk/dns/ef...

Every SLD (at least the two I tried) provides their own whois
implementation.

$ ruby-whois rada.cherkassy.ua

% The object shown below is NOT in the UANIC database.
% It has been obtained by querying a remote server:
% (whois.ck.ua) at port 43.
%
% REDIRECT BEGIN

$ ruby-whois az.lviv.ua

% request from 80.117.237.61
% This is the Ukrainian Whois query server #F.
% The Whois is subject to Terms of use
% See https://hostmaster.ua/services/
%

% The object shown below is NOT in the UANIC database.
% It has been obtained by querying a remote server:
% (whois.lviv.ua) at port 43.
%
% REDIRECT BEGIN

$ ruby-whois song.lutsk.ua

% request from 80.117.237.61
% This is the Ukrainian Whois query server #B.
% The Whois is subject to Terms of use
% See https://hostmaster.ua/services/
%

% The object shown below is NOT in the UANIC database.
% It has been obtained by querying a remote server:
% (whois.lutsk.ua) at port 43.
%
% REDIRECT BEGIN

However, as far as I noticed, even in case of redirect the final response
(excluding comments) seems to be the same format of the original
whois.uaresponse. In that case it's simple, we just need to be aware
of the
comments.

Can you confirm this?

--
Simone Carletti
Application Developer

Site & Blog: http://www.simonecarletti.com/
LinkedIn: http://linkedin.com/in/weppos
Skype: weppos


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Юрко Тимчук  
View profile   Translate to Translated (View Original)
 More options Jun 26 2012, 5:10 pm
From: Юрко Тимчук <yuriy.tymc...@unikernel.net>
Date: Tue, 26 Jun 2012 23:10:24 +0200
Local: Tues, Jun 26 2012 5:10 pm
Subject: Re: Guide on adding new parser for some server

There's a difference in contacts format. Can we bypass it with scanner or something?

Надіслано з iPhone

26 черв. 2012 о 14:22 Simone Carletti <wep...@weppos.net> написав(ла):


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Simone Carletti  
View profile  
 More options Jun 27 2012, 3:16 am
From: Simone Carletti <wep...@weppos.net>
Date: Wed, 27 Jun 2012 09:16:15 +0200
Local: Wed, Jun 27 2012 3:16 am
Subject: Re: Guide on adding new parser for some server

On Tue, Jun 26, 2012 at 11:10 PM, Юрко Тимчук
<yuriy.tymc...@unikernel.net>wrote:

> There's a difference in contacts format. Can we bypass it with scanner or
> something?

The scanner is used to parse all the properties into a Hash. You should
deal with contact composition at parser level.

-- Simone

--
Simone Carletti
Application Developer

Site & Blog: http://www.simonecarletti.com/
LinkedIn: http://linkedin.com/in/weppos
Skype: weppos


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Юрко Тимчук  
View profile   Translate to Translated (View Original)
 More options Jun 27 2012, 3:29 am
From: Юрко Тимчук <yuriy.tymc...@unikernel.net>
Date: Wed, 27 Jun 2012 09:29:06 +0200
Local: Wed, Jun 27 2012 3:29 am
Subject: Re: Guide on adding new parser for some server

I understand. But as you can see from my first post the format of the contacts is different. And I don't know how to deal with it.

Надіслано з iPhone

27 черв. 2012 о 09:16 Simone Carletti <wep...@weppos.net> написав(ла):


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Simone Carletti  
View profile   Translate to Translated (View Original)
 More options Jun 27 2012, 3:55 am
From: Simone Carletti <wep...@weppos.net>
Date: Wed, 27 Jun 2012 09:55:38 +0200
Local: Wed, Jun 27 2012 3:55 am
Subject: Re: Guide on adding new parser for some server

The way is an if/else condition. You check for the format and you compose
the contact.

--
Simone Carletti
Application Developer

Site & Blog: http://www.simonecarletti.com/
LinkedIn: http://linkedin.com/in/weppos
Skype: weppos


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »