{ "translatorID": "16199bf0-a365-4aad-baeb-225019ae32dc", "label": "DAI-Zenon", "creator": "Philipp Zumstein", "target": "https?://zenon\\.dainst\\.org/#(book|search|extendedSearch|bibliography|favorites)", "minVersion": "3.0", "maxVersion": "", "priority": 100, "inRepository": true, "translatorType": 4, "browserSupport": "gcsv", "lastUpdated": "2014-09-07 13:07:37" } /* ***** BEGIN LICENSE BLOCK ***** Copyright © 2014 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 ***** */ function detectWeb(doc, url) { //return "bookSection"; // activate for testing //return "journalArticle"; // activate for testing if (url.indexOf("/#book") != -1 ) {//book, journalArticle or bookSection --> will be improved during scraping return "book"; } else if (getSearchResults(doc).length>0) { return "multiple"; } } function getSearchResults(doc) { return ZU.xpath(doc, '//tr[contains(@class, "search-result")]/td/h5|//div[@id="user-favorites-listing"]//tr/td/a'); } function doWeb(doc, url) { if (detectWeb(doc, url) == "multiple") { var items = {}; var titles = getSearchResults(doc); for (var i=0; i", "Caesar, Lucius Iulius", "Elaia", "Römische Münzen" ], "notes": [], "seeAlso": [] } ] }, { "type": "web", "url": "http://zenon.dainst.org/#book/000251127", "items": [ { "itemType": "book", "title": "Das Bild des Augustus auf frühen Reichsprägungen: Studien zur Vergöttlichung des ersten Prinzeps", "creators": [ { "firstName": "Rainer", "lastName": "Albert", "creatorType": "author" } ], "date": "1981", "libraryCatalog": "DAI-Zenon", "numPages": "248", "place": "Speyer", "publisher": "Numismatische Gesellschaft", "series": "Schriftenreihe der Numismatischen Gesellschaft Speyer", "seriesNumber": "21", "shortTitle": "Das Bild des Augustus auf frühen Reichsprägungen", "attachments": [ { "title": "DAI Zenon Entry", "mimeType": "text/html", "snapshot": false } ], "tags": [ "Divine kings and sacred spaces : power and religion in Hellenistic Syria (301-64 BC)", "Ein Miniaturaltar der Arsinoë II", "Emperor Worship", "Herrscher", "Herrscher- und Dynastiekulte im Ptolemäerreich", "Herrscherkult", "Imperial Cult", "Imperial cult and imperial representation in Roman Cyprus", "Kaiserverehrung und Kaiserkult in Alexandria und Ägypten von Augustus bis Caracalla", "Münzen als Zeugnis", "Prêtres des empereurs", "The Emperor Cult", "The imperial Cult", "benannte Porträts", "culte impérial civique", "domus divina", "sul culto imperiale", "the Cult of Ptolemaic Queens", "the Roman imperial cult" ], "notes": [ { "note": "Thesis (doctoral)--Universität Mannheim, 1980" } ], "seeAlso": [] } ] } ] /** END TEST CASES **/