Skip to content

Commit

Permalink
- implment DNB name order "familyName, givenName"
Browse files Browse the repository at this point in the history
- added Handreichung
  • Loading branch information
ronste committed Jan 29, 2021
1 parent b3d5f5a commit 0357922
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
=== OJS DNB Export Plugin
=== Version: 1.3.2
=== Author: Bozana Bokan, Ronald Steffen
=== Last update: January 15, 2021
=== Last update: January 29, 2021
=============================================================

About
Expand Down Expand Up @@ -35,15 +35,15 @@ Installation via command line without Git:
- download archive from https://github.com/ojsde/dnb
- unzip the archive to plugins/importexport and rename the main plugin folder to "dnb" if necessary
- from your application's installation directory, run the upgrade script (it is recommended to back up your database first):
php tools/upgrade.php upgrade or php tools/installPluginVersion.php (see https://github.com/pkp/pkp-lib/issues/2503)
php tools/upgrade.php upgrade or php tools/installPluginVersion.php

Installation with Git:
- cd [my_ojs_installation]/plugins/importexport
- git clone https://github.com/ojsde/dnb
- cd dnb
- git checkout [branch]
- cd [my_ojs_installation]
- php tools/upgrade.php upgrade or php tools/installPluginVersion.php (s. https://github.com/pkp/pkp-lib/issues/2503, it is recommended to back up your database first)
- php tools/upgrade.php upgrade or php tools/installPluginVersion.php

Export
------------
Expand Down
6 changes: 3 additions & 3 deletions README_DE
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
=== OJS DNB-Export-Plug-In
=== Version: 1.3.2
=== Autor: Bozana Bokan, Ronald Steffen
=== Letzte Änderung: 15. Januar 2021
=== Letzte Änderung: 29. Januar 2021
=============================================================

Über
Expand Down Expand Up @@ -37,15 +37,15 @@ Installation über die Kommandozeile ohne Git:
- ggf. Umbenennen des Hauptverzeichnisses in "dnb"
- Aktualisierung der Datenbank (es empfiehlt sich, zuerst ein Backup der Datenbank zu erstellen),
führen Sie dazu aus Ihrem OJS-Verzeichnis aus: php tools/upgrade.php upgrade oder
php tools/installPluginVersion.php (see https://github.com/pkp/pkp-lib/issues/2503)
php tools/upgrade.php upgrade or php tools/installPluginVersion.php

Installation über die Kommandozeile mit Git:
- cd [my_ojs_installation]/plugins/importexport
- git clone https://github.com/ojsde/dnb
- cd dnb
- git checkout [branch]
- cd [my_ojs_installation]
- php tools/upgrade.php upgrade (es empfiehlt sich, zuerst ein Backup der Datenbank zu erstellen) oder php tools/installPluginVersion.php (s. https://github.com/pkp/pkp-lib/issues/2503)
- php tools/upgrade.php upgrade or php tools/installPluginVersion.php

Export
------------
Expand Down
Binary file not shown.
6 changes: 3 additions & 3 deletions filter/DNBXmlFilter.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ function &process(&$pubObject) {
}
// first author
$datafield100 = $this->createDatafieldNode($doc, $recordNode, '100', '1', ' ');
$this->createSubfieldNode($doc, $datafield100, 'a', $firstAuthor->getFullName(true));
$this->createSubfieldNode($doc, $datafield100, 'a', $firstAuthor->getFullName(false, true));
$this->createSubfieldNode($doc, $datafield100, '4', 'aut');
// title
$title = $article->getTitle($galley->getLocale());
Expand Down Expand Up @@ -251,13 +251,13 @@ function &process(&$pubObject) {
// other authors
foreach ((array) $authors as $author) {
$datafield700 = $this->createDatafieldNode($doc, $recordNode, '700', '1', ' ');
$this->createSubfieldNode($doc, $datafield700, 'a', $author->getFullName(true));
$this->createSubfieldNode($doc, $datafield700, 'a', $author->getFullName(false, true));
$this->createSubfieldNode($doc, $datafield700, '4', 'aut');
}
// translators
foreach ((array) $translators as $translator) {
$datafield700 = $this->createDatafieldNode($doc, $recordNode, '700', '1', ' ');
$this->createSubfieldNode($doc, $datafield700, 'a', $translator->getFullName(true));
$this->createSubfieldNode($doc, $datafield700, 'a', $translator->getFullName(false, true));
$this->createSubfieldNode($doc, $datafield700, '4', 'trl');
}

Expand Down
6 changes: 3 additions & 3 deletions version.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
* Copyright (c) 2017 Center for Digital Systems (CeDiS), Freie Universität Berlin
* Distributed under the GNU GPL v2. For full terms see the plugin file LICENSE.
* Author: Bozana Bokan, Ronald Steffen
* Last update: April 24, 2020
* Last update: January 29th, 2021
*
* Plugin version information.
-->
<version>
<application>dnb</application>
<type>plugins.importexport</type>
<release>1.3.1.1</release>
<date>2020-09-14</date>
<release>1.3.2</release>
<date>2021-01-29</date>
</version>

0 comments on commit 0357922

Please sign in to comment.