Browse Source

Merge branch 'fits' of github.com:ruebot/islandora into fits

Conflicts:
	plugins/fits.inc
pull/152/head
nruest 13 years ago
parent
commit
b547691805
  1. 10
      plugins/fits.inc

10
plugins/fits.inc

@ -50,11 +50,11 @@ class fits {
*/ */
function displayFits() { function displayFits() {
$output = ''; $output = '';
$exif = $this->item->get_datastream_dissemination('FITS'); $fits = $this->item->get_datastream_dissemination('FITS');
if (trim($exif) != '') { if (trim($fits) != '') {
$exifDom = DOMDocument::loadXML($this->item->get_datastream_dissemination('FITS')); $fitsDom = DOMDocument::loadXML($this->item->get_datastream_dissemination('FITS'));
if ($exifDom != NULL) { if ($fitsDom != NULL) {
$description = $exifDom->getElementsByTagName('fits'); $description = $fitsDom->getElementsByTagName('fits');
if ($description->length > 0) { if ($description->length > 0) {
$description = $description->item(0); $description = $description->item(0);
$output .= '<div class="fedora_technical_metadata"><ul>'; $output .= '<div class="fedora_technical_metadata"><ul>';

Loading…
Cancel
Save