Parse properties of links in XRD files

This commit is contained in:
Evan Prodromou 2011-01-03 07:41:13 -08:00
parent c3aca938a8
commit 6389099671

View File

@ -173,6 +173,13 @@ class XRD
switch($node->tagName) {
case 'Title':
$link['title'][] = $node->nodeValue;
break;
case 'Property':
$link['property'][] = array('type' => $node->getAttribute('type'),
'value' => $node->nodeValue);
break;
default:
common_log(LOG_NOTICE, "Unexpected tag name {$node->tagName} found in XRD file.");
}
}
}