|
|
@ -33,7 +33,7 @@ class Exiftool { |
|
|
|
function displayMetadata() { |
|
|
|
function displayMetadata() { |
|
|
|
$output=''; |
|
|
|
$output=''; |
|
|
|
$exifDom = DOMDocument::loadXML($this->item->get_datastream_dissemination('EXIF')); |
|
|
|
$exifDom = DOMDocument::loadXML($this->item->get_datastream_dissemination('EXIF')); |
|
|
|
|
|
|
|
if ($exifDom != NULL) { |
|
|
|
$description = $exifDom->getElementsByTagNameNS('http://www.w3.org/1999/02/22-rdf-syntax-ns#','Description'); |
|
|
|
$description = $exifDom->getElementsByTagNameNS('http://www.w3.org/1999/02/22-rdf-syntax-ns#','Description'); |
|
|
|
if ($description->length > 0) { |
|
|
|
if ($description->length > 0) { |
|
|
|
$description=$description->item(0); |
|
|
|
$description=$description->item(0); |
|
|
@ -57,6 +57,7 @@ class Exiftool { |
|
|
|
); |
|
|
|
); |
|
|
|
$output = theme('fieldset', $fieldset); |
|
|
|
$output = theme('fieldset', $fieldset); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
return $output; |
|
|
|
return $output; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|