You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

223 lines
4.2 KiB

<?php
/***************************************************************
* Copyright notice
*
* (c) 2012 Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
* free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
// Define structure elements.
// @see http://dfg-viewer.de/en/structural-data-set/
// TODO: Should not be hard-coded!
$structures = array (
'additional' => array (
'toplevel' => 0,
'oai_name' => ''
),
'address' => array (
'toplevel' => 0,
'oai_name' => ''
),
'annotation' => array (
'toplevel' => 0,
'oai_name' => ''
),
'article' => array (
'toplevel' => 0,
'oai_name' => ''
),
'binding' => array (
'toplevel' => 0,
'oai_name' => ''
),
'bookplate' => array (
'toplevel' => 0,
'oai_name' => ''
),
'chapter' => array (
'toplevel' => 0,
'oai_name' => ''
),
'collation' => array (
'toplevel' => 0,
'oai_name' => ''
),
'colophon' => array (
'toplevel' => 0,
'oai_name' => ''
),
'contained_work' => array (
'toplevel' => 0,
'oai_name' => ''
),
'contents' => array (
'toplevel' => 0,
'oai_name' => ''
),
'corrigenda' => array (
'toplevel' => 0,
'oai_name' => ''
),
'cover' => array (
'toplevel' => 0,
'oai_name' => ''
),
'cover_front' => array (
'toplevel' => 0,
'oai_name' => ''
),
'cover_back' => array (
'toplevel' => 0,
'oai_name' => ''
),
'dedication' => array (
'toplevel' => 0,
'oai_name' => ''
),
'edge' => array (
'toplevel' => 0,
'oai_name' => ''
),
'endsheet' => array (
'toplevel' => 0,
'oai_name' => ''
),
'engraved_titlepage' => array (
'toplevel' => 0,
'oai_name' => ''
),
'entry' => array (
'toplevel' => 0,
'oai_name' => ''
),
'fascicle' => array (
'toplevel' => 0,
'oai_name' => ''
),
'fragment' => array (
'toplevel' => 1,
'oai_name' => ''
),
'illustration' => array (
'toplevel' => 0,
'oai_name' => ''
),
'imprint' => array (
'toplevel' => 0,
'oai_name' => ''
),
'index' => array (
'toplevel' => 0,
'oai_name' => ''
),
'initial_decoration' => array (
'toplevel' => 0,
'oai_name' => ''
),
'issue' => array (
'toplevel' => 0,
'oai_name' => ''
),
'manuscript' => array (
'toplevel' => 1,
'oai_name' => ''
),
'map' => array (
'toplevel' => 0,
'oai_name' => ''
),
'monograph' => array (
'toplevel' => 1,
'oai_name' => ''
),
'multivolume_work' => array (
'toplevel' => 1,
'oai_name' => ''
),
'musical_notation' => array (
'toplevel' => 0,
'oai_name' => ''
),
'ornament' => array (
'toplevel' => 0,
'oai_name' => ''
),
'paste_down' => array (
'toplevel' => 0,
'oai_name' => ''
),
'periodical' => array (
'toplevel' => 1,
'oai_name' => ''
),
'preface' => array (
'toplevel' => 0,
'oai_name' => ''
),
'printers_mark' => array (
'toplevel' => 0,
'oai_name' => ''
),
'privileges' => array (
'toplevel' => 0,
'oai_name' => ''
),
'provenance' => array (
'toplevel' => 0,
'oai_name' => ''
),
'scheme' => array (
'toplevel' => 0,
'oai_name' => ''
),
'section' => array (
'toplevel' => 0,
'oai_name' => ''
),
'spine' => array (
'toplevel' => 0,
'oai_name' => ''
),
'stamp' => array (
'toplevel' => 0,
'oai_name' => ''
),
'table' => array (
'toplevel' => 0,
'oai_name' => ''
),
'text' => array (
'toplevel' => 0,
'oai_name' => ''
),
'title_page' => array (
'toplevel' => 0,
'oai_name' => ''
),
'verse' => array (
'toplevel' => 0,
'oai_name' => ''
),
'volume' => array (
'toplevel' => 1,
'oai_name' => ''
)
);
?>