Skip to content

Commit

Permalink
Merge pull request #1163 from OPUS4/doctypes1049
Browse files Browse the repository at this point in the history
#1049 Neue Dokumenttypen
  • Loading branch information
j3nsch authored Nov 21, 2023
2 parents d598874 + 94ece33 commit e754f0f
Show file tree
Hide file tree
Showing 106 changed files with 9,033 additions and 4,383 deletions.
107 changes: 81 additions & 26 deletions application/configs/application.ini
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ name = 'OPUS 4'
logoLink = home
security = 1
workspacePath = APPLICATION_PATH "/workspace"
version = 4.8
version = 4.8.1
update.latestVersionCheckUrl = "https://api.github.com/repos/opus4/application/releases/latest"

; THEMES
Expand Down Expand Up @@ -551,81 +551,136 @@ model.plugins.document[] = 'Opus\Document\Plugin\IdentifierDoi'
; wie z.B. Google Scholar bereitgestellt. ;
; ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
metatags.defaultMapping.book[]=book
metatags.defaultMapping.book[]=editedcollection
metatags.defaultMapping.book[]=monograph
metatags.defaultMapping.book[]=sourceedition

metatags.defaultMapping.book_part[]=bookpart

metatags.defaultMapping.conference_paper[]=conferenceobject
metatags.defaultMapping.conference_paper[]=conferenceabstract
metatags.defaultMapping.conference_paper[]=conferencepaper
metatags.defaultMapping.conference_paper[]=conferenceposter
metatags.defaultMapping.conference_paper[]=conferenceproceedings
metatags.defaultMapping.conference_paper[]=conferenceslides

metatags.defaultMapping.journal_paper[]=article
metatags.defaultMapping.journal_paper[]=contributiontoperiodical
metatags.defaultMapping.journal_paper[]=corrigendum
metatags.defaultMapping.journal_paper[]=datapaper
metatags.defaultMapping.journal_paper[]=editorial
metatags.defaultMapping.journal_paper[]=letter
metatags.defaultMapping.journal_paper[]=periodicalpart
metatags.defaultMapping.journal_paper[]=preprint

metatags.defaultMapping.conference_paper[]=conferenceobject
metatags.defaultMapping.journal_paper[]=researcharticle
metatags.defaultMapping.journal_paper[]=reviewarticle
metatags.defaultMapping.journal_paper[]=softwarepaper

metatags.defaultMapping.thesis[]=bachelorthesis
metatags.defaultMapping.thesis[]=diplom
metatags.defaultMapping.thesis[]=doctoralthesis
metatags.defaultMapping.thesis[]=examen
metatags.defaultMapping.thesis[]=habilitation
metatags.defaultMapping.thesis[]=magister
metatags.defaultMapping.thesis[]=masterthesis
metatags.defaultMapping.thesis[]=studythesis
metatags.defaultMapping.thesis[]=diplom
metatags.defaultMapping.thesis[]=examen
metatags.defaultMapping.thesis[]=magister

metatags.defaultMapping.working_paper[]=workingpaper

metatags.defaultMapping.book[]=book

metatags.defaultMapping.book_part[]=bookpart

