After loading a XRD file, you should make sure that it really describes the resource/URL you are looking for. describes() checks both the subject and alias tags:

require_once 'XML/XRD.php';
$xrd = new XML_XRD();
if (!
$xrd->describes('')) {
'XRD document is not the correct one for');
Loading an XRD file (Previous) Accessing links (Next)
Last updated: Sun, 04 Oct 2015 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.