Beispiel #1
0
function xmlset($setSpecs, $name, $desc)
{
    global $output;
    $output .= "   <set>\n";
    for ($i = 0; $i < count($setSpecs); ++$i) {
        $output .= xmlformat($setSpecs[$i], 'setSpec', '', 4);
    }
    $output .= xmlformat($name, 'setName', '', 4);
    if (isset($val['setDescription']) && $val['setDescription'] != '') {
        $output .= "    <setDescription>\n";
        $prefix = 'oai_dc';
        $output .= metadataHeader($prefix);
        $output .= xmlrecord($desc, 'dc:description', '', 7);
        $output .= '     </' . $prefix;
        if (isset($METADATAFORMATS[$prefix]['record_prefix'])) {
            $output .= ':' . $METADATAFORMATS[$prefix]['record_prefix'];
        }
        $output .= ">\n";
        $output .= "    </setDescription>\n";
    }
    $output .= "   </set>\n";
}
Beispiel #2
0
 Midas Server
 Copyright Kitware SAS, 26 rue Louis Guérin, 69100 Villeurbanne, France.
 All rights reserved.
 For more information visit http://www.kitware.com/.

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

         http://www.apache.org/licenses/LICENSE-2.0.txt

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
=========================================================================*/
// please change to the according metadata prefix you use
$prefix = 'oai_dc';
$output .= '   <metadata>' . "\n";
$output .= metadataHeader($prefix);
foreach ($metadata as $m) {
    xmlgetinfo($m->getMetadataId(), $m->getValue());
}
// Here, no changes need to be done
$output .= '     </' . $prefix;
if (isset($METADATAFORMATS[$prefix]['record_prefix'])) {
    $output .= ':' . $METADATAFORMATS[$prefix]['record_prefix'];
}
$output .= ">\n";
$output .= '   </metadata>' . "\n";
Beispiel #3
0
<?php

include 'admin/library/metadata-header.php';
metadataHeader('html', $programParm, $metadata);
include 'admin/includes/test-environment-set.php';
?>

<meta name="copyright"          content="Copyright © 2003-<?php 
echo date('Y');
?>
, Wizard Creek Consulting">
<meta name="rating"             content="General">

<meta http-equiv="Content-Type"     content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="imagetoolbar"     content="no">

<link rel="alternate" type="application/rss+xml" title="Admin Version Control" 
	href="http://feeds.feedburner.com/Admin-Version-Control">

<link rel="shortcut icon" href="../favicon.ico">
<link type="text/css" rel="stylesheet" media="screen" 
	href="http://www.admin-wizard.com/css/admin-system.css">

<?php 
if ($_SESSION['testEnvironment'] == 'on') {
    echo '<link type="text/css" rel="stylesheet" media="screen" 
	href="http://www.admin-wizard.com/test/admin-system.css">';
}
?>