; Configuration of dcterms:DCMIType value for document types in XMetaDissPlus
documentType.default.dcmiType = 'Text'
docuemntType.default.dcType = 'Other'
documentType.default.dcType = 'Other'
documentType.default.openAireType = 'other'
documentType.diplthesis.dcType = 'MasterThesis'
documentType.diplthesis.openAireType = 'masterThesis'
documentType.diplom.dcType = 'MasterThesis'
documentType.diplom.openAireType = 'masterThesis'
documentType.habilitation.dcType = 'Habilitation'
documentType.habilitation.openAireType = 'doctoralThesis'
documentType.doctoralthesis.dcType = 'PhDThesis'
documentType.doctoralthesis.openAireType = 'doctoralThesis'
documentType.bachelorthesis.dcType = 'BachelorThesis'
documentType.bachelorthesis.openAireType = 'bachelorThesis'
documentType.workingpaper.dcType = 'WorkingPaper'
documentType.workingpaper.openAireType = 'workingPaper'
documentType.studythesis.dcType = 'StudyThesis'
documentType.annotation.dcType = 'Annotation'
documentType.annotation.openAireType = 'annotation'
documentType.article.dcType = 'Article'
documentType.article.openAireType = 'article'
documentType.bachelorthesis.dcType = 'BachelorThesis'
documentType.bachelorthesis.openAireType = 'bachelorThesis'
documentType.book.dcType = 'Book'
documentType.book.openAireType = 'book'
documentType.bookpart.dcType = 'BookPart'
documentType.bookpart.openAireType = 'bookPart'
documentType.conferenceabstract.dcType = 'MeetingAbstract'
documentType.conferenceabstract.openAireType = 'conferenceObject'
documentType.conferenceobject.dcType = 'ConferenceObject'
documentType.conferenceobject.openAireType = 'conferenceObject'
documentType.conferencepaper.dcType = 'ConferencePaper'
documentType.conferencepaper.openAireType = 'conferenceObject'
documentType.conferenceposter.dcType = 'ConferencePoster'
documentType.conferenceposter.openAireType = 'conferenceObject'
documentType.conferenceproceedings.dcType = 'ConferenceProceedings'
documentType.conferenceproceedings.openAireType = 'conferenceObject'
documentType.conferenceslides.dcType = 'ConferenceSlides'
documentType.conferenceslides.openAireType = 'conferenceObject'
documentType.contributiontoperiodical.dcType = 'ContributionToPeriodical'
documentType.contributiontoperiodical.openAireType = 'contributionToPeriodical'
documentType.corrigendum.dcType = 'Corrigendum'
documentType.corrigendum.openAireType = 'article'
documentType.coursematerial.dcType = 'CourseMaterial'
documentType.datapaper.dcType = 'DataPaper'
documentType.datapaper.openAireType = 'article'
documentType.diplom.dcType = 'MasterThesis'
documentType.diplom.openAireType = 'masterThesis'
documentType.diplthesis.dcType = 'MasterThesis'
documentType.diplthesis.openAireType = 'masterThesis'
documentType.doctoralthesis.dcType = 'PhDThesis'
documentType.doctoralthesis.openAireType = 'doctoralThesis'
documentType.dynamicwebresource.dcType = 'DynamicWebResource'
documentType.dynamicwebresourcepart.dcType = 'PartOfADynamicWebResource'
documentType.editedcollection.dcType = 'EditedCollection'
documentType.editedcollection.openAireType = 'book'
documentType.editorial.dcType = 'Editorial'
documentType.editorial.openAireType = 'article'
documentType.examen.dcType = 'MasterThesis'
documentType.examen.openAireType = 'masterThesis'
documentType.habilitation.dcType = 'Habilitation'
documentType.habilitation.openAireType = 'doctoralThesis'
documentType.image.dcmiType = 'Image'
documentType.image.dcType = 'Image'
documentType.lecture.dcType = 'Lecture'
documentType.lecture.openAireType = 'lecture'
documentType.letter.dcType = 'LetterToTheEditor'
documentType.letter.openAireType = 'article'
documentType.magister.dcType = 'MasterThesis'
documentType.magister.openAireType = 'masterThesis'
documentType.masterthesis.dcType = 'MasterThesis'
documentType.masterthesis.openAireType = 'masterThesis'
documentType.monograph.dcType = 'Monograph'
documentType.monograph.openAireType = 'book'
documentType.movingimage.dcmiType = 'Image'
documentType.movingimage.dcType = 'MovingImage'
documentType.musicalnotation.dcType = 'MusicalNotation'
documentType.other.dcType = 'Other'
documentType.periodical.dcType = 'Periodical'
documentType.periodicalpart.dcType = 'PeriodicalPart'
documentType.preprint.dcType = 'Preprint'
documentType.preprint.openAireType = 'preprint'
documentType.radio.dcmiType = 'Sound'
documentType.radio.dcType = 'Sound'
documentType.report.dcType = 'Report'
documentType.report.openAireType = 'report'
documentType.researcharticle.dcType = 'ResearchArticle'
documentType.researcharticle.openAireType = 'article'
documentType.researchdata.dcmiType = 'Dataset'
documentType.researchdata.dcType = 'ResearchData'
documentType.review.dcType = 'Recension'
documentType.review.openAireType = 'review'
documentType.radio.dcType = 'Sound'
documentType.score.dcType = 'MusicalNotation'
documentType.reviewarticle.dcType = 'ReviewArticle'
documentType.reviewarticle.openAireType = 'article'
documentType.software.dcmiType = 'Software'
documentType.software.dcType = 'Software'
documentType.softwarepaper.dcType = 'SoftwarePaper'
documentType.softwarepaper.openAireType = 'article'
documentType.sound.dcmiType = 'Sound'
documentType.sound.dcType = 'Sound'
documentType.sourceedition.dcType = 'SourceEdition'
documentType.sourceedition.openAireType = 'book'
documentType.studythesis.dcType = 'StudyThesis'
documentType.website.dcType = 'Website'
documentType.workingpaper.dcType = 'WorkingPaper'
documentType.workingpaper.openAireType = 'workingPaper'

