diff --git a/Dagstuhl Research Online Publication Server.js b/Dagstuhl Research Online Publication Server.js index faf7f524a7..6f76fea9f6 100644 --- a/Dagstuhl Research Online Publication Server.js +++ b/Dagstuhl Research Online Publication Server.js @@ -2,14 +2,14 @@ "translatorID": "0526c18d-8dc8-40c9-8314-399e0b743a4d", "label": "Dagstuhl Research Online Publication Server", "creator": "Philipp Zumstein", - "target": "^https?://(www\\.)?drops\\.dagstuhl\\.de/opus/", + "target": "^https?://(www\\.)?drops\\.dagstuhl\\.de/", "minVersion": "3.0", "maxVersion": "", "priority": 100, "inRepository": true, "translatorType": 4, "browserSupport": "gcsibv", - "lastUpdated": "2016-08-23 06:54:08" + "lastUpdated": "2024-11-30 08:09:40" } /* @@ -36,8 +36,8 @@ */ function detectWeb(doc, url) { - if (url.indexOf('source_opus')>-1 || url.indexOf('volltexte')>-1) { - var bibtexEntry = ZU.xpathText(doc, '//pre/tt'); + if (url.indexOf('/entities/document/') > -1) { + var bibtexEntry = ZU.xpathText(doc, "//pre[contains(@class, 'bibtex')]"); if (bibtexEntry.indexOf("@InCollection")>-1) { return "bookSection"; } @@ -53,7 +53,7 @@ function detectWeb(doc, url) { function getSearchResults(doc, checkOnly) { var items = {}; var found = false; - var rows = ZU.xpath(doc, '//b/a[contains(@href, "source_opus")]|//td/a[contains(@href, "source_opus")]');// + var rows = ZU.xpath(doc, "//a[contains(@href, '/entities/document/')]");// for (var i=0; i