Parse properties of links in XRD files
This commit is contained in:
parent
c3aca938a8
commit
6389099671
|
@ -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.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user