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: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.