Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PicaGBV] Export Option "Gedruckte Ressource" hinzugefügt #75

Merged
merged 1 commit into from
May 21, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions PicaGBV.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
"inRepository": true,
"translatorType": 2,
"browserSupport": "gcs",
"lastUpdated": "2017-02-01 08:10:00"
"displayOptions": {
"Gedruckte Ressource": false
},
"lastUpdated": "2018-03-18 15:25:00"
}


Expand Down Expand Up @@ -107,6 +110,9 @@ function writeLine(code, line) {
}

function doExport() {
if (Zotero.getOption("Gedruckte Ressource")) {
physicalForm = "A";
}
var item;
while ((item = Zotero.nextItem())) {

Expand Down Expand Up @@ -163,10 +169,10 @@ function doExport() {
if (physicalForm === "O") {

//item.type --> 0502 Medientyp
writeLine("0502", "Computermedien$bn");
writeLine("0502", "Computermedien$bc");

//item.type --> 0503 Datenträgertyp
writeLine("0503", "Online-Ressource$bnc");
writeLine("0503", "Online-Ressource$bcr");

}

Expand Down