; SETUP CONFIGURATION SETTINGS
setup.translation.modules.allowed = default,publish,help
Expand Down
93 changes: 93 additions & 0 deletions application/configs/doctypes/annotation.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* This file is part of OPUS. The software OPUS has been originally developed
* at the University of Stuttgart with funding from the German Research Net,
* the Federal Department of Higher Education and Research and the Ministry
* of Science, Research and the Arts of the State of Baden-Wuerttemberg.
*
* OPUS 4 is a complete rewrite of the original OPUS software and was developed
* by the Stuttgart University Library, the Library Service Center
* Baden-Wuerttemberg, the Cooperative Library Network Berlin-Brandenburg,
* the Saarland University and State Library, the Saxon State Library -
* Dresden State and University Library, the Bielefeld University Library and
* the University Library of Hamburg University of Technology with funding from
* the German Research Foundation and the European Regional Development Fund.
*
* LICENCE
* OPUS 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 Licence, or any later version.
* OPUS 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. You should have received a copy of the GNU General Public License
* along with OPUS; if not, write to the Free Software Foundation, Inc., 51
* Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* @copyright Copyright (c) 2008, OPUS 4 development team
* @license http://www.gnu.org/licenses/gpl.html General Public License
*/
-->
<documenttype name="annotation"
xmlns="http://www.opus-repository.org/schema/documenttype"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opus-repository.org/schema/documenttype http://www.opus-repository.org/schema/documenttype.xsd">

<field name="PersonSubmitter" required="yes" formelement="Text" datatype="Person" multiplicity="1">
<subfield name="Email" required="yes" formelement="text" datatype="Email" />
</field>
<field name="Language" required="yes" formelement="Select" datatype="Language" multiplicity="1">
<default value="deu" edit="yes" public="yes" />
</field>
<field name="PersonAuthor" required="no" formelement="Text" datatype="Person" multiplicity="*" >
<subfield name="AcademicTitle" required="no" formelement="text" datatype="Text" />
<subfield name="IdentifierOrcid" required="no" formelement="text" datatype="Identifier" />
<!--<subfield name="Email" required="no" formelement="text" datatype="Email" />
<subfield name="AllowEmailContact" required="no" formelement="checkbox" />
<subfield name="DateOfBirth" required="no" formelement="text" datatype="Date" />
<subfield name="PlaceOfBirth" required="no" formelement="text" datatype="Text" />-->
</field>

<field name="TitleMain" required="yes" formelement="Text" datatype="Title" multiplicity="4" />
<field name="TitleSub" required="no" formelement="text" datatype="Title" multiplicity="1"/>
<field name="TitleAbstract" required="no" formelement="Textarea" datatype="Title" multiplicity="4" />

<field name="TitleParent" required="no" formelement="Text" datatype="Title" multiplicity="1" />
<field name="Series" required="no" formelement="Select" datatype="Series" multiplicity="1"/>
<field name="Volume" required="no" formelement="Text" datatype="Text" multiplicity="1"/>
<field name="Issue" required="no" formelement="Text" datatype="Text" multiplicity="1"/>

<field name="ArticleNumber" required="no" formelement="Text" datatype="Text" multiplicity="1"/>
<field name="PageNumber" required="no" formelement="Text" datatype="Text" multiplicity="1"/>
<field name="PageFirst" required="no" formelement="Text" datatype="Text" multiplicity="1"/>
<field name="PageLast" required="no" formelement="Text" datatype="Text" multiplicity="1"/>

<field name="CompletedYear" required="no" formelement="Text" datatype="Year" multiplicity="1"/>
<field name="CompletedDate" required="yes" formelement="Text" datatype="Date" multiplicity="1">
<default value="today" edit="yes" public="yes" />
</field>
<field name="EmbargoDate" required="no" formelement="Text" datatype="Date" multiplicity="1"/>
<field name="Edition" required="no" formelement="Text" datatype="Text" multiplicity="1"/>

<field name="ThesisPublisher" required="no" formelement="Select" datatype="ThesisPublisher" multiplicity="*">
<required-if-fulltext/>
</field>
<field name="PublisherName" required="no" formelement="Text" datatype="Text" multiplicity="1" />
<field name="PublisherPlace" required="no" formelement="Text" datatype="Text" multiplicity="1"/>

<field name="SubjectSwd" required="no" formelement="Text" datatype="Subject" multiplicity="5" />
<field name="SubjectDDC" required="no" formelement="Select" datatype="CollectionLeaf" root="ddc" multiplicity="*"/>
<field name="SubjectUncontrolled" required="no" formelement="Text" datatype="Subject" multiplicity="5"/>

<field name="IdentifierIssn" required="no" formelement="Text" datatype="Identifier" multiplicity="1"/>
<field name="IdentifierDoi" required="no" formelement="Text" datatype="Identifier" multiplicity="1"/>

<field name="Institute" required="no" formelement="Select" datatype="Collection" root="institutes" multiplicity="1"/>
<field name="Licence" required="yes" formelement="Select" datatype="Licence" multiplicity="1">
<required-if-fulltext/>
</field>
<field name="open_access" required="no" formelement="Select" datatype="CollectionLeaf" root="open_access" multiplicity="1" />
<field name="Note" required="no" formelement="Textarea" datatype="Note" multiplicity="1" />

</documenttype>
Loading

0 comments on commit e754f0f

Please sign in to comment.