From: David S. P. <da...@ol...> - 2006-03-01 16:30:37
|
Hi !! >>just take a look at any parser that uses that functions and avoid >>looking at the functions code itself, it will show you how to use that >>functions (handlers using that functions, almost all, are quite simple >>to understand) > > Yes, the handlers are easy to understand, but my trying to use those > functions in a similar way doesn't yield good results. > > Here's sample output for one of the domains I use, i.e. pekin.waw.pl. you should use $r = get_blocks($data_str['rawdata'], $items); instead of $r = get_blocks($data_str, $items); also you need to parse blocks with generic_parse_b instead of using get_contacts. I have attached a working pl handler, it will left to detect name servers but it's not possible by now, i will try to change something in the parser so nameserver could be correctly detected. -- Best regrads ... ---------------------------------------------------------------- David Saez Padros http://www.ols.es On-Line Services 2000 S.L. e-mail da...@ol... Pintor Vayreda 1 telf +34 902 50 29 75 08184 Palau-Solita i Plegamans movil +34 670 35 27 53 ---------------------------------------------------------------- |