{
"translatorID": "c216ae06-da95-4fd0-bce8-38de1f6cf17c",
"label": "Peeters",
"creator": "Timotheus Kim",
"target": "^https?://(www\\.)?poj\\.peeters-leuven\\.be/content\\.php",
"minVersion": "3.0",
"maxVersion": "",
"priority": 100,
"inRepository": true,
"translatorType": 4,
"browserSupport": "gcsibv",
"lastUpdated": "2018-03-27 05:23:49"
}
/*
***** BEGIN LICENSE BLOCK *****
Copyright © 2018 Timotheus Chang-Whae Kim, Johannes Ruscheinski, Philipp Zumstein
This file is part of Zotero.
Zotero is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Zotero 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 Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with Zotero. If not, see .
***** END LICENSE BLOCK *****
*/
// attr()/text() v2
function attr(docOrElem,selector,attr,index){var elem=index?docOrElem.querySelectorAll(selector).item(index):docOrElem.querySelector(selector);return elem?elem.getAttribute(attr):null;}function text(docOrElem,selector,index){var elem=index?docOrElem.querySelectorAll(selector).item(index):docOrElem.querySelector(selector);return elem?elem.textContent:null;}
function detectWeb(doc, url) {
if (url.includes('url=article')) {
return "journalArticle";
} else if (url.includes('url=issue') && getSearchResults(doc, true)) {
return "multiple";
}
}
function getSearchResults(doc, checkOnly) {
var items = {};
var found = false;
var rows = doc.querySelectorAll('tr');
for (let i=0; iLife of St John Chrysostom by Nicetas David the Paphlagonian: Editio princeps , Part I",
"creators": [
{
"creatorType": "author",
"lastName": "Antonopoulou",
"firstName": " Theodora"
}
],
"date": "2017",
"DOI": "10.2143/BYZ.87.0.3256900",
"abstractNote": "The paper presents the first ever edition of the first half (chapters 1-28) of the long",
"libraryCatalog": "Peeters",
"pages": "1-67",
"publicationTitle": "Byzantion",
"shortTitle": "The Unedited Life of St John Chrysostom by Nicetas David the Paphlagonian",
"volume": "87",
"attachments": [
{
"title": "Snapshot",
"mimeType": "text/html"
}
],
"tags": [],
"notes": [],
"seeAlso": []
}
]
}
]
/** END TEST CASES **/