Source for file test.php
Documentation is available at test.php
// Demonstrates Yadis discovery on both a URI and an XRI
require_once 'Services/Yadis.php';
foreach (array ('http://www.yahoo.com', '=self*shupp') as $id) {
$serviceList = $yadis->discover ();
foreach ($serviceList as $service) {
$types = $service->getTypes ();
echo $types[0 ], ' at ', implode(', ', $service->getUris ()), PHP_EOL;
echo 'Priority is ', $service->getPriority (), PHP_EOL;
Documentation generated on Mon, 11 Mar 2019 15:57:15 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|