$p = $grabber->grabSingle($url); # print_r($p); echo utf8_decode($p); break; case 'ascendants': $p = $grabber->grabSingle($url); $list = $grabber->grabAscendants($p, $level = 15); break; case 'descendants': $p = $grabber->grabSingle($url); $grabber->grabDescendants($p, $level = 14); break; case 'siblings': $p = $grabber->grabSingle($url); printf("siblings of : %s\n", utf8_decode($p->quickDisplay())); $list = $grabber->grabSiblings($p); foreach ($list as $p) { printf(" - %s\n", utf8_decode($p->quickDisplay())); } break; case 'half-siblings': $p = $grabber->grabSingle($url); printf("half-siblings of : %s\n", utf8_decode($p->quickDisplay())); $list = $grabber->grabHalfSiblings($p); foreach ($list as $p) { printf(" - %s\n", utf8_decode($p->quickDisplay())); } break; case 'unions': $p = $grabber->grabSingle($url); $unions = $grabber->grabUnionsAndChilds($